xfs
[Top] [All Lists]

re: Regarding Snapshot with XFS

To: suresh grandhi <grandsuri@xxxxxxxxx>
Subject: re: Regarding Snapshot with XFS
From: Greg Freemyer <freemyer@xxxxxxxxxxxxxxxxx>
Date: Wed, 22 Jan 2003 09:54:34 -0500
Cc: xfs mailing list <linux-xfs@xxxxxxxxxxx>
Organization: The NorcrossGroup
Sender: linux-xfs-bounce@xxxxxxxxxxx
 >>  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



<Prev in Thread] Current Thread [Next in Thread>
  • re: Regarding Snapshot with XFS, Greg Freemyer <=