Stale NFS File Handle Locks In BackTrack 4 Beta
Operating System:
BackTrack 4 Beta (This issue seems to be a regular problem on Debian based systems including Ubuntu)
Symptoms:
Grey screen with a black X for the mouse cursor
During boot process or from dmesg: Activating swapfile swap [fail]
Cannot delete folders and files related to X11 in /mnt/sdb2/changes/tmp (BackTrack) or /tmp (Debian/Ubuntu) because of a "Stale NFS file handle.":
Warning: Be sure to make a backup of your important files prior to running any of these commands.
To resolve this issue in BackTrack4 Beta (or Debian based system) without reformatting and restoring your original BackTrack4 Beta boot partition:
Identify your persistent partition:
Attempt to unmount your persistent partition (mine was /dev/sdb2):
If BackTrack reports that it is unable to unmount the folder, because various processes are in use -- find processes that are being used by the partition:
Attempt to gracefully kill processes found from the fuser command:
If graceful kill didn't work:
You should now be able to unmount the partition:
If you formatted the partition as ext3, run the e2fsck.ext3 command to check and repair your file system:
At this point, you will need to keep pressing y, and allow e2fsck to repair and remove files as needed.
OR If you don't care to read what is being repaired and removed:
Restart your system when e2fsck is done, and you should be back in business.
