You are not logged in.

#1 2009-09-26 19:08:12

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

What is Required to Mount NFS Shares

I am trying to connect my new Arch Linux server to a NFS share I have. The NFS server is configured and working via OpenSolaris 2009.06. My question is I don't want to install the NFS server daemon on my Arch machine because it's not allowed. I simply need the packages that allow me to connect to a NFS share. Does anyone know what package(s) will do this with out install NFS Kernel Server on my Arch machine?


./

Offline

#2 2009-09-26 20:35:52

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: What is Required to Mount NFS Shares

from what I know, you're perfectly able to mount an NFS share like so:
mount servername:/folder/share /local/mountpoint

or through fstab. Do note that when mounting NFS through fstab you will have to add the option "_netdev" to make sure it will not attempt to mount the share untill networking is completely initialised. This is usefull if you want to mount the NFS at boot. Do note that this sometimes fails.

Alternatives to mount NFS shares during boot could be to add a mount command to rc.local or something.

Last edited by stefanwilkens (2009-09-26 20:39:25)


Arch i686 on Phenom X4 | GTX760

Offline

#3 2009-09-28 17:09:23

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: What is Required to Mount NFS Shares

But my question is don't I need some specific packages from Pacman in order to have access to a NFS server. I don't want to install an NFS server on my workstation, simply the ability to mount to a server from my machine.


./

Offline

#4 2009-09-28 18:21:27

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: What is Required to Mount NFS Shares

like I said, from what I know you do not need specific packages to mount NFS shares. a default arch installation should be capable smile


Arch i686 on Phenom X4 | GTX760

Offline

#5 2009-10-01 18:31:06

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: What is Required to Mount NFS Shares

It does not appear to work. I can mount this NFS share from my Ubuntu laptop so I know NFS is up and running but for some reason I can't from my Linux Arch server...

root /  #  mount -t nfs 10.1.1.29:/export/tech /tech
mount: wrong fs type, bad option, bad superblock on 10.1.1.29:/export/tech,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I know the NFS server is working. Below is from my laptop running Ubuntu:

cwilliams@tunafish:~$ mount
10.1.1.29://export/tech on /tech type nfs (rw,addr=10.1.1.29)

Last edited by Carlwill (2009-10-01 18:31:38)


./

Offline

#6 2009-10-01 19:31:38

ajonat
Member
Registered: 2009-07-17
Posts: 38

Re: What is Required to Mount NFS Shares

mmm.. are you using the stock kernel?

Offline

#7 2009-10-01 20:35:48

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: What is Required to Mount NFS Shares

$pacman -Qo `which mount.nfs`
/sbin/mount.nfs is owned by nfs-utils 1.2.0-3
$pacman -Qo `which mount.nfs4`
/sbin/mount.nfs4 is owned by nfs-utils 1.2.0-3

English is not my native language .

Offline

#8 2009-10-01 22:10:35

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: What is Required to Mount NFS Shares

i stand corrected


Arch i686 on Phenom X4 | GTX760

Offline

#9 2009-10-01 22:14:26

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: What is Required to Mount NFS Shares

Ah - so I do need the 'nfs-utils' packaged installed on my machine.

Thanks!


./

Offline

Board footer

Powered by FluxBB