You are not logged in.
Pages: 1
Has anyone managed to mount NFS shares under statler?
I've installed portmap and nfs-common but any mount commands just hang.
Thanks.
Last edited by taintedsushi (2010-03-24 17:54:06)
Offline
try sudo mount -t ntfs-3g /mnt
them look it your /mnt dir.
Offline
Didn't work. I ended up just mounting them as samba shares.
Offline
I have set up my NFS shares no problem.
I always use this guide here:
http://ubuntuforums.org/showthread.php?t=249889
Did you create the directory you want to mount to?
Last edited by kirmonkey (2010-03-24 00:28:44)
Offline
I still can't mount NFS but I have discovered that trying to restart nfs gives me this error
sudo: /etc/init.d/nfs: command not found
portmap restarts correctly and I know that nfs-common has been installed.
What could I be missing?
EDIT
nfs-common restarts with :
Starting NFS common utilities: statd.
so maybe it's ok. I'm begining to think it has something to do with the network settings but have no idea where to start.
Last edited by taintedsushi (2010-03-24 13:28:15)
Offline
NFS hasn't given me any other problem than a DNS name server peculiarity: I cannot reach the server via SSH, NFS or ping if I use the hostname (crunchdebang.local), only if I use the IP address (e.g. 10.0.0.4). But in any case, the command to restart the NFS server is, as far as I know,
sudo /etc/init.d/nfs-kernel-server restartI never use smilies, but there are exceptions that prove the rule
Now playing: Libre.fm
Offline
Thanks.
Server restarts correctly but it still hangs when trying to mount a share. Is there some way to find out what is going on when I try to mount?
My mount command is nothing fancy
sudo mount 192.168.1.3:/share1 /home/share1Offline
Thanks.
Server restarts correctly but it still hangs when trying to mount a share. Is there some way to find out what is going on when I try to mount?
My mount command is nothing fancy
sudo mount 192.168.1.3:/share1 /home/share1
I think you should explicate the file system type:
sudo mount -t nfs 192.168.1.3:/share1 /mnt/share1And I'm not sure it is wise to mount the share into your home directory. If I were you, I would first create a mount point in /mnt:
sudo mkdir /mnt/share1I never use smilies, but there are exceptions that prove the rule
Now playing: Libre.fm
Offline
Following your suggestions leads to the same results. This is perplexing. I have not run into this problem on any other #! variant.
Verbose Output for Mount :
mount.nfs: timeout set for Wed Mar 24 13:26:46 2010
mount.nfs: trying text-based options 'addr=192.168.1.3,vers=4,clientaddr=192.168.1.2'
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failedLast edited by taintedsushi (2010-03-24 17:27:25)
Offline
SOLUTION :
Try adding nfsvers=3 to your fstab line.
192.168.1.3:/share1 /mnt/share1 nfs rw,rsize=8192,wsize=8192,nfsvers=3Worked for me.
Offline
Good to hear and thanks for sharing the solution. By the way, if you want to access the mountpoint from your home directory, you can always create a symbolic link. I have a separate 150 GB partition for music files and I mount it locally in /mnt/music, but I also link that mount point to my home directory:
sudo ln -s /mnt/music /home/piraja/musicThe mount point is shared via NFS and linked in the same way at another machine across the home network.
I never use smilies, but there are exceptions that prove the rule
Now playing: Libre.fm
Offline
Thanks, that's a good tip.
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.