Software :: Cannot Get Rid Of Stale NFS File Handle Error
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
ADVERTISEMENT
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
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
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
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
Jan 21, 2010
How do I delete a file if it happens like this.
-????????? ? ? ? ? ? temp.cgi
View 5 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
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
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
Jun 20, 2010
Trying to split a wavpack on Ubuntu 10.04. I tried: Code: cuebreakpoints Disk3.cue | shnsplit -o flac Disk3.wv It gives an error Code: shnsplit: warning: none of the builtin format modules handle input file: [Disk3.wv] shnsplit: error: cannot continue due to error(s) shown above I already have wavpack 4.60.1-1 installed. Any ideas why shnsplit complains about not seeing wavpack?
View 4 Replies
View Related
Jun 23, 2011
Last night I used Nautilus to FTP a couple of files to my web-site, it worked fine and I created a bookmark for it. Today, with no changes to my system, it refuses to do it showing the error message in the title of the post. I thought that maybe my bookmark was corrupted so I tried File>Connect to Server using FTP with login. Just after entering my password I get the error message. I'm using Maverick. My Internet connection is working well. What the heck is going on?
View 2 Replies
View Related
Sep 12, 2009
Need to handle SIGSEGV error when pbuf size is less than size. inside lib.:
for (i = 0; i < size; i++)
pbuf[i] = i;
View 2 Replies
View Related
Jul 25, 2010
I'm new to php and need some pointers to worth while documentation 'cause I'm getting nowhere I want to make a simple html form that allows me to submit a csv file so that I can work on it.The problem seems to be that if the file is not in the root of the (web) application it won't work.The form doesn't seem to send the path with it so I am unable to (1) know where the file is, I just get the name of the file and (2) I couldn't access the file anyway as it's outside of the apache environment.Is there a way to up the file to memory? How would you do this
View 3 Replies
View Related
Feb 19, 2011
how to handle non argument error while adding two alphabets using 'expr' (not bc).
View 1 Replies
View Related
Jul 20, 2011
Has anyone else experienced issues with this option? Using the tweak tool from Malcolm's repo. If I set it, it works in the current session. But after logout, I can't login again. At login the desktop appears briefly then closes back to the login screen.
View 9 Replies
View Related
Jul 7, 2015
For the past several days the Package Updater has popped up wanting me to install an update to iceweasel. Each time I try to do the iceweasel-31.8.0esr-1-deb8u1 (64-bit) I get the following error message:
E: Internal Error, ordering was unable to handle the media swap
Is there something I need to do?
View 5 Replies
View Related
Feb 20, 2011
when i am using traceroute command, it is giving the erro as follow: traceroute [URL]: Temporary failure in name resolution Cannot handle "host" cmdline arg [URL] on position 1 (argc 1)
View 2 Replies
View Related
Jan 9, 2010
I ran fsck on one of my backup drives, one that is almost full, and I'm not quite sure if that drive is going bad or not.
It's running ext3 and has around 1.6TB used (2.0TB drive).
This is what the output was:
Code:
charles@thor:~$ sudo fsck -rV /dev/sdc1
fsck from util-linux-ng 2.16
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -r /dev/sdc1
e2fsck 1.41.9 (22-Aug-2009)
I found some info about how ext3 defrags itself and that it cannot handle large files very well. Source.
Kinda makes me wonder how badly fragmented my 4TB partition is going to be. >.<
View 5 Replies
View Related
Sep 3, 2009
I'm trying to set up a Fedora 11 server so that users have only SFTP access. The relevant lines from my "/etc/ssh/sshd_config" are:
[Code]....
I can log in okay, I can type "cd /" and "cd upload", but when I try an "ls" command, I get: Couldn't get handle: Permission deniedand when I try to get the file "junk" (listed above), I get: Couldn't stat remote file: Permission deniedAnyone know what I'm doing wrong?
View 2 Replies
View Related
Jun 27, 2009
I recently upgraded my file/media server to Fedora 11. After doing so, I can no longer copy large files to the server. The files begin to transfer, but typically after about 1gb of the file has transferred, the transfer stalls and ultimately fails with the message:
"Error writing to file: Input/output error"
I've run out of ideas as to what could cause this problem. I have tried the following:
1. Different NFS versions: NFS3 and NFS4
2. Tried copying the files to different physical drives on the server.
3. Tried copying the files from different physical drives on the client.
4. Tried different rsize and wsize block sizes when mounting the NFS share
5. Tried copying the files via a different protocol. SSH in this case. The file transfers are always successful when I use SSH.
Regardless of what I do, the result is the same. The file transfers always fail after approximately 1gb.
Some other notes.
1. Both the client and the server are running Fedora 11 kernel 2.6.29.5-191.fc11.x86_64
I am out of ideas. Has anyone else experienced something similar?
View 13 Replies
View Related
May 20, 2011
My hibernation was working out_off_the_box but now it has strange issue. This is debian testing with kernel 2.6.38.4 "hibarnation-disk" hibernate successfully ,with an error though ( seen from hibernate-disk -v2 --dry-run) hibernate-disk:Warning: Tuxonice binary signature file not found Anyhow , after executing the hibernation , on the next boot, the system boots from scratch and not from the resume image. During boot a message is displayed though Invalidating stale software suspend images I have done some google search but none of the solution work so far, including reinstalling the package itself.
View 6 Replies
View Related
Feb 3, 2010
I have resolvconf installed to prevent multiple programs from fighting to update /etc/resolv.conf at the same time an corrupting it.From what I understand resolvconf a package found in the repos is suppose to act as the gatekeeper to /etc/resolv.conf and all programs must go thru it to update resolv.conf. Hence /etc/resolv.conf is written in a orderly manner.
from time to time though something goes awry and resolvconf writes old, wrong stale into /etc/resolv.conf, for a connection that may be down or no longer exists along with the correct info for the current connection.Usually i would fix this by uninstalling and reinstalling the resolvconf package.I was tired of this so i went digging around in
/etc/resolvconf and found the subdirectory
/etc/resolvconf/run/interface
This is where it looks like resolvconf caches interface info that goes into
/etc/resolv.conf
I think what happens is resolvconf is suppose to clean this up in an orderly way but sometimes old interface files may be left here.So for instance in mine were the files eth0 and wlan0.with dns info for each stored in the relative file. I no longer have an eth0 only a wlan0 so resolvconf was still pulling info from both
/etc/resolvconf/run/interface/wlan0 and /etc/resolvconf/run/interface/eth0
with the result of an incorrect dns info in /etc/resolv.conf To make a long story short I just deleted /etc/resolvconf/run/interface/eth0 and was good to go. So if you are using resolvconf and run into this problem you may use this work around.
View 2 Replies
View Related
Aug 24, 2010
I know PHP auto removes stale sessions on it's own, but that doesn't remove them from the MYSQL table. So I was gonna make a cron script that ran once every hour that removed any MYSQL shopping cart item from the table if the original session_id that created it does not exist anymore.
From my understanding a session_id is an "actual" file located somewhere on the harddisk (is it not? correct me if I'm wrong), so I was going to do a simple check for each item in the shopping cart to check for it's original session file, if it didn't exist on the harddisk, then simply remove it from the mysql table.
View 1 Replies
View Related
Sep 8, 2009
I get a Mount,Computer location error and will not mount any drives but boot! When I go to places->Computer on Linux Ubuntu 9.04 and I compiled gmp-4.3.1 and mpfr-2.4.1 last because I wanted gcc-4.4.1 to code and will not compile also gcc error not installed gmp-4.3.1 and mpfr-2.4.1. On screen is...
Could not Desplay "computer:". Nautilus cannot handle "computer" locations
View 1 Replies
View Related
Jun 19, 2011
for some reason ktorrent goes "stale" after a while, with all torrents showing as stalled. each torrent shows only one peer each, even though the tracker statuses show a lot of seeders. exiting ktorrent and restarting it seems to get things moving again.
View 4 Replies
View Related