Auto-mounting NFS in AIX at startup

0

I have few NFS file systems which I mount manually after my AIX system boots up. Is there a way I can do it using /etc/filesystems?

What would be the syntax?

Ahmar

Posted 2012-02-26T18:29:55.710

Reputation: 1

Answers

1

The mknfsmnt command will add the appropriate entry to /etc/filesystems to mount NFS file systems at boot time - the I option does this. For further details read the man page for mknfsmnt or you can read the documentation on the IBM Webste. SMIT also provides an excellent interface to this command - command line SMIT - smitty nfs will get you to the SMIT panels for NFS.

DementedCanuck

Posted 2012-02-26T18:29:55.710

Reputation: 11

0

Use the following command for predefined mount (to make entries in /etc/filesystems):

#crfs -v nfs -n nodename -d /nfs filesystems -a options=rw,hard,bg,intr -A yes -m /mntpnt

jeshwanth

Posted 2012-02-26T18:29:55.710

Reputation: 1

0

You probably should look for autofs. See IBM pages for more information.

kerolasa

Posted 2012-02-26T18:29:55.710

Reputation: 126

0

Here is an example;

/var/nfsmount1:
    dev          = "/var/www/html/apacheapp/somedir"
    vfs          = nfs
    nodename     = 192.168.100.202
    mount        = true
    options      = bg,hard,intr,sec=sys
    account      = false

cetanx

Posted 2012-02-26T18:29:55.710

Reputation: 1