Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok Im stumped...
I have network of Linux only boxes
1. Server and my desktop
2. Client and my desktop on my workbench
3 - 4 media streamers (not part of this discussion).
Code:
part of my fstab:
/dev/sdc1 /mnt/MyData/ auto nosuid,nodev,nofail 0 0
/dev/sdb2 /mnt/MyMedia auto nosuid,nodev,nofail,x-gvfs-show 0 0
Code:
now my exports:
/mnt/MyMedia/Music 192.168.1.1/24(ro,async,no_root_squash,subtree_check)
/mnt/MyMedia/media 192.168.1.1/24(ro,async,no_root_squash,subtree_check)
/mnt/MyMedia/p2p 192.168.1.1/24(rw,async,no_root_squash,subtree_check)
/mnt/MyData/public 192.168.1.1/24(rw,async,no_root_squash,subtree_check)
I have NFS v4 installed on my server and it is working:
Code:
showmount -e:
Export list for Server:
/mnt/MyData/public 192.168.1.1/24
/mnt/MyMedia/p2p 192.168.1.1/24
/mnt/MyMedia/media 192.168.1.1/24
/mnt/MyMedia/Music 192.168.1.1/24
all should be good..
and both hosts files have been updated
but now my #2 desktop wont boot as I am geting this error:
mount.nfs remote share not in host:dir format....
I have googled this but it shows a Linux/Windows network
Anybody have any answers
Cris.
Last edited by phoenixcomm; 06-08-2015 at 12:49 AM.
"Note that while upper and lower case letters are allowed in domain
names, no significance is attached to the case. That is, two names with
the same spelling but different case are to be treated as if identical."
Cris H.
Last edited by phoenixcomm; 06-08-2015 at 11:26 AM.
Yes, but the request about /etc/hosts could be valid (if there is no domain name server in use). Does 'Whirlwind' resolve to an IP address? (Can you ping Whirlwind?)
"Note that while upper and lower case letters are allowed in domain
names, no significance is attached to the case. That is, two names with
the same spelling but different case are to be treated as if identical."
Cris H.
To quote Pirates of the Caribbean, "The code is what you call guidelines than actual rules." Linux tends to be picky about case sensitivity for hostnames. Not totally certain on this specific issue, but I have seen this cause many a problem in others.
Yes, but the request about /etc/hosts could be valid (if there is no domain name server in use). Does 'Whirlwind' resolve to an IP address? (Can you ping Whirlwind?)
as you can see upper and lower cases works fine.... ie But this is a Red Herring. LOL
Code:
harrison@Whirlwind /mnt/MyData/home/harrison $ ping whirlwind
PING Whirlwind (127.0.1.1) 56(84) bytes of data.
64 bytes from Whirlwind (127.0.1.1): icmp_seq=1 ttl=64 time=0.016 ms
64 bytes from Whirlwind (127.0.1.1): icmp_seq=2 ttl=64 time=0.048 ms
64 bytes from Whirlwind (127.0.1.1): icmp_seq=3 ttl=64 time=0.046 ms
^C
--- Whirlwind ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.016/0.036/0.048/0.016 ms
harrison@Whirlwind /mnt/MyData/home/harrison $ ping Whirlwind
PING Whirlwind (127.0.1.1) 56(84) bytes of data.
64 bytes from Whirlwind (127.0.1.1): icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from Whirlwind (127.0.1.1): icmp_seq=2 ttl=64 time=0.043 ms
64 bytes from Whirlwind (127.0.1.1): icmp_seq=3 ttl=64 time=0.042 ms
^C
--- Whirlwind ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.036/0.040/0.043/0.006 ms
harrison@Whirlwind /mnt/MyData/home/harrison $
Did you try my suggestion (post #4) regarding 'nsf4'?
No. I had a bad few days... no worries I have to lay down a new OS as the client is locked up and does not make the boot...
Most likely will get to it tomorrow
Can you ping whirlwind/Whirlwind from the guest machine? Your above output is just pinging localhost.
Can you mount the NFS share manually?
Also you have no options on your mount, eg nfs version or _netdev.
Most likely but, as the client is not making the boot, pining it is moot.
Yes I have mounted the client with that same string... before I put it into fstab.
What I might end up doing is the great cheat...
creating a shell script that dose the mount after I have booted and loged on...
No. I had a bad few days... no worries I have to lay down a new OS as the client is locked up and does not make the boot...
Most likely will get to it tomorrow
Cris
No reason to reinstall. Get a live cd and boot up the system. Then mount the hard drive and edit the /etc/fstab. Reboot the system and see if it will start up... It doesn't even matter what live cd you use, as long as it has the ability to read the file system on the unbootable disk.
EDIT
Your problem is likely just that you have not formatted your fstab with the proper options following the device and mount point.
Always remember to RTFM before posting.
Not sure about what question to ask, where to ask, or how to ask? Read ALL of this!
#1 I really did both... I find this to be highly offensive.
#2 even though your comment about just using a live CD was a good tempory solution. To get the system back up.
#3 BTW most of the notes on NFS concern type 3 which uses automounter, which type 4 doesn't use.
#4 I beleave that I barfed on the clients mount options not the mounting point.
#5 I will have to wait till Saturday to do anything.
#6 Oh WT_!
enjoy
Cris. https://www.linuxcounter.net/user/587516
Last edited by phoenixcomm; 06-12-2015 at 05:31 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.