NFS killing me, (can't read superblock)
Hey guys,
Problem 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 Code:
wael@nasreddine:~$ sudo mount /media/WAEL_FAT/ Information client: Code:
wael@nasreddine:~$ rpcinfo -p 192.168.3.2 server: Code:
server:/etc# cat /etc/exports what's going on, i tried almost everything, i can't get into the HDD using NFS :o Thanks in advance |
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'm out of ideas then. :( All that stuff always works for me.
So consider this a type of bump. |
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 thx for reply guys |
is it normal that a FAT HDD cannot be scanned via fsck??
Code:
server:~# fsck /dev/sdb Code:
server:~# e2fsck -b 8193 /dev/sdb |
Have u given an entry for the device to auto mount if yes remove it or see the fstab file whether it has an entry or not
|
yes, it has default so it will be auto mounted
/dev/sdb2 /media/WAEL_FAT vfat defaults,auto,uid=1000,gid=1000,iocharset=utf8 0 0 |
remove that it will be solved
|
i tried it didn't work, i'll try to reboot both server and client and retry
|
nope it didn't work :(
|
All times are GMT -5. The time now is 02:47 PM. |