You are not logged in.

#1 2011-01-26 19:11:01

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

Can't mount NFS from my Arch laptop, am I missing something obvious?

Hello,

I have been trying to solve this issue for over a week and tried everything that I can imagine with no luck...

Set up:
- Qnap SS-839 Pro with several NFS shares on
/share/to_sort
/share/movies
/share/music
etc.

- MythTV frontend/backend running Mythbuntu.
I can mount my NFS shares without problem. I use this fstab.

192.168.1.100:/share/Music /var/lib/mythtv/music nfs nolock,async,proto=tcp,rw,ac 0 0
192.168.1.100:/share/Videos /var/lib/mythtv/videos nfs nolock,async,proto=tcp,rw,ac 0 0

- Arch laptop
I can't get to mount any of the NFS share:

[18:59:14][root@phusis.protogenoi.com]
/mnt/aether Arch64#
/etc/rc.d/rpcbind restart
:: Stopping rpcbind                                                      [DONE]
:: Starting rpcbind                                                      [DONE]
[18:59:32][root@phusis.protogenoi.com]
/mnt/aether Arch64#
mount 192.168.1.100:/share/to_sort/ to_sort/
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
[19:00:03][root@phusis.protogenoi.com]
/mnt/aether Arch64#
mount 192.168.1.100:/share/to_sort/ to_sort/ -o no-lock
mount.nfs: an incorrect mount option was specified

I tried using the 2 following lines in my fstab on  my laptop but nothing works:
1) 192.168.1.100:/share/to_sort /mnt/aether/to_sort nfs nolock,async,proto=tcp,rw,ac 0 0  (same option than under mythbuntu)
2) 192.168.1.100:/share/to_sort /mnt/aether/to_sort nfs defaults 0 0

I'm no guru when it comes to nfs sharing etc, but I really can't see what I am missing here, nor whatelse can I try!

Any idea will be more than welcome!

Thanks in advance
Ludo

Offline

#2 2011-01-26 20:59:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Can't mount NFS from my Arch laptop, am I missing something obvious?

Start nfs-common after rpcbind. This information is available in the wiki - in future, please check there before asking here.

Offline

#3 2011-01-26 21:17:08

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

Re: Can't mount NFS from my Arch laptop, am I missing something obvious?

tomk wrote:

Start nfs-common after rpcbind. This information is available in the wiki - in future, please check there before asking here.


Hello Tom,

It is running:

[21:14:52][root@phusis.protogenoi.com]
/mnt/aether Arch64#
/etc/rc.d/nfs-common restart
:: Stopping rpc.statd daemon                                                    [DONE]
:: Starting rpc.statd daemon                                                    [DONE]

/etc/rc,conf

DAEMONS=(syslog-ng hal networkmanager alsa sensors !wireless-regdom hddtemp !gdm !cpufreq network !dhcdbd rpcbind nfs-common @netfs !autofs !samba crond !wicd !entranced bluetooth !arch32 !mldonkey !mysqld !mythbackend ntpdate ntpd gdm)

Have you got any other idea?

Thanks

Offline

#4 2011-01-26 21:21:44

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,553

Re: Can't mount NFS from my Arch laptop, am I missing something obvious?

Did you open up the ports in

/etc/hosts.allow
/etc/hosts.deny

Offline

#5 2011-01-26 21:27:08

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

Re: Can't mount NFS from my Arch laptop, am I missing something obvious?

I believe, I did.

/mnt/aether Arch64# cat /etc/hosts.allow
#
# /etc/hosts.allow
#
rpcbind: 192.168.1.100/255.255.255.255
# End of file
[21:24:46][root@phusis.protogenoi.com]
/mnt/aether Arch64#
cat /etc/hosts.deny
#
# /etc/hosts.deny
#

# End of file
[21:25:12][root@phusis.protogenoi.com]
/mnt/aether Arch64#
/etc/rc.d/rpcbind restart
:: Stopping rpcbind                                                                                                                                                                   [DONE]
:: Starting rpcbind                                                                                                                                                                   [DONE]
[21:25:15][root@phusis.protogenoi.com]
/mnt/aether Arch64#
/etc/rc.d/nfs-common restart
:: Stopping rpc.statd daemon                                                                                                                                                          [DONE]
:: Starting rpc.statd daemon                                                                                                                                                          [DONE]
[21:25:22][root@phusis.protogenoi.com]
/mnt/aether Arch64#
mount 192.168.1.100:/share/to_sort/ to_sort/
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

Last edited by Coume (2011-01-26 21:27:31)

Offline

#6 2011-01-30 11:36:31

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

Re: Can't mount NFS from my Arch laptop, am I missing something obvious?

As I am still fighting with this issue, I found a forum post (other distro) that was asking to check the output of showmount and I guess the prbl comes from there but have no idea on how to fix that...

[11:33:28][root@phusis.protogenoi.com]
/home/lcoumetou Arch64#
showmount -e 192.168.1.100
clnt_create: RPC: Unknown host
[11:36:13][root@phusis.protogenoi.com]
/home/lcoumetou Arch64#
showmount
clnt_create: RPC: Unknown host

Last edited by Coume (2011-01-30 11:41:21)

Offline

#7 2011-05-22 07:25:34

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

Re: Can't mount NFS from my Arch laptop, am I missing something obvious?

I finally solved this problem after 4 months after someone posted a similar issue with Arch few days ago...

He said to install the iana-etc package... I already had the package but still gave it a go:

[08:15:33][lcoumetou@phusis.protogenoi.com]
~ Arch64$ showmount -e 192.168.0.100
clnt_create: RPC: Unknown host
[08:15:41][lcoumetou@phusis.protogenoi.com]
~ Arch64$ sudo pacman -Syu iana-etc
Password: 
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 archlinuxfr is up to date
warning: iana-etc-2.30-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (1): iana-etc-2.30-1

Total Download Size:    0.00 MB
Total Installed Size:   0.88 MB

Proceed with installation? [Y/n] 
(1/1) checking package integrity                                                                                                                                                                [########################################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                                                               [########################################################################################################################] 100%
(1/1) upgrading iana-etc                                                                                                                                                                        [########################################################################################################################] 100%
[08:20:13][lcoumetou@phusis.protogenoi.com]
~ Arch64$ showmount -e 192.168.0.100
Export list for 192.168.0.100:
/to_sort                
/mythbox                
/Qweb                   
/Qusb                   
/Documents              
[08:20:18][lcoumetou@phusis.protogenoi.com]
~ Arch64$ 

As you can see, it is now working and I am now completely puzzled...
How come reinstalling this package solved the issue?
Any idea on what the problem was would be more than welcome smile

Thanks

Offline

#8 2012-03-18 13:17:40

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 301
Website

Re: Can't mount NFS from my Arch laptop, am I missing something obvious?

Coume wrote:

I finally solved this problem after 4 months after someone posted a similar issue with Arch few days ago...

He said to install the iana-etc package... I already had the package but still gave it a go:

Wow, that really saved me, thanks a lot! Had the same problem and updating the package fixed it.

Offline

Board footer

Powered by FluxBB