You are not logged in.

#1 2014-11-27 16:21:10

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

NFS not mounting on boot

Hello! I have this in my fstab:

madoka:/var/music	/var/music	nfs4		rsize=8192,wsize=8192,timeo=14,_netdev	0 0

It fails to mount on boot-up, but I can mount it later with mount -a. Help?

Offline

#2 2014-11-27 16:22:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: NFS not mounting on boot

What does your journal say?


Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-11-27 16:25:18

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Re: NFS not mounting on boot

jasonwryan wrote:

What does your journal say?


Not a Sysadmin issue, moving to NC...

Sorry about the misplaced post. As for my journal, that's the weird thing. I can see a message flash by on boot-up, but I can't find anything in journalctl -b.

Offline

#4 2014-11-27 17:24:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: NFS not mounting on boot

Open a couple of terminals and tail journal and dmesg and then `mount -a`: see what is printed and then look for similar in your boot sequence.

Also: https://wiki.archlinux.org/index.php/Nf … t_handling


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-11-27 17:30:30

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

Re: NFS not mounting on boot

Try

journalctl -u var-music.mount

and/or

 systemctl status var-music.mount

FYI /var is not the right place for a directory full of music, or any other such data. This is not related to your issue, however, and I appreciate that you may not care. smile

Offline

#6 2014-11-27 17:50:24

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: NFS not mounting on boot

Are you sure the nfs share is correctly setup, you aren't blocking the traffic, and the needed services are running?  See the NFS article on the wiki.

Offline

Board footer

Powered by FluxBB