Forum Home
Press F1
 
Thread ID: 84775 2007-11-18 00:42:00 Linux - NFS issues personthingy (1670) Press F1
Post ID Timestamp Content User
612622 2007-11-18 00:42:00 While trouble shooting my network issues, i resorted to reebooting meinserver, which as well as proving unnessessary now means that all the NFS shares i have, or rather had on the server have ceased to be available.
From POS all i see using KDE is a wee icon saying "not mounted"
Both machines are Debian-Etch

What service do i need to (re)start on meinserver to make it's wonderful harddrive space again available to the rest of my fine network?

For reference, the networking issues i had were my network switch packed a sad, and came right after powering it back up. :rolleyes:
personthingy (1670)
612623 2007-11-18 00:54:00 For the server, you need nfs and portmapper running.

You can verify NFS is running by using the command: rcpinfo -p
Jen (38)
612624 2007-11-18 01:13:00 You can verify NFS is running by using the command: rcpinfo -p Ahhh we have different species of mammal it seems....


meinServer:~# rcpinfo -p
-bash: rcpinfo: command not found
:(
personthingy (1670)
612625 2007-11-18 01:21:00 Not necessarily, I'm referring to notes I took on setting up my NFS system I had going a couple of years ago, so it maybe out of date and no longer used. I don't use NFS anymore.

Did you check what services were running?
Jen (38)
612626 2007-11-18 04:28:00 For the server, you need nfs and portmapper running.



Did you check what services were running?i have
daemon 5559 0.0 0.1 1684 360 ? Ss 14:46 0:00 /sbin/portmap and
root 2544 0.0 0.0 0 0 ? S< 10:08 0:00 [nfsd4]
root 2545 0.0 0.0 0 0 ? S 10:08 0:00 [nfsd]
root 2546 0.0 0.0 0 0 ? S 10:08 0:00 [nfsd]
root 2547 0.0 0.0 0 0 ? S 10:08 0:00 [nfsd]
root 2548 0.0 0.0 0 0 ? S 10:08 0:00 [nfsd]
root 2549 0.0 0.0 0 0 ? S 10:08 0:00 [nfsd]
root 2550 0.0 0.0 0 0 ? S 10:08 0:00 [nfsd]
root 2551 0.0 0.0 0 0 ? S 10:08 0:00 [nfsd]
root 2552 0.0 0.0 0 0 ? S 10:08 0:00 [nfsd]
close enough?
personthingy (1670)
612627 2007-11-18 05:09:00 So they used to work on meinserver, but after rebooting, they are not working now? vinref (6194)
612628 2007-11-18 06:22:00 So they used to work on meinserver, but after rebooting, they are not working now?Yes.
I have a lot of storage on meinserver, and i cannot access it since rebooting meinserver, atleast not with NFS, which is my preference.... fish and smb are still working fine, they just aren't to my taste :)
personthingy (1670)
612629 2007-11-18 08:08:00 If you haven't changed any of the configurations in meinserver and the client, and you have the appropriate entries in /etc/fstab, then restart the networking services on the client thus:


/etc/init.d/networking restart

Might also be /etc/init.d/network. Have a look.

If this doesn't work, check /etc/fstab. Post it here if you are unsure of what it should look like.
vinref (6194)
612630 2007-11-18 16:59:00 silly question, you running that command Jen gave you as root user ? beama (111)
612631 2007-11-18 18:36:00 I'm pretty sure the basic network connectivity is sweet, after all, meinserver is the secret to me being able to post here, but what they hey, i restarted networking on meinserver, and this machine anyway. However there is an odd error in the 2 lines at the end.
POS:~# /etc/init.d/networking restart
Reconfiguring network interfaces...SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
if-up.d/mountnfs[eth1]: lock /var/run/network/mountnfs exist, not mounting
done.


If you haven't changed any of the configurations in meinserver and the client, and you have the appropriate entries in /etc/fstab, then restart the networking services on the client thus:


/etc/init.d/networking restart

Might also be /etc/init.d/network. Have a look.

If this doesn't work, check /etc/fstab. Post it here if you are unsure of what it should look like. well heres fstab on POS (the client)
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / reiserfs notail 0 1
#/dev/hdc1 /home reiserfs defaults 0 2
/dev/hda2 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/hdc1 /music reiserfs defaults 0 2
/dev/sda1 /personthingy reiserfs defaults 0 2
#//192.168.0.1/Read_only /music smbfs user,username=% 0 0
192.168.0.1:/home/chris/Shared/Read_Only /nfs/read nfs defaults,rw,user 0 0
#//192.168.0.1/Open /open smbfs user,username=% 0 0
192.168.0.1:/home/chris/Shared/Open /nfs/open nfs defaults,rw,user 0 0
192.168.0.1:/home/chris/stash /nfs/stash nfs defaults,rw,user 0 0
/dev/scsi/host0/bus0/target0/lun0/part1 /media/usb0 auto rw,user,noauto 0 0
personthingy (1670)
1 2 3