[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trying to umount a chroot /dev



On Tue, 2012-08-21 at 23:20 -0600, Bob Proulx wrote:
> 
> Try using the umount -l option for a lazy unmount.  Might work.  Might
> not work.  If it doesn't then I think you need to reboot.
Kind of works.
umount -l /mnt/chrtest/dev
no error messages. And it's no longer listed in /proc/mounts
Despite that,
umount /mnt/chrtest -> device is busy
umount -l /mnt/chrtest -> no complaints

But
# lvchange -an daisy/chrtest
  Can't change snapshot logical volume "chrtest"
# lvremove daisy/chrtest; date
  Can't remove open logical volume "chrtest"

Ross


Reply to: