Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Sep 122010
 

mount: unknown filesystem type 'nfs'

Answer:

If you attempt to mount a NFS share, using the mount command, e.g.

# sudo mount -t nfs 192.168.1.2:/data/share /mnt/share

And it gives:

mount: unknown filesystem type 'nfs'

You would need to install the nfs clients to solve it:

# sudo apt-get install nfs-common

Jan 012010
 

How to mount a NFS share?

Answer:

Assume you have a NFS share /data/shares/music, at server: 192.168.1.5

You can mount the NFS share from another system at /mnt/music (create this directory first), with the command below

sudo mount 192.168.1.5:/data/shares/music /mnt/music

This is just an one-time mount.

If you want to mount permanently, you can edit the fstab

vi /etc/fstab

and input

192.168.1.5:/data/shares/music /mnt/music nfs rsize=8192,wsize=8192,timeo=14,intr

Then run the command to see the effect immediately.

sudo mount /mnt/music

Also try to reboot your system to see if the share can be mounted automatically or not.