Software :: Stale NFS File Error - Cannot Unmount Drive
Jan 10, 2009
I have Puppy installed on an old laptop and one way or another I ended up with a file inside /usr/bin that has the Stale NFS file error. I've tried to look around for a way to fix it but all places I've looked have only been for the situation where it's on a drive you're able to unmount. At least I think they were. I certainly don't know what I'm doing well enough to know for sure. Obviously restarting the computer has been tried as well as attempting to unmount things, but I can't unmount the drive that is running the unmounting.
View 3 Replies
ADVERTISEMENT
Nov 18, 2008
I've got something showing up in my /mnt directory that I can't figure out how to get rid of. If I try to delete it, I get, "ERROR: Stale NFS file handle". I've tried googling it, but the only solution I can find is "remount and then unmount your NFS server". The trouble is that I don't have any NFS servers - it was a mountpoint for a squashfs file. Trying to remount the squashfile just gives the same error message. My best guess for how it was created is that maybe the file was deleted while mounted. Surely there is a way I can get rid of it? It stuffs up my system by e.g. preventing find from working. I'm running Puppy Linux 4.1.1, although I suspect that is irrelevant.
View 4 Replies
View Related
Aug 4, 2009
We have Linux server in our environment for application development. In this server we mounted so many NFS share from Storage. Past few days we receive this error in
syslog kernel: nfs_statfs64: statfs error = 116
Some user fased this error "Stale NFS file handle"
Server info
OS= RedHat
Kernel = Linux hostname 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux
View 1 Replies
View Related
Jan 13, 2009
I get this error which means I cant visit websites. I cant rm, cp, mv, vi, ... this file. How do I regain the ability to browse the internet? Is there a way I can create a /etc/resolv.conf2 and have my system use that instead?
View 4 Replies
View Related
Sep 10, 2010
When I run lilo (/sbin/lilo), it messes up my /boot partition. Next time I try to mount it after running lilo, I get an error: "mount: Stale NFS file handle" (I define -t ext2). My /boot partition is ext2, mounted locally, and not nfs. Then I do fsck /dev/sda1, and I get several: Free blocks count wrong for group #0 (7665, counted=5063). Fix<y>? I say yes to all and it works normally afterwards. This happens only after I run lilo. Lilo is installed in MBR.
Here is relevant configuration:
Code:
root@darwin:/home/cabrilo# cat /etc/lilo.conf
append=" vt.default_utf8=0"
boot = /dev/sda
bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
prompt
timeout = 30
change-rules
reset
vga = normal
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only
This is my partition table:
Code:
root@darwin:/home/cabrilo# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8f800200
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104422 83 Linux
/dev/sda2 14 144 1052257+ 82 Linux swap
/dev/sda3 145 3432 26410860 83 Linux
/dev/sda4 3433 19457 128720812+ 83 Linux
And this is my fstab:
Code:
root@darwin:/home/cabrilo# cat /etc/fstab
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext4 defaults 1 1
/dev/sda1 /boot ext2 defaults 1 2
/dev/sda4 /home ext4 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
View 4 Replies
View Related
Apr 3, 2010
I'm trying to setup a small network between my old and new laptops to transfer my personal data. They are now linked with a crossover cable and they see each other.The old one has a dual-boot setup with WinXp and Ubuntu 9.10.The new one with Win7 and Ubuntu 9.10.I tried samba but it was very slow even using Windows in both computers: maximum transfer rates were about 1,5 Mib/sec.I tried SSH using ubuntu on both pcs and it is reliable and much faster, 5 Mib/sec. But I wanted more...I installed the NFS server on the old one and exported the NTFS partition where my data resides with sync and ro options.
I installed the NFS client on the new one and i'm able to mount the remote partition.Now, when I transfer my files I get very high speed, more than 10 Mib/sec but after a while I get a "Stale NFS file handler" error but I really didn't touch any file in the old pc and the connection is always up.Searching on the web I found that NFS had some troubles exporting NTFS partitions in the past but should be fully compatible with them since the last versions of ubuntu.
View 1 Replies
View Related
Jan 12, 2011
I have a 20TB filesystem, xfs formatted. The filesystem has been mounted with the inode64 option, and I now need to NFS export it. NFS doesn't like the inode64 option at all. The NFS clients cannot access any of the directories with inode numbers exceeding the 32bit limit. They get the "Stale NFS file handle" message. I have tried to attach the filesystem to a RHEL5.3 system, and after turning on the no_subtree_check option in /etc/exports on the server, it all works fine. No changes were needed on the clients.
The problem is that I need to get this to work on a RHEL4.4 system. Unfortunately I cannot do any test on that system yet, I then did a quick test on a RHEL4.3 system... and it didn't work. Even using the no_subtree_check option was on any help. I am afraid that this will not work on the RHEL4.4 system either. How to get the inode64 xfs filesystem NFS exported on a 2.6.9 kernel?
View 1 Replies
View Related
Jan 21, 2010
How do I delete a file if it happens like this.
-????????? ? ? ? ? ? temp.cgi
View 5 Replies
View Related
May 19, 2011
Having problems with external hard drives. I may be wrong, but I suspect they originated with an upgrade to 10.04 last Christmas. Around that time I also started using Amazon's S3 storage system, and, as a consequence, I stopped using my WD 80G external drive, previously used to backup my important files.
A week or so ago I decided to start using the WD drive again. I can't remember exactly what I did, but it wasn't happy - never caused any problems before. When I plug it in, the on-off light as the front keeps flashing on and off, and when I try to remove the drive I get the message: Error unmounting volumne An error occured while performing an operation on "My Book" (Partition 1 of WD 800BB External): The device is busy
Details: Cannot unmount because file system on device is busy Assuming the device had died - it's about 5 years old - I bought a 160G Samsung S-Series drive - my but they do look neat! Unfortunately, this doesn't seem to have solved my problem. I plugged the new drive in, and it happily appeared on my desktop. It seemed a good idea at the time, but I then started to format the drive - using the default option of FAT. All went well at first, but then the format process stopped.
My new Samsung drive now seems to be operating pretty much as the WD device, I can't copy to the drive, and attempts to unmount it generate a response similar to what's happening with the WD drive. Currently, although plugged in, I can't see the drive on my desktop, although it appears under Places. However, when I try to mount the drive, I get the message: Unable to mount SAMSUNG A job is pending on /dev/sdb1
View 1 Replies
View Related
Jan 20, 2011
I currently have a home network setup so that my main machine shares it's external hard-drive via NFS. This has been working perfectly for months, however I just got a new laptop, installed openSuse 11.3 x64 and set everything up. Now there is two folders on the external network mount that won't let me do anything and always just return Networking: Stale NFS File Handle. The system still works fine under my old openSUSE 11.2 x86 laptop. I have tried unmounting the drive from the laptop, restarting the NFS client, and restarting the NFS server on the main machine. None of these have made a difference.
It is only these two folders that are effected. Everything else works just fine.
View 4 Replies
View Related
Oct 19, 2009
I did a backup of the ssd on my eeepc using the following command from a Linux Mint on a USB key:
dd if=/dev/sda1 of=/media/disk/eeepc_save/SYSTEM/system.bck
(/media/disk in an external USB disk)
I deleted the ext2 partition using GPartEd on live USB key and created it back. I rebooted Linux Mint and restored the filesystem using the opposite command :
dd if=/media/disk/eeepc_save/SYSTEM/system.bck of=/dev/sda1
I mounted /dev/sda1 and when I "ls" the root directory, I get several "NFS stale file handle" messages concerning directories (/dev and other). I tried "e2fsck -y", had a bundle of corrections that resulted in the deletion of the directories. I don't use NFS. I did the same for the user filesystem and had no problem (it's an ext3 partition). The two filesystems are the ones that came with the original Xandros installed on my eeepc and that were mounted with union-fs.
View 3 Replies
View Related
Aug 10, 2009
When using rsync to copy from one NFS mounted filesystem to another mounted NFS, rsync displays "stale NFS file handle" while attempting to issue a chmod after each file is copied. The files appear to be written successfully but the owner and group show up as "99." The source file system is mount USB ext3 drive and the target is a Buffalo TeraStation TS-XL/R5.
View 6 Replies
View Related
Mar 22, 2010
I've got a problem while accessing the /etc/sysconfig/network-scripts/ifcfg-wlan0 file, CLI's throwing: "Stale File Handle" - there's no access to this file. Problem is the same regardless wlan0 interface is up or down.
View 2 Replies
View Related
Mar 20, 2009
A FC10 server hung and had to be power-cycled. I suspect it hung because of an nfs mount timeout.
Now it does not boot. The error is libc.so.6 not found. Kernel panic. Attempting to kill init.
Booting under rescue:
ls: cannot access libc-2.8.so: Stale NFS file handle
Is there a way to reboot to a clean state? There must be some NFS cache file.
I also tried to cp rescueCD:/lib64/libc-2.8.so to the old lib64 dir, but get the same "Stale NFS file handle" message.
View 1 Replies
View Related
Oct 18, 2010
I was following the relatively simple instructions here for setting up a LAMP system. After having installed Apache2-related applications, I ran
# a2enmod expires
# /etc/init.d/apache2 restart
That worked fine. Then, a little later, after having set up a virtual host for my project website, and after installing PHP, MySQL and setting up a Mail Server with Exim, I rebooted and started getting errors when trying to start Apache:
Starting web server: apache2apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/expires.load: Stale NFS file handle
Now it seems as if there is nothing I can do with that file:
# rm -f /etc/apache2/mods-enabled/expires.load
rm: cannot remove '/etc/apache2/mods-enabled/expires.load': Stale NFS file handle
# cd /etc/apache2/mods-enabled/
[code]....
Is there anything I can do to refresh the NFS index so that it finds or removes this file? I'd be happy to just get rid of it. At the moment, I can't start Apache or anything because of it.
View 1 Replies
View Related
Jul 7, 2011
I'm running both Ubuntu 11.04 and Windows XP Home Edition. I have my hard drive partitioned with 90 GB for Windows and 60 GB for Ubuntu. Here's the problem: When I booted up Ubuntu for the first time, the Windows file system appeared as a second HDD. My dad told me that I need to make it so that drive doesn't appear or be read only or else he will be uninstalling Ubuntu because of the risk that some program will write to the Windows file system. I personally am not worried about that happening, but he clearly is. Remember, I'm brand new to Linux so please make things simple for me to under stand!
View 9 Replies
View Related
Sep 5, 2009
I've recently purchased a 4gb "ultra speed" flash drive. It reads and writes just fine on both my laptop and desktop. Both of which are running Ubuntu 9.04. However, when I go to unmount the drive from my desktop system, the drive icon on the desktop disappears, but it remains in the "media - File Browser".
There is one change in the file browser though. When I unmount the drive, the "eject" symbol disappears from next to the drive in the "media - File Browser" but the drive icon itself remains. The light never extinguishes on the USB drive, and when I click on the icon that remains in the File Browser, the USB drive mounts itself again and reappears on my desktop and the eject symbol reappears in the File Browser.This drive unmounts just fine from my laptop.
Code:
Bus 002 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
[code]....
View 1 Replies
View Related
Jun 17, 2010
I have an external hard drive which connects to a usb port. until recently i could unmount it by right clicking on the desktop icon and selecting unmount. now when i try that it tells me that i can't because the device is not in fstab and i am not the root. i checked mtab and it had this line '/dev/sdb1 /media/usb0 msdos rw,noexec,nodev,nosuid 0 0' i changed that to '/dev/sdb1 /media/usb0 msdos user,rw,noexec,nodev,nosuid 0 0' thinking that would fix it, but it didn't. i unmounted using 'sudo umount /media/usb0' and restarted my computer and now the line in mtab reads '/dev/sdb1 /media/usb0 vfat rw,noexec,nodev,sync,noatime,nodiratime 0 0' and i still can't unmount without using the sudo umount command. i also tried adding '/dev/sdb1 /media/usb0 msdos user,rw,noexec,nodev,nosuid 0 0' to fstab and that didn't help
View 2 Replies
View Related
Aug 4, 2010
I have a 160GB drive installed as /dev/sdb. If I replace it with a 500GB drive, do I have to unmount/mount or will it work as is? This is on Ubuntu Server.
View 1 Replies
View Related
May 24, 2011
I am having this problem. I use an external usb hard drive with my pc running on ubuntu 11.04, If I keep the hard drive idle for a few minutes, ubuntu unmounts it. I suspect there are some options for this, so I looked into the Power Management section, but found nothing that can solve the problem.
View 1 Replies
View Related
May 17, 2011
I have thumb drive connected to a busybox box.I mounted it /opt in initialzation file. However after a while it will unmount itself because it changes its drive letter from sda1 to sdb1. How could a usb device change its drive letter by itself? How could I prevent it happening?
View 13 Replies
View Related
Dec 6, 2009
I have external hard drive which I used to connect via eSATA. I have edited fstab and it looks like that now: UUID=35C595D5738A319A /media/DATA ntfs auto,user,exec,suid,rw 0 0 The problem is that I can't unmount it as normal user, when do that, receive: Error unmounting: umount exited with exit code 1: helper failed with: umount: only root can unmount UUID=35C595D5738A319A from /media/DATA
View 2 Replies
View Related
Oct 26, 2010
I accidentally unplugged my usb drive before unmounting it. In windows this is no big deal, so I'm used to that. However, I'm finding that in Kubuntu 10.04 this is a big deal. Now I can't mount any other drives unless I use the command line. Also, I can't unmount anything, even if I mount it on the command line.
What do i do? I know a reboot will fix this, but if it happens again i will be right back at this point. It should not take a full reboot just to unmount a drive. I have tried umount -l and umount -f and the terminal window just hangs.
View 2 Replies
View Related
Sep 28, 2009
I have external USB hard drive of 320GB(seagate sata).It works fine but, it unmount automatically after some time.In windows it works fine without any problem. also I unplug USB cable & plug it again to mount it is there any other way of mounting it after it gets unmounted.
View 1 Replies
View Related
Jan 3, 2010
Ubuntu(9.10) does not let me the permission to mount/unmount any NTFS partition with a normal click . I have to do it by using sudo mount command like below every time.
"sudo mount /dev/sda6 /media/sda6"
and a similar command to Unmount When I try to mount using the normal click I get the following error message Error unmounting: umount exited with exit code 1: helper failed with: umount: only root can unmount /dev/sda6 from /media/sda6 And a similar error for mounting
This problem started when I used storage device manager(pysdm) to mount the drives I have the same problem with all the drives
View 9 Replies
View Related
May 20, 2010
I think my 4GB Cruzer flash drive has got a bit corrupted as it suddenly has started mounting at /_"[ instead of something along the lines of /45C1-8FE6 (can't remember the actual number). See the gparted screenshot attached.
So I thought I'd delete the partition, reformat and relabel... but gparted won't let me do it. When it tries to unmount, I get an error message:
Code:
Actually, I just figured it out whilst writing this. I used a umount command in terminal with escape characters, specifically:
Code:
That unmounted it so that I could reformat and relabel.
View 1 Replies
View Related
Feb 27, 2009
I am using a live-cd version of linux and want to install it to my hard-drive but when i try to unmount it and go into qtparted, it says it is still busy so i cant perform changes. This is my result when i type "mount"
Code:
aufs on / type aufs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
[code]....
View 3 Replies
View Related
May 26, 2011
I use a notebook for work and require a secure place for files in case of theft. I had dev/sda6 for that purpose and I mounted it only when needed and it was encrypted with password. Due to issues with file permissions, I had to re-install the OS. This time I do not have access to the dev/hda6 drive (owned as root) and get warnings when trying to unmount or encript it.
[code]...
View 1 Replies
View Related
Oct 1, 2010
i don't understand this, why do you have to mount a usb or cd to use them? its such a hassle, in windows the usb/cd just works, but in linux you have to mount it, why? when ever i shutdown in linux, i am using ubuntu it says my drive didn't unmount on shutdown and it might damage my files?
View 2 Replies
View Related
Apr 21, 2010
I formatted the USB flash drive using Karmic's Format Disk utility (right-click on a volume, select "Format..."), and selected "Encrypted, compatible with Linux (FAT)" from the "Type" drop-down menu.It mounts correctly when I plug it in, and I can access the files just fine.When I unplug the Flash drive without using the 'Safely Remove Drive' option, the icon on my desktop changes its name to '2.0 GB Encrypted', instead of disappearing and unmounting like my unencrypted Flash drives do.
I would like to have encrypted Flash drive treated in the same way as my unencrypted Flash drives, which disappear and unmount when unplugged, even if the 'Remove Safely' menu option isn't used. What can I do to accomplish this?NOTES:When I plug the encrypted Flash drive in, the following line shows up in the output of 'mount'. 'secure' is the name I gave the disk during the format process:
Code:
/dev/mapper/devkit-disks-luks-uuid-302db16c-c6e2-4dd9-a259-436437c76475-uid1005 on /media/secure type vfat
[code]....
View 1 Replies
View Related