On Thursday 26 February 2009 10:47, Eric Mbuthia wrote:
>I am trying to setup a basic shared file system prototype - so i want to
>bind mount /etc /root and /srv to /local which resides on a separate mini
>disk (which will be r/w) - then do a remount on / as read only and just
>see if i can come up with that configuration on 2 servers with the shared
>/
>
>After confirming these updates manually I plan to make the appropriate
>updates to boot.rootfsck, zipl.conf, fstab and boot script files
>
>P.S
>I will also move /var as read write to a separate mini disk
>
>But I am having a problem when i issue a basic bind mount command - any
>ideas?

It looks like it is doing the right thing: making /local/etc appear at /etc.   
Your original /etc contained all the normal files, and your /local/etc only 
contains mtab.  After the bind-mount, when you ls /etc, all you see is the 
mtab which is really in /local/etc.  So I don't see a problem here.

I'm assuming that your /local/etc really does contain only mtab.  You did not 
provide a listing of that directory.  Do a "ls /local/etc" to see what is 
there.  I'll bet it will only list mtab.
        - MacK.
-----
Edmund R. MacKenty
Software Architect
Rocket Software
275 Grove Street · Newton, MA 02466-2272 · USA
Tel: +1.617.614.4321
Email: [email protected]
Web: www.rocketsoftware.com  

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

Reply via email to