Hi, this thread has been mentioned at the Ubuntu Launchpad[1], so I thought I would link them and sum up conclusions from the other thread.
On Fri, May 18, 2012 at 05:03:16PM +0900, sf...@users.sourceforge.net wrote: > Ben Greear: > > The second command fails, saying / is busy. > > lsof of / shows lots of files. lsof of /cow shows none. > > You should investigate the printed file list, and find the file which > prevents /cow turning RO. > Generally, the shutdown script kills most of all processes, and then > unmount all filelsystems (except the root). The root dir is remounted as > RO. The "remount,mod:/cow=ro" is logically equivalent to "remount,ro". In the comment #82 there is a sequence that ends successfully marking all the components as (ro). The noxino remark has been made long time ago in comment #49. And some curiosities discovered follow... There were I/O errors reported by kernel visible just before halt or reboot. Errors were mentioned in comments #19 and #41. This was primarily caused by USB drive detachment. Generic command was used. Originally it was meant for CDROMs, for USB drives it was doing collateral damage. It has been fixed (now it's like in Debian scripts). Visibility of /cdrom (squashfs) and /cow (the overlay ext) has been available for quite a long time. It's the "showmounts" boot option. My summary, with more or less patched scripts, is in comment #82. One major problem still remains - USB drives lie. Sync operation returns before actual flash write is complete. Because most USB drives do wear-levelling and are MLC (not SLC) memories we end up with filesystem with serious damage. Even fsck won't help as both metadata and data can be damaged. [1] https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/125702 -- Marcin Szewczyk http://wodny.org mailto:marcin.szewc...@wodny.borg <- remove b / usuĊ b xmpp:wo...@ubuntu.pl xmpp:wo...@jabster.pl ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/