Mounting nfs filesystems with /net/hostname


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mounting nfs filesystems with /net/hostname
# 1  
Old 09-13-2002
Mounting nfs filesystems with /net/hostname

Ok ive inherited a number of unix boxes who have drives mounted in different ways. Mostly the nfs filesystems are named in vfstab but some mount points for remote servers are not mentioned in vfs tab and are in fact links to /net/hostname/directory

Does anyone know how this is setup?
# 2  
Old 09-13-2002
automount is cool

Do a man on automount. "man automount"

This is what utilizes the /net mountpoint. The reason they don't show up in the vfstab is that they are not always available to be mounted and your system would hang on boot waiting for these mount points to be visible. Also, they are only available while the are being used. If they are not accessed for a period of time they are unmounted.

Automount allows you to mount these filesystems when they are available and/or needed.

You should have a config file somewhere with "auto" in the name under the /etc directory. On HPUX, it is under /etc/rc.config.d

From the manpage:
automount is a command that installs autofs mount points and
associates an automount map with each mount point. The autofs
filesystem monitors attempts to access directories within it and
notifies the automountd daemon (See automountd(1M)). The daemon uses
the map to locate a filesystem, which it then mounts at the point of
reference within the autofs filesystem. You can assign a map to an
autofs mount using an entry in the /etc/auto_master map or a direct
map.

If the file system is not accessed within an appropriate interval
(five minutes by default), the automountd daemon unmounts the file
system.



Hope this gives you some ideas.
SmilieSmilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Mounting NFS

Hi, I am having some issues mounting NFS files. for some reason the mount -F nfs is not being recognized.. bash-3.2# mount -F nfs -o rw 192.168.245.129:/mnt/nfs1/ /mnt UX:vxfs mount: ERROR: V-3-20135: FSType nfs not recognized UX:vxfs mount: INFO: V-3-20147: Usage: mount {special |... (5 Replies)
Discussion started by: br1an
5 Replies

2. Red Hat

NFS mounting issue

The server ip is 10.2.2.24. I have installed nfs-utils package the i have edited /etc/exports i have added the following line /home 10.2.2.0/24(rw,sync,no_root_squash,no_all_squash) i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using... (5 Replies)
Discussion started by: ainstin
5 Replies

3. Red Hat

NFS mounting from client pc

The server ip is 10.2.2.24. I have installed nfs-utils package the i have edited /etc/exports i have added the following line /home 10.2.2.0/24(rw,sync,no_root_squash,no_all_squash) i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using... (1 Reply)
Discussion started by: ainstin
1 Replies

4. Red Hat

NFS not mounting using ipaddress of client

Dear All, I have an NFS Server and client. I am trying to include the ipaddress of the client in servers exports file /etc/exports. In this case , I could not mount , saying permission denied. But when I give * symbol in the place of ipaddress ( Global , any IPS ) it is mounting. ... (1 Reply)
Discussion started by: jegaraman
1 Replies

5. UNIX for Dummies Questions & Answers

Mounting NFS filesystem

Hi All, I need to mount an nfs filesystem as below. xxx.xx.xx.xxx:/media/nss/Rocky Catherine/logs For the above as there is space in between the name, hoping it will not mount, if i give it with double quotes as below will it work? mount "xxx.xx.xx.xxx:/media/nss/Rocky... (2 Replies)
Discussion started by: Rockyc3400
2 Replies

6. AIX

NFS mount nested filesystems ?

Hello, machine1:mount /dev/lv1 /dir1 mount /dev/lv2 /dir1/subdir1 exportfs /dir1 machine2: If I do NFS mount: mount machine1:/dir1 /foreign1 then /foreign1/subdir1 is empty. Does NFS supports this kind of mounting ? thanks Vilius (2 Replies)
Discussion started by: vilius
2 Replies

7. HP-UX

Mounting of unix NFS to windows XP

is it possible? i will only config on the windows side. is there a third party software to help me accomplish this? tnx (3 Replies)
Discussion started by: Amaru
3 Replies

8. Solaris

problem NFS mounting onto Solaris 10

On my Solaris 10 server, I want to share out the directory /export/home/data, so in the /etc/dfs/dfstab file, I have this line: share -F nfs -o rw /export/home/data In the /etc/hosts.equiv file, I have this: + When I do a "ps -ef" command, I see that the "nfsd' daemon is started. ... (2 Replies)
Discussion started by: serendipity1276
2 Replies

9. Linux

NFS not mounting during kickstart

Hi, Re-building linux server from a kickstart image on cdrom. We have a kickstart server. the cdrom contacins the kickstart ks.cfg file and does a NFS mount from an IP to load the iso images and other files needed during the kickstart (re-build) Now for some reason the kickstart stops and... (2 Replies)
Discussion started by: Andrek
2 Replies

10. OS X (Apple)

Mounting an NFS drive in OSX 10.3

Hi all ! I am looking for a command in the terminal or GUI to mount an NFS drive. Second , is there any solution to get rid of / " * in old files names I know it can be done i just dont know how ! Hope that some one can help Best R. Yovel (2 Replies)
Discussion started by: yoveln
2 Replies
Login or Register to Ask a Question