i have been digging further.
REG_MTPTS contains the following values in my setup: 
/tftpboot/loops/sysrescuecd /tftpboot /data/backup/home-recover /var/cache 
/home /boot /data 
i have redirected the output of the umount call (initiated via fstab-decode) to 
a log file:
        fstab-decode umount -f -v -r -d $REG_MTPTS  >> /umountfs.log 2>&1
the output is:
can't delete device /dev/loop0: No such device or address
umount2: Device or resource busy
umount: /data/home busy - remounted read-only
/dev/loop0 has been unmounted
/data/tftpboot has been unmounted
/data/backup/home/hourly.0 has been unmounted
/data/cache has been unmounted
/dev/sda1 has been unmounted
/dev/mapper/ssd-data has been unmounted

the first line is apparently a problem with umount trying to delete the loop 
device (umount's -d option) but i dont think that is related.
i am not sure about umount2. it is either related to the loop device or to 
/data/home... which is clearly not cleanly umounted, but remounted as read-only 
(due to umount's -r option).

so... why is it busy? i have no idea.
lsof and ps auxf output (called before "Unmount local filesystems") attached


** Attachment added: "umountfs-lsof.log"
   
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1103416/+attachment/3509715/+files/umountfs-lsof.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1103416

Title:
  12.04 isn't cleanly unmounted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1103416/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to