Re: Fwd: Help, lvm2 snapshot and XFS , using xfs_freeze to do this, but then lvcreate hang.
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, Sep 27, 2006 at 01:03:32PM +0800, bowen zheng wrote:
> ---------- Forwarded message ----------
> From: bowen zheng <firstname.lastname@example.org>
> Date: 2006-9-27 ????1:03
> Subject: Help, lvm2 snapshot and XFS , using xfs_freeze to do this,
> but then lvcreate hang.
> To: email@example.com
> Help, lvm2 snapshot and XFS , using xfs_freeze to do this, but then
> lvcreate hang.
> I use lvm2 and xfs both. If I do not use xfs_freeze before, I can use
> lvcreate snapshot the lv. And it work fine for some static files or
> lv, but not for running system such as / (root) which will generate a
> log of I/O error.
> So I heard that xfs should run xfs_freeze before create snapshot.
> However, after xfs_freeze -f, then lvcreate hang all the time. And I
> still can not kill (-9) the lvcreate process.
> Anyone know what can I do now ???
> And how to use snapshot under xfs, is this a xfs or lvm bug ???
do you have /dev on the root partition?
to my expicience xfs_freeze -f halts all write operations on the
partition and lvcreate wants to write to the device and create one,
apart from the log/backup of the lvm metadata...
Albert Dengg <firstname.lastname@example.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-----END PGP SIGNATURE-----