[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Help, lvm2 snapshot and XFS , using xfs_freeze to do this, but then lvcreate hang.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Sep 27, 2006 at 01:03:32PM +0800, bowen zheng wrote:
> ---------- Forwarded message ----------
> From: bowen zheng <linuzboy@gmail.com>
> Date: 2006-9-27 ????1:03
> Subject: Help, lvm2 snapshot and XFS , using xfs_freeze to do this,
> but then lvcreate hang.
> To: linux-lvm@redhat.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...

yours
Albert

- -- 
Albert Dengg <a_d@gmx.at>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFGnHzhrtSwvbWj0kRAmG9AJ9kmxDc966f3eCF/JTHFMNANNeHLACePwbF
p5bkkb1bIgz1ET9IE03zm0U=
=Mi/y
-----END PGP SIGNATURE-----



Reply to: