Two XFS involving stack traces from Debian's 2.6.26-2-amd64
Stuart Rowan
strr-debian at decisionsoft.co.uk
Thu Oct 1 09:14:44 CDT 2009
Michael Monnerie wrote, on 01/10/09 11:44:
> On Donnerstag 01 Oktober 2009 Stuart Rowan wrote:
>> umount /tmp/$from ; /sbin/lvremove -f /dev/$vgroup/snap-shot ; rmdir
>> /tmp/$from
>
> Why don't you
> umount /tmp/$from&& /sbin/lvremove -f /dev/$vgroup/snap-shot&& rmdir
> /tmp/$from
> from your script so this won't happen again?
> Or make a loop around umount?
>
> mfg zmi
Thanks, I've changed it as you suggested. It's true a second call to umount
does unmount it (well it disappears from /proc/mounts anyway).
However lvremove still does not succeed because it still believes the
volume to be open.
Cheers,
Stu.
More information about the xfs
mailing list