Slackware :: Stale NFS File Handle Mount Error On Non NFS Boot Partition
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
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
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
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
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
Oct 15, 2010
Unable to install Ubuntu 9.10 on a new internal harddrive. The hardrive contains no operating system. This hardrive is the only drive present in the system.
Whenever the installation trys to mount the ext4 partition the following error appears: The attempt to mount a file system with type ext4 in SCSI1 (0,0,0), partition #1 (sda) at /failed
Iv'e tried over and over to get past this error to no avail.
View 6 Replies
View Related
Mar 29, 2009
I have a vista machine I recently put FC10 on. Through the course of figuring out wireless drivers, I goofed it enough that I was told to simply reinstall linux. I had the fedora GRUB file set as I wanted. But after I re-installed FC10 it would just hang after it searched for bootable CDs and stuff. I got the super grub CD and am able to boot into windows no issue. HOWEVER, when I select the fedora option, I get
"Error 17: Cannot mount selected partition"
I assume this means the grub doesn't know where my Linux boot stuff is. I have a separate drive dedicated to the linux install. The Vista drive is where the MBR is. So... how do I tell the grub where the FC10 install is? I've tried to reinstall FC10 twice hoping I just goofed something. edit: The standard grub file was in /boot/grub or something. Is there a file I can edit to point in the right direction?
View 1 Replies
View Related
May 28, 2010
When upgrading F12 to F13 I had a fatal error when I selected to update grub so I opted to do a fresh install of grub and the upgrade proceeded without any further problems. When I went to boot the system (dual-boot with Win 7) grub gave me error 17 "cannot mount selected partition". So I booted into rescue from the install disk thinking that maybe reinstalling grub might help, but when I ran "grub-install /dev/sda" I got the message that "/dev/sda does not have any corresponding BIOS drive" (I have Windows on SATA 1 sda and Fedora on SATA 2 sdb). I exited rescue mode rebooted entered BIOS and swapped the drive order and restarted. Success!... Well almost. The progress bar goes all the way across the screen to the point the login screen should come up then it hangs...
View 8 Replies
View Related
Jun 24, 2010
what now trying to mount partition get this error this is the partition ubuntu 9.10 is installed on and upon reboot error no device with a long string. mount: can't find /dev/sda6/mnt in /etc/fstab or /etc/mtab
so now that I believe I've successfully mounted the partition how do I direct the bootloader to this partition /dev/sda6 on /media/11076e45-e27d-470b-bb6d-6894f7809a0c type ext4 (rw,nosuid,nodev,uhelper=devkit)
View 1 Replies
View Related
Feb 19, 2011
Okay, so on occasion when I boot into ubuntu I get this error
[mount: mounting /dev /root/dev failed: no such file or directory]
[mount: mounting /dev /root/sys failed: no such file or directory]
[mount: mounting /dev /root/proc failed: no such file or directory]
[code]...
I get the error when I open any of the kernel versions or any recovery mode. Ubuntu 10.10 Desktop is the only OS installed on the computer, which is a Lenovo S10-3. I can eventually get it to go away, sometimes by repeatedly unplugging it and plugging it back in, and sometimes I will boot into GParted, do nothing, then restart and it will work.I have found some solutions online, but all of them involve the error happening as a result of dual booting with Windows.I have made no major system changes recently, so I can't see anything like that being the problem.
View 3 Replies
View Related
Jan 31, 2010
I have presently a (working) boot dedicated partition, where grub stuff resides, but I want to change it to a common "/boot" folder in the root partition (in a different hdd). For some reason I can't do it. The first thing I did was to copy all the things that are in the boot partition to a boot folder on the root partition. After that, I tried: grub-install /dev/hdc1 (which is odd but it's where the root partition actually is)
When I did it from the linux I have installed on my hdd, it actually did something, I don't remember all the output (except that there was something about it not being able to access hda, which is oddly the dvdrom), but it didn't work. From a live CD, the same command (grub-install /dev/hdc1) is answered with: Could not find device for /boot: Not found or not a block device. From grub's own prompt, the things are more or less the same. First of all, it does not find stage1, even though I did copy the content from the boot partition to a boot folder in the root partition.
I tried to proceed, anyway, with root (hd1,0) and setup (hd1,0) (which is /dev/hdc1, according with the "geometry" info given by grub). "Root" is accepted, but "setup" is answered with: Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type But the files are there. I can't "cat" the menu.lst from grub though, unlike with the actual working boot partition. The same error message. From the terminal, however, it's all there. I tried with /dev/hdc1 both mounted and unmounted, the same message. So, basically I have two questions, I guess:
1 - can I really do this sort of thing running a linux installed on a hdd, rather than a live cd, or is the live cd preferable for some reason?
2 - what am I missing?
(A note that may worth making is that I'm using the soon-to-be deprecated grub version, 0.9 or something, not grub2. I think it shouldn't be a problem since I've installed the system with the old version to begin with, but that may be irrelevant, I don't really know)
View 6 Replies
View Related
Dec 29, 2010
I'm slack 13.1, I am trying to install it, but always gives an error. I type cfdisk and appears this error:
Fatal error: bad primary partition 2: Partition ends in the final partial cylinde Press any key to exit cfdisk
View 14 Replies
View Related
May 21, 2010
I am trying to install a box here where my /storage partition is about 2.5T.I had setup the partitioning with suse, while testing, and all worked well.Now when trying to install CentOs 5.5 it gives me an error, that my boot partition is on a gpt partition and this machine cannot boot that.Also I don't see the option to create XFS partitions from the installer.Can 5.5 support GPT @ install time?
View 1 Replies
View Related
Apr 24, 2010
Everything is installed and setup on my system, but when I setup my partitions I chose my Windows partition to be bootable. Can I just use cfdisk to toggle the bootable flag so my linux partition is bootable and rewrite the partition table?
View 2 Replies
View Related
Jun 19, 2010
I was reading this about setting up boot partition to not mount automatically. [URL]
Quote:
Some users don't want their /boot partition to be mounted automatically to improve their system's security. Those people should substitute defaults with noauto. This does mean that you need to manually mount this partition every time you want to use it. Add the rules that match your partitioning scheme and append rules for your CD-ROM drive(s), and of course, if you have other partitions or drives, for those too. Now use the example below to create your /etc/fstab: how to set up a boot partition.
View 5 Replies
View Related
Oct 28, 2010
1- Do I have to mount each partition after each boot? Is there an automated mounting the partitions?
2- Can I have a "My computer" icon on the Desktop?
3- There's a problem that occurred just now.. Yesterday I connected to another monitor, Today, after logging in - using the laptop display -, the icons on the task bar are shifted to the left.. Here's a snap shot.
View 9 Replies
View Related
May 17, 2011
I keep a separate partition for files and folders which I absolutely need for my college work. (I do this because I had accidentally wiped my /home partition while upgrading Linux before)
Anyway, I want to know how to mount this partition at boot automatically .. I know I am supposed to append an entry to /etc/fstab but I am a lil apprehensive about doing this without a go-ahead from users here.code...
View 3 Replies
View Related
Aug 14, 2010
i've a partion hda2 that i'd to mount on boot as /folderXhow could i do that.
View 3 Replies
View Related
Oct 10, 2009
I am having problems with grub. Originally I was having trouble installing Service Pack 2 for vista and I made the fool's mistake of changing the active partition in disk management from the boot partition to the windows partition. This blew up grub. After restarting I was dumped at the grub terminal i.e.
grub>
so I thought okay, I will just reinstall grub. I ran setup (hdx,y) but now when I restart first of all the splash screen is different, rather then the blue background with the big words in white, fedora 11, it's black and I get a error saying unable to read any images. I can see the different OS' I have on the grub screen but attempting to load any of them gives me
error 17 cannot mount selected partition.
I am currently running the Fedora 11 xfce spin live cd. From the terminal here, here is some information. sda3 is my fedora 11 partition I am not sure maybe it is because of ext4 but I can't seem to mount it using mount /dev/sda3 /mnt/xxxxx.
[root@localhost grub]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x72edceee
Device Boot Start End Blocks Id System
[Code].....
View 11 Replies
View Related
Jul 9, 2010
I installed Mac OS X 10.6, Windows 7 Ultimate, and made 4 partitions.OSX and 7 installed fine, but when I tried to install SUSE, it stopped at 92%.I get this error:
Code:
grub>setup --stage2=/boot/grub/stage2 --force-lba (hd0,3) (hd0,3)
Error 17: Cannot mount selected partition
grub> quit
View 2 Replies
View Related
Jul 22, 2010
I 've reinstalled XP partition on my ubuntu system 8.10 ,After that i reinstalled grub using live CD ubuntu 9.04
With the following commands:
but when i restarted the system i got the grub menu .. but when i select ubuntu i got the following error message: " error 17 .. can not mount selected partition "
View 1 Replies
View Related