Well, with autofs filesystems are mounted on demand and umounted when not used.
You need to install autofs and then configure it, normally you have to edit:
/etc/auto.master
To define maps. And perhaps edit/create
/etc/auto.xxx
depending on what you want.
I don't know if SuSE or RedHat install autofs by default, I'm a debian user
Have a look at autofs manpages for details and examples.
Before you ask me, Im going to give you an example
Let's say you want to mount the /xxx filesystem from "aserver" on the /nfsmounts/xxx directory of "bserver".
Then, in "bserver", you would add a line in /etc/auto.master like this:
After that you would create a file named /etc/auto.mymounts with a line like this inside:
Everytime you modify /etc/auto.master, you need to restart the service. So you will need to restart autofs in this case.
Finally, just "ls /nfsmounts/xxx" will mount the filesystem automatically.
Hello,
I want to mount a directory with nfs (v3).
Server HP-UX 10.20
Client Centos
If I export the path "/tausch" with access control for hosts with the command mount -t nfs <SERVER_HP-UX_IP>:/tausch/ /mnt/mnt_bach2/
/etc/exports:
/tausch ... (8 Replies)
Hi Friends,
I am trying following command on my solaris box:
mount abchostlinux12:/data1/mount_dir /data/mount_dir
OUTPUT:
nfs mount: abchostlinux12: : RPC: Rpcbind failure - RPC: Success
nfs mount: retrying: /data/mount_dir
After this there is no response on command line. I have... (6 Replies)
Hi everyone, I am new to Linux and I hope to have some advise.
Suppose I have 2 differnt users who require differnt mount drives. When user1 logs in, his required drives are mounted. When user2 logs in, user1's drives are unmounted and user2's drives are mounted.
May I know how I can achieve... (2 Replies)
I've got a Sco 5.0.6 box and an Ubuntu box on my network. i want to backup certain directories onto a share on the Ubuntu box. how do i mount a linux share onto the Sco box? (1 Reply)
Hey people i'm very new to linux. I just put a extra 200 gig maxtor HD in my computer. Linux can tell it's there...but it says it cant mount it. How do i mount it manually?
thanks,
John (2 Replies)
Hi
I need to access files from a specific folder of a Linux system from an another Linux System Remotely.
I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility.
Also, I know to use mount -t ... (2 Replies)