Richard Troth wrote:

There's a bigger picture: avoid open files in /etc altogether (when
trying to unmount it).  (Your points #2 and #3 in your "nevermind"
post also sugggest this.)  To that end, while FHS and LSB say that
your init scripts should go under /etc/init.d, there's nothing
stopping you from making that be a sym-link to /sbin/init.d.  (Or any
other directory outside of /etc, but there is historical precedent for
that one.)  YOU MAY NEED to change things like /etc/inittab to point
to the "real" location for some things.  For example, if you're really
running /sbin/init.d/halt instead of /etc/init.d/halt during shutdown,
things may go better.

I did wind up having to use my "nevermind" method of unmounting the
filesystems for another reason.  It works pretty well, makes it
extremely SLES dependent, but that should be okay for the foreseeable
future.  I also needed to roll my own killall5 to skip some processes
that needed to survive to the final umounts.


LVM really has no problem with RO root.  What it has a problem with is
not being able to write lock files (because the FS where it wants to
put its locks is RO).  Look in /etc/lvm/lvm.conf and make a suitable
change.
Yea, I misspoke before.  It was /var/lock/lvm that needed to be bind
mounted to somewhere else temporarily.

Leland

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to