1832468 Members
2613 Online
110043 Solutions
New Discussion

problem on mount NFS

 
SOLVED
Go to solution
ian_zhao2006
Occasional Contributor

problem on mount NFS

I use HP UNIX version 10.20,HP/C3600.
in root directory
drwxrwxrwx 2 root root 1024 Sep 11 16:08 net
drwx------ 2 root sys 24 Sep 11 10:22 nsmail
dr-xr-xr-x 37 bin bin 1024 Sep 11 13:13 opt
dr-xr-xr-x 12 bin bin 2048 Sep 11 13:09 sbin
drwxr-xr-x 2 root root 1024 Sep 11 15:18 stand
lrwxr-xr-x 1 root sys 4 Sep 11 10:03 sys -> /net

there is a directory net.
I use command
umount /net
to unmount net
then
cd /net
use command
mkdir to creat two directory
interlocking
pdb
then I edit tstab to add two line in the last.

I58PO16(root)/etc:more fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / hfs defaults 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home hfs defaults 0 2
/dev/vg00/lvol5 /var hfs defaults 0 2
/dev/vg00/lvol7 /backup hfs defaults 0 2
/dev/vg00/lvol6 /var/hp3070/boards hfs defaults 0 2
pdb:/home/pdb/nfs /net/pdb nfs rw,hard,intr,suid,timeo=1,wsize=32786,rsize=32786
,vers=3 0 0
ser236:/home/pdb/interlocking_nfs /net/interlocking nfs rw,hard,intr,suid,timeo=
1,wsize=32786,rsize=32786,vers=3 0 0

then I reboot the server.
when the server start,I login as root
then go to /net
and fond nothing.
when I user command
umount -a
and look in /net again.
the directory
interlocking
pdb
are there.
I don't know why?
I olny want to mount pdb:/home/pdb/nfs to /net/pdb
and
ser236:/home/pdb/interlocking_nfs /net/interlocking
2 REPLIES 2
Doru Iulian Barit
Occasional Advisor

Re: problem on mount NFS

Hi ian_zhao2006

/net directory containing auto-mountable remote NFS file systems.
You may see the /net directory here if you have auto-mounter running.


Peter Nikitka
Honored Contributor
Solution

Re: problem on mount NFS

Hi,

if you do not want to use the /net directory as the automount-rootdirectory for the -hosts map,
deactivate it in /etc/auto.master (I think, this was the pathname in 10.20, else look into /etc/auto_master).
If you use as NIS map auto.master, remove it on the NIS masterand create a new version of this map.
For automounted resources you don't have to create the directory they get mounted to.

If the directory on pdb is already exported, you should get it mounted under
/net/pdb/home/pdb/nfs
if /net is mastered by the -hosts map with the current setting.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"