[Samba] shadow_copy script example leads to system hang?
samba at tlinx.org
Thu Feb 4 20:48:41 MST 2010
I don't know if this was present (maybe not?) when the script was written, but
the script for taking a snapshot in the instructions for shadow_copy: that looks
xfs_freeze -f /home/
lvcreate -L10M -s -n $SNAPNAME /dev/Home/lvol0
xfs_freeze -u /home/
mount /dev/Home/$SNAPNAME \
Causes an, apparently, well-known system hang when you do the lvcreate.
The workaround is to NOT use xfs_freeze. I don't know if this is a kernel
bug -- haven't gotten things tracked down far enough yet, but I can
confirm that the above does cause a hard hang that eventually requires
rebooting the system to unwedge everything.
kernel = 22.214.171.124 from OpenSuse 11.1
Samba = 3.4.3-12
lvcreate from lvm2-2.02.39-8
The notes I read inidicated a problem in the kernel or maybe, more specifically
the xfs in the kernel. Will have to check with xfs folks to see if they've
heard of this...
Have yet to sub to the lvm list...(TODO(byme): sub lvm list)
More information about the samba