Re: Trouble with XFS/Snapshot

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

 



Bruno Bonfils wrote:
Hello,

I'm trying to use the snapshot feature, but i have trouble. I don't
have error message (kernel or others), i don't know how to check if
lvcreate still running..


My first try was with a volume group of ~ 580 GB (hardware raid 5) I created a logical volume 50GB, create a XFS Filesystem, put some data (~1GB) and run the following commands :

$ xfs_freeze -f <mount point>
$ lvcreate -v -s -L 2GB -n snapshot <device>


I got same problem (and even wrote on this group).
Don't do xfs_freeze before taking snapshot. lvcreate when snapshoting tries to lock filesystem by itself, and when filesystem is locked with xfs_freeze, is hand during lock and wait... and wait... and wait...
According to my tests, lvm locking is enought to create stable snap.


HTH

--
Piw

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux