NFS mounting?

What am I missing? I’m just trying to mount a linux server’s NFS export…

mount -t nfs 10.10.2.81:/data/work /work

mount: Can’t mount /work (type nfs)
mount: Possible reason: Invalid argument

That doesn’t work, but this does:

/usr/sbin/fs-nfs2 10.10.2.81:/data/work /work

does work. I checked the Sysadmin guide, but there isn’t much in there
for NFS information…

Previously, Kees Cook wrote in qdn.public.qnxrtp.os:

What am I missing? I’m just trying to mount a linux server’s NFS export…

mount -t nfs 10.10.2.81:/data/work /work

mount: Can’t mount /work (type nfs)
mount: Possible reason: Invalid argument

That doesn’t work, but this does:

/usr/sbin/fs-nfs2 10.10.2.81:/data/work /work

does work. I checked the Sysadmin guide, but there isn’t much in
there for NFS information…

I think, (but don’t hold me to it) that mount does not start fs-nfs2. It should work if fs-nfs2 is running. It would be nice if the mount command could start fs-nfs2 if needed.


David L. Hawley D.L. Hawley and Associates

David Hawley wrote:


mount -t nfs 10.10.2.81:/data/work /work

mount: Can’t mount /work (type nfs)
mount: Possible reason: Invalid argument

That doesn’t work, but this does:

/usr/sbin/fs-nfs2 10.10.2.81:/data/work /work

I think, (but don’t hold me to it) that mount does not start fs-nfs2. It
should work if fs-nfs2 is running. It would be nice if the mount command
could start fs-nfs2 if needed.

You’re right.

First fs-nfs2 has to be started.

Doing

/usr/sbin/fs-nfs2 10.10.2.81:/data/work /work

is the same as doing

fs-nfs2
mount -t nfs 10.10.2.81:/data/work /work

What’s confusing is that fs-nfs2 is not a mount comand, it’s the command to
start the nfs2 sever. It just happens to be able to mount as well if you
ask it.

Dana


\

Dana Echtner \ Real-Time Systems Administrator
dana@ece.concordia.ca / ECE, Concordia University, Montreal, Canada

rw-rw-rw-: The file protection of the beast

Dana Echtner wrote in message <99d940$cqq$1@inn.qnx.com>…

is the same as doing

fs-nfs2
mount -t nfs 10.10.2.81:/data/work /work

What’s confusing is that fs-nfs2 is not a mount comand, it’s the
command to start the nfs2 sever. It just happens to be able to
mount as well if you ask it.

If I just run “fs-nfs2” alone it’ll just quit. That’s the part I don’t
understand.

Kees Cook wrote:

If I just run “fs-nfs2” alone it’ll just quit. That’s the part I don’t
understand.

Are you sure it’s quitting?

It’s supposed to put itself in the background and give you your shell
back. That’s normal.

You can check if it’s still running by using ‘pidin’.

Also, what happens when you run it, and then use the mount command? Does
it work now?

Dana


Dana Echtner \ Real-Time Systems Administrator
dana@ece.concordia.ca / ECE, Concordia University, Montreal, Canada

rw-rw-rw-: The file protection of the beast

Dana Echtner wrote in message <99d9tu$dg2$1@inn.qnx.com>…

Are you sure it’s quitting?

It’s supposed to put itself in the background and give you your shell
back. That’s normal.

You can check if it’s still running by using ‘pidin’.

Also, what happens when you run it, and then use the mount command? Does
it work now?

It quits. Not there with pidin. However, once I get it running with
mountable arguments,
all the other “mount” requests for NFS stuff will work, so that bit follows
at least.

Weird.

(and my newsreader is misbehaving, too. bad day.)

Kees Cook wrote:

It quits. Not there with pidin. However, once I get it running with
mountable arguments,
all the other “mount” requests for NFS stuff will work, so that bit
follows at least.

That is weird.

Oh well. At least you have a work-around…

D.

Dana Echtner \ Real-Time Systems Administrator
dana@ece.concordia.ca / ECE, Concordia University, Montreal, Canada

rw-rw-rw-: The file protection of the beast