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.
i don't know why, but NFS suddenly stop working yesterday night, i wanted to unmount my shared USB HDD so i stoped manually nfs-kernel-server, and portmap, after i plug it (even after server-client restarting) i keep getting the message
Did you stop NFS before umounting your USB thumbdrive?
I found out that if, for some reason, my server umounts a drive before stopping NFS, things go to hell real quick. I have to umount the drives on the NFS clients, then stop the NFS service on the server, then umount the drives on the server, then reverse the process. If I don't, my computer gets very angry, very quickly.
indeed i forget to unmount it from the client before, but i did stop NFS server, samba Server and unmount the HDD to unplug it safely,
but i didn't unmount it from the client before
so any suggestions please???
The only suggestion I can offer is to kill NFS on both machines, then mount the drive on your server, start the nfs server apps, then start the nfs client apps on your client computer, then try to mount the drive.
If that doesn't work, you can always try *shudder* a reboot as a last resort to kill anything that's lurking.
oh i reboot serval times both server and client
and also i apt-get remove --purge nfs-kernel-server pormap nfs-common and then apt-get install nfs-kernel-server portmap nfs-common on both server and client (client without the nfs-kernel-server package) serval times
same result :'(
Well i wuld suggest you to stop all the nfs services then reconfigure your file do all the stuff you did in the past and then again restart the service.
Also this looks weird but I have seen this times that if you get such messages in GUI switch to command mode you wont get them and vice versa
it's realy killing me because as i mentioned in the first post, i tried everything, reconfigure, reboot, reinstall, of course not formatting yet,
it happened to me once before but i was preparing the server for a format and distribution change (from ubuntu to debian) so i didn't get deep in it, after a format it worked but i can't format the server each time it stops working, i have sites on ther server can't turn it off whenever i want
so a help is really appreciated, i'll take above advices and i'll proceed now to try to re-reconfigure and re-reinstall to see if any difference
is it normal that a FAT HDD cannot be scanned via fsck??
Code:
server:~# fsck /dev/sdb
fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Code:
server:~# e2fsck -b 8193 /dev/sdb
e2fsck 1.37 (21-Mar-2005)
e2fsck: Bad magic number in super-block while trying to open /dev/sdb
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.