On 05/10/2012 01:04 AM, sf...@users.sourceforge.net wrote: > Hello Ben, > > Ben Greear: >> I believe the problem is that there is nothing to unmount >> /dev/loop1 (/cow). >> >> I'm guessing that first the aufs / must be un-mounted towards the >> end of the shutdown logic, but I'm not sure how you would actually >> unmount / > > Generally speaking, no one can unmount the root dir and people remount > it as readonly instead of unmounting at the shutdown time. > If you use aufs as your root dir, you should remount it and your > writable branches as readonly. > > (from the aufs manual) > ---------------------------------------------------------------------- > When your aufs is the root directory of your system, and your system > tells you some of the filesystem were not unmounted cleanly, try these > procedure when you shutdown your system. > .nf > # mount -no remount,ro / > # for i in $writable_branches > # do mount -no remount,ro $i > # done > .fi > If your xino file is on a hard drive, you also need to specify > `noxino' option or `xino=/your/tmpfs/xino' at remounting root > directory.
The /cow directory is not visible in the aufs / file system, and /etc/mtab also does not show /cow or /dev/loop1 (where /cow is mounted before aufs is started on bootup). I can go into more detail on how /cow is mounted if you are unfamiliar with it... The sysfs aufs entries do show /cow as 'br0'. I tried telling aufs to remount as ro and del:/cow, but that doesn't seem to have any affect (and there are no warning messages in 'dmesg'). From what I can tell, the xino file is on the /cow mountpoint. Thanks, Ben > ---------------------------------------------------------------------- > > J. R. Okajima -- Ben Greear <gree...@candelatech.com> Candela Technologies Inc http://www.candelatech.com ------------------------------------------------------------------------------ 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/