How do I mount a NFS Drive from the command prompt under AIX?
Anybody know?
Thanks.
> How do I mount a NFS Drive from the command prompt under AIX?
>
Well, I would suggest using smit, but this also should work:
mount -v'nfs' -n'remote.machine.name' RemoteDir LocalDir
--
Michael Duggan
(md...@cs.cmu.edu)
First, you make sure the drive you wish to mount is exported and you have permission to mount it. You can view from AIX which drives are exported and how with the command showmount -e <micro>. See the example:
If the drive C on micro01 was exported as C:, the command showmount -e micro01 will produce the following:
Exported list for micro01:
/C
Make a directory to use as a mount point to the drive or directory. As an example, mkdir /drivec
The command
mount micro01:/C /drivec
will mount your drive or directory.
Jocelyn Brault <jocelyn...@vertsol.com> escreveu no artigo <6hl86o$3v4$1...@news.ix.net>...
> A very simple question.
>
> How do I mount a NFS Drive from the command prompt under AIX?
>
> Anybody know?
>
> Thanks.
>
>
>
Hi,
Try /usr/sbin/mknfsmnt -f (local mount point) -d (remote directory) -h
(remote host)
other command line options are : -N mount now, no entry in
/etc/filesystem; -B mount now, entry in /etc/filesystems; -A/a mount on
system restart/don't mount on system restart
This should be enough to get the nfs mounted (assuming it has been
exported on the remote host of course)
Scott