1753945 Members
8300 Online
108811 Solutions
New Discussion юеВ

Re: auto mount

 
SOLVED
Go to solution
Yarok
Regular Advisor

Re: auto mount

Hello Ismail,

> Rechecking the attachment of /etc/fstab. There are no NFS mounts on it.

But the last line mentioned nfs. If not nfs what kind of mount do I have?

>Maybe the NFS entries were missing or maybe AutoFS was configured and that is how your filesystems where expected to be mounted. I have asked this before, please let us know 1) Are you trying to mount an NFS filesystem from an NFS server wihtout making use of AutoFS or 2)Are you trying to mount with the NFS clients side service AutoFS? If you are referring to the second option then, your initial question at the top of the page is normal behaviour.

Sorry for the lack of knowladge but I dont know answer the above questions. What should check? how? what commands should I use?
I know that:

ps -ef | grep auto gives:

root ....... Jan 30 console autofs_proc
root .......30 ? /usr/lib/netsvc/fs/autofs/automountd
(I have already wrote it, so I think the AoutoFS is running).


> AutoFS is used to mount a filesystem depending on "accessing" the filesystem

like cd and ls or mount?
> and "unmounts" depending on "idle" time

What is "idle" time?
Since you are having the automount daemon running and if the filesystem in question is making use of this daemon, then this filesystem is not expected to be mounted at boot time but is expecting to get mounted by waiting for it to be 'accessed'.

Ok, I think this is the case but not sure.
If so, how do I change it to be mounted at each boot?

By the way Ismail,
The problem that I mentioned in other forum:
nfs mount: get_fh: IP_ADRESS: : RCP: Program not registered
is still there. Is it concern to what you mentioned (my system dose not run the AutoFS)?

BR,

Yaron.
Dennis Handly
Acclaimed Contributor

Re: auto mount

>But the last line mentioned nfs. If not nfs what kind of mount do I have?

You have mentioned TWO machines. One that works and one that didn't. We are commenting on the broken machine from: Feb 2, 2011 13:24:04

>>1) Are you trying to mount an NFS filesystem from an NFS server without making use of AutoFS or 2)Are you trying to mount with the NFS clients side service AutoFS?

>Sorry for the lack of knowledge but I don't know answer the above questions.

You have to know what you want to do. On your working machine you are using the automounter. Do you want to do the same on your broken machine?

>(so I think the AoutoFS is running).

Yes, on your working machine.

>like cd and ls?

Yes or you have a file still open.

>What is "idle" time?

The time since you last used that filesystem.

>how do I change it to be mounted at each boot?

By adding entries in /etc/fstab.

>The problem that I mentioned in other forum:
nfs mount: get_fh: IP_ADRESS: : RCP: Program not registered
is still there.
http://h30499.www3.hp.com/t5/Networking/nfs-mount-get-fh-RCP-program-not-registered/m-p/4747959#M47217


It might be best not to confuse us with your other problem. ;-)
Or better yet, not separate the two.

Perhaps you should start all over.
What machines do you have?
Which works?
What do you want to do?

Yarok
Regular Advisor

Re: auto mount

Ok, RESTART:

> What machines do you have?

I have several machines.
Now I would like to mount between 2 of them.
1. EREZ2
2. VENUS2

> What do you want to do?
> Which works?

The problems
1. mounting
EREZ2# mount IP_ADDRESS:/scc /venus2
nfs mount: get_fh: IP_ADDRESS: : RCP: Program is not registered
2. AUTOMOUNT
When rebooting machines (both), the mount does not hold.

Additional information:
EREZ2:
/etc/rc.config.d/nfsconf
"NFS_CLIENT=1"
"NFS_SERVER=1"
# ps -ef | auto
Jan 30 consule autofs_proc
Jan 30 ? /usr/lib/netsvc/fs/autofs/automntd
# showmount
(anon)

VENUS2:
/etc/rc.config.d/nfsconf
"NFS_CLIENT=1"
"NFS_SERVER=0"
# ps -ef | auto
Feb 3 pts/3 autofs_proc
Feb 3 ? /usr/lib/netsvc/fs/autofs/automntd
# showmount
showmount: venus2: RCP: Program not registered

/etc/fstab of both machines mentioned nfs and vxfs.

Sorry for the mess. I hope that things are more clear now. If more information is needed just let me know.

BR,

Yaron
Dennis Handly
Acclaimed Contributor

Re: auto mount

>mount IP_ADDRESS:/scc /venus2

Is this the IP address of venus or some other machine? If venus, why not use that?
Can you ping and nslookup IP_ADDRESS and venus?
Yarok
Regular Advisor

Re: auto mount

Sure, it is venus IP_ADDRESS

I can ping to this address and nslookup as well.
Yarok
Regular Advisor

Re: auto mount

Hello Dennis and Ismail,

Do you have a solution to my problem?

Regards,

Yaron