cancel
Showing results for 
Search instead for 
Did you mean: 

to recreate mnttab

 
himacs
Super Advisor

to recreate mnttab

Hi Admins,

 

I want to remove a mount point reference from mnttab because m not able to mount the NFS mount point .. it says device busy.

The same is an autofs mount point. what i did is

 

1. removed the mnttab file

2.commented fstab reference for the same

3. renamed autofs conf files

4. stopped nfs.client

5.mount -a

 

but mnttab created with autofs reference. I want to remove the same. Please tell me which file mount -a contacts when rebuilding mnttab.

 

server is B.11.31

 

Regards

himacs

2 REPLIES
rariasn
Honored Contributor

Re: to recreate mnttab

 

Hi:

 

HPUX 11.31

 

The mnttab file is a pseudo-file whose contents are dynamically   created based on the kernel's private in-core mount table.  The file  will always reflect the latest file system mount and umount  operations.  syncer rewrites the mnttab file if it is found to be  deleted or corrupted.

 

 

 

NFS umount/mount

 

# /sbin/fs/nfs/umount -a -df

 

http://h30499.www3.hp.com/t5/Networking/Problem-mounting-an-NFS-filesystem-HP-UX-11-31/td-p/4803749#.T-GQG1Gr_08

 

 

 

rgs

 

Matti_Kurkela
Honored Contributor

Re: to recreate mnttab

If you want to get rid of the autofs mount point, then stop the autofs service:

sh /sbin/init.d/autofs stop

 Then edit /etc/rc.config.d/nfsconf to permanently disable the autofs service.

MK