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?

linlzit1:/etc/init.d # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/dasda1           5.1G  2.1G  2.8G  43% /
udev                  2.0G   84K  2.0G   1% /dev
/dev/dasdd1           5.1G  129M  4.7G   3% /tmp
/dev/dasdc1           5.0G  129M  4.6G   3% /local

linlzit1:/etc/init.d # ls -la /local
total 36
drwxr-xr-x  6 root root  4096 2009-02-26 08:31 .
drwxr-xr-x 24 root root  4096 2009-02-25 12:45 ..
drwxr-xr-x  2 root root  4096 2009-02-26 08:02 etc
drwx------  2 root root 16384 2009-02-25 14:25 lost+found
drwxr-xr-x  2 root root  4096 2009-02-26 08:31 root
drwxr-xr-x  2 root root  4096 2009-02-26 08:31 srv

linlzit1:/etc/init.d # ls /etc
a2ps.cfg                DIR_COLORS        inittab              motd
protocols         smpppd-c.conf
a2ps-site.cfg           environment       inputrc              mtab
.pwd.lock         smpppd.conf
aliases                 esd.conf          insserv.conf         Muttrc
pwdutils          snmp
aliases.d               ethers            iproute2             named.d
pythonstart       ssh
aliases.db              evms.conf         issue                netgroup
    raw               ssl
alsa.d                  exports           issue.net NetworkManager rc.d
    sudoers
alternatives            fam.conf          ivman                networks
    rc.d.README       SuSEconfig
apache2                 filesystems       java                 news
rc.splash         susehelp.d
apparmor                fonts             joe                  nntpserver
         rc.status         suseRegister.conf
apparmor.d              foomatic          kde3rc               nscd.conf
       reader.conf.d     SuSE-release

linlzit1:/etc/init.d # mount -n -o bind /local/etc /etc

linlzit1:/etc/init.d # ls /etc
mtab

linlzit1:/etc/init.d # ls /local/etc
mtab

linlzit1:/etc/init.d #


Thanks
Eric


The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail.



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