LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mount nfs share from Freenas8 box (SOLVED) (https://www.linuxquestions.org/questions/linux-server-73/mount-nfs-share-from-freenas8-box-solved-4175445415/)

travalon 01-13-2013 12:16 PM

mount nfs share from Freenas8 box (SOLVED)
 
I have searched and found only a few threads covering this topic.
I have setup a freenas box to share across bla bla bla......

When i try to mount a share i get the following:

KDE-Laptop Documents # mount -t nfs 192.168.2.69:/mnt/two_x_500 /home/travalon/nas
mount: wrong fs type, bad option, bad superblock on 192.168.2.69:/mnt/two_x_500,
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

on the first machine i found a thread that suggested I install nfs-common so through apt I did and mounted fine.
Now on the second machine I get the same message as above and tried to install nfs-common but I can't seem to get it through the cli or pkgmgr. I googled it and found a deb pkg but it didn't work. so now what?

Both machines are running the same version and os MintKDE one is a desktop connected with an ethernet cable and the other is a laptop connected w/wifi.

Appreciate all responses.

Kustom42 01-14-2013 02:22 PM

nfs-common provides the actual modules the kernel uses to support nfs mounts. There are two I believe, an msdos module and an nfs module.

Try a:

Code:

modprobe nfs
Also do a

Code:

lsmod
or
cat /proc/modules

And that will give you an idea of whether or not the module is loaded.

travalon 01-14-2013 08:23 PM

Ok so I managed to mount both volumes from the second machine.
( sudo mount -t nfs 192.168.X.XX/mnt/"name of volume" /home/"Name of folder"/'Name of folder for that volume" - I.E. /home/travalon/nas/500gigs)
@ 1st I could only access 1 volume. Every time I tried to get into the other volume I would get kicked back to the original. Having read the freenas man cover to cover, I remembered something about seperate directories. I re-read that part but didn't understand it. NOW I DO! I was trying to mount all my volumes into 1 folder. I had to create a seperate folder for each volume to reside in. Now everything works. Now ALL I need to do is get them to auto-mount every time I log onto a machine.

Thanks Kustom for the suggestion.


All times are GMT -5. The time now is 07:35 AM.