[OLUG] Can't mount /home/kent and /usr.

ktb xyf at inetnebr.com
Fri Dec 17 04:02:54 UTC 1999


tetherow at nol.org wrote:

> 
> I haven't seen this one answered yet so I thought I would respond even
> thought it is almost a week old (trying to get caught up on email).

Thanks for the response:)

> 
> >From the looks of the above you have /dev/hdb split across several
> partitions and I am assuming from the above that /home/kent is on
> /dev/hdb6 whereas your / is on /dev/hdb1  So even though you mount
> /dev/hdb1 as /mnt/rh that will not in turn mount /dev/hdb6 as
> /mnt/rh/home since mount information is not stored on the file system.
> 
> if your fstab (under debian) looks like
> /dev/hda1    /       ext2 defaults 0 1
> /dev/hda2    /usr    ext2 defaults 0 1
> /dev/hdb1    /mnt/rh ext2 defaults 0 1
> 
> and your fstab under redhat looks like
> /dev/hdb1    /       ext2 defaults 0 1
> /dev/hdb6    /home   ext2 defaults 0 1
> 
> You will be able to access everying under RedHats / EXCEPT for /home
> since it is on another file system (/dev/hdb6).  If you add the
> following line to your debian fstab in this instance you will get what
> you are looking for I believe
> /dev/hdb6    /mnt/rh/home ext2 defaults 0 1
> 
> If you want the entire filesystem available for each file system then
> you will need to do the same for each mount point for the file system.

Well is followed your directions and still can't see /kent in /home. 
Here is how my disk is partitioned out:

Redhat
hdb1 /
hdb5 /usr
hdb6 /home
hdb7 /usr/local
hdb8 /var
hdb9 swap

Slink
hdb3  /
hdb13 /usr
hdb12 /usr/local
hdb11 /home
hdb10 /var

This is what my /etc/fstab file looks like on my Debian side:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options>                  <dump>
<pas
/dev/hdb3       /             ext2   defaults,errors=remount-ro 0      1
/dev/hdb9       none          swap   sw                         0      0
proc            /proc         proc   defaults                   0      0
/dev/hdb13 /usr ext2 defaults 0 2
/dev/hdb12 /usr/local ext2 defaults 0 2
/dev/hdb11 /home ext2 defaults 0 2
/dev/hdb10 /var ext2 defaults 0 2
/dev/hdd /cdrom iso9660 noauto,ro,users 0 0
/dev/fd0 /floppy ext2 noauto,ro,users 0 0
/dev/fd0 /floppy/vfat vfat noauto,ro,users 0 0

/dev/hdb1       /mnt/rh     ext2   noauto,rw,nouser 0 0

/dev/hdb6       /mnt/rh/home/     ext2   noauto,rw,nouser 0 0


I don't know if that will shed any light or not.  I haven't been through
every spec of the directory tree once I mount the Redhat side but mostly
I can see everything but /local in /usr and /kent in /home, i.e. I can
see /usr and /home but inside there is no /local or /kent.
Thanks,
kent

-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/ 
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net` 



More information about the OLUG mailing list