http://bugzilla.kernel.org/show_bug.cgi?id=5299
Summary: Xfs_io hangs up under lvm2 lvcreate snapshot and copying
data from remote host to smb share at the same time
Kernel Version: 2.6.14-rc2
Status: NEW
Severity: high
Owner: xfs-masters@xxxxxxxxxxx
Submitter: hubgor@xxxxxxxxx
Most recent kernel where this bug did not occur: not stated
Distribution: Linux/GNU Debian 3.0 Sarge
Hardware Environment: 2x Pentium Xeon 2.8, 512MB DDR, 3ware 9xxx SATA raid
controller, 6x 250MB SATA HDDs, Raid0 = 1.36T
Software Environment: libdevmapper 1.01.04 and lvm 2.01.09 stable (latest dm
1.01.05 and lvm 2.01.15 frome cvs tested too), xfsprogs stable .deb, samba
3.0.14a
Problem Description:
Under lvcreate/lvremove snapshot of XFS logical volume and copying data from
remote host to smb share at the same time xfs_io hangs up and stays in memory as
death process. It occures 1 at 20 or 10 or 4 iteration (randomly).
Steps to reproduce:
pvcreate /dev/sda
vgcreate vg /dev/sda
lvcreate -L 698G -n lv vg /dev/sda
mkfs.xfs /dev/vg0
mount -t xfs -o usrquota,grpquota,noatime,nodiratime /dev/vg/lv /mnt/lv
do some smb share /mnt/smb
start copying data from remote host to smb share and under this process lvcreate
/ lvremove 2 big snapshots (347G both) with xfs_freeze -f/u interaction:
xfs_freeze -f /mnt/lv
lvcreate -s -l 11168 -n S1 -p rw /dev/vg/lv &
sleep 7
xfs_freeze -u /mnt/lv
mount -t xfs -o noatime,nodiratime,nouuid,ro /dev/vg/S1 /snapshots/S1
sleep 30
create second snapshot (named S2) identical like S1 above and mount it too
sleep 3m
xfs_freeze -f /mnt/lv
lvremove /dev/vg/lv/S1 &
sleep 1
xfs_freeze -u /mnt/lv
sleep 30
remove second snapshot identically like S1
make few iterations of lvcreate/lvremove 2 snapshots like is shown above
Without xfs_freeze -f/u lvcreate and lvremove snapshot hangs up always if
copying data at the same time.
Thanks for any help
Best Regards,
Hubert
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|