Re: Two XFS involving stack traces from Debian's 2.6.26-2-amd64

Stuart Rowan
2009-10-01T14:13:23Z

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.