Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NFS Drive mounting.

0 views
Skip to first unread message

Jocelyn Brault

unread,
Apr 22, 1998, 3:00:00 AM4/22/98
to

A very simple question.

How do I mount a NFS Drive from the command prompt under AIX?

Anybody know?

Thanks.

Michael Welsh Duggan

unread,
Apr 22, 1998, 3:00:00 AM4/22/98
to

"Jocelyn Brault" <jocelyn...@vertsol.com> writes:

> 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)

Daniel S.C.

unread,
Apr 22, 1998, 3:00:00 AM4/22/98
to

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.
>
>
>

Scott Butler

unread,
Apr 23, 1998, 3:00:00 AM4/23/98
to Jocelyn Brault

Jocelyn Brault wrote:
>
> 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

Jocelyn Brault

unread,
Apr 23, 1998, 3:00:00 AM4/23/98
to

Thanks for your Help. It works!

0 new messages