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.
----------------------------------------------------------------------

J. R. Okajima

------------------------------------------------------------------------------
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/

Reply via email to