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

re: Regarding Snapshot with XFS



 >>  Hi,
 >>  I am testing LVM Snapshot on XFS filesystem with
 >>  RedHat kernel 2.4.18. I am able to create snapshot
 >>  fine, if i execute the commands in the order
 >>  xfs_freeze -f /volumes/vol1
 >>  lvcreate -s -L1G -nsnap /dev/volume1/vol
 >>  xfs_freeze -u /volumes/vol1
 >>  where
 >>  /volumes/vol1 = Mounted XFS filesystem
 >>  /dev/volume1/vol is LV with VG volume1

 >>  But when I execute the command 
 >>  dd if=/dev/zero of=/volumes/vol1/img1 bs=1M count=1000
 >>  in one shell and the above commands in other shell
 >>  xfs_freeze is succeeded, but then lvcreate is getting
 >>  locked up. 

 >>  This is getting freed when i execute xfs_freeze -u
 >>  /volumes/vol1 in another shell.

 >>  Is there a way to make these commands work
 >>  independently.

 >>  Your help is greatly appreciated

 >>  Tbanks in advance

 >>  -Suresh
Suresh,

What version of XFS are you using.

My experience is that XFS 1.1 has the problem you are experiencing, but the XFS 1.2 pre-release has it resolved.

I admit to not personally having tested it in several months.

Greg Freemyer