SUSE :: Rsync Displaying Stale NFS File Handle

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


ADVERTISEMENT

OpenSUSE Network :: NFS Stale File Handle

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

General :: SSD Backup - NFS Stale File Handle

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

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 View Related

General :: Stale NFS File Handle / Statfs Error 116

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

Red Hat :: Inode64 XFS File System And Stale NFS File Handle Message

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

Fedora :: Stale File Handle - Accessing WLAN0 Interface?

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

General :: Cannot Visit Websites - Getting Stale NFS File Handle Error

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

General :: Stale NFS File Handle - How To Delete File

Jan 21, 2010

How do I delete a file if it happens like this.
-????????? ? ? ? ? ? temp.cgi

View 5 Replies View Related

Fedora Servers :: FC10 Kernel Panic - Stale NFS File Handle

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

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 View Related

Debian :: Keep Getting "Stale NSF File Handle" On A Local File

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

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 View Related

SUSE :: Operating System Handle And Avoid Deadlocks?

Sep 1, 2010

how does this operating system handle and avoid deadlocks? i m familiar with theoretical documentation of deadlocks. how/which methods are practically used by SUSE to handle and avoid deadlocks. how is deadlock but nothing which say SUSE IMPLEMENTS THESE METHODS for DEADLOCK avoidance...)

View 3 Replies View Related

Programming :: Handle Own Made Include Files In Order To Compile Program In SUSE 11.3?

May 1, 2011

I have made two source files named as sum.c and average.cI have included sum.c in average.c
both files in Documents directory.when i compile average.ot followingerror"average.c:4:22: fatal error: sum.c: No such file or directorycompilation terminated.How to solve this issue?I have tried to copy sum.c to usrinclude folder but unable to copy

View 8 Replies View Related

Ubuntu Networking :: NFS Server Exporting NTFS Partition Giving Stale File Error?

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

Programming :: Form To Submit Csv File To Handle?

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

OpenSUSE :: Gnome 3- File Manager Handle The Desktop?

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

Debian Configuration :: Index.php File DOWNLOADS Instead Of Displaying

Aug 15, 2010

I am running debian lenny running apache (latest) i am trying to make a webserver. i put the index.html file in my www folder. it shows up when i go to my site (localhost) i put an index.php file in my www folder and when i try to go to my site it Downloads the index.php file instead of showing it.

View 2 Replies View Related

Ubuntu Installation :: File Not Found Just Before Displaying Grub

Apr 30, 2010

Just before the computer boots into the grub menu, I noticed a message on the prompt saying that a file was not found. I had reinstalled Ubuntu 10.04 prior to this. Maybe the grub was not configured properly but I don't know how to fix or find the missing file. I also noticed that I don't have /boot/grub/grub.cfg.

View 3 Replies View Related

Ubuntu :: Displaying A Text File Dynamically On My Desktop - Conky ?

Nov 1, 2010

I use the awesome todo.txt cli tool for my todo list. I want to find a way to display this on my desktop, and have it update every time I update the file. Is there an easy way to do this? Does conky do stuff like this?

View 2 Replies View Related

Ubuntu :: File Names Not Displaying Correctly In Its Chooser When Language Telugu / Fix It?

Aug 3, 2010

Actually i am working on an application in which i want to select the files from a File Chooser where the application language is set to Telugu. But when i want to view the files through the File Chooser, all the names of the files in the system are displaying as boxes. This problem occurs only when i change the language to Telugu.This problem doesn't appear with any other languages. So please direct me towards the solution for this problem.

View 6 Replies View Related

Debian Configuration :: Ifconfig Wasn't Displaying The Same Information That Resides In /etc/network/interfaces File

Aug 14, 2011

i recently started sockets programming. In the process i began to look for relevant network information about my computer and realized that ifconfig wasn't displaying the same information that resides in my /etc/network/interfaces file. On the interfaces file my IP address is 192.168.1.109 for interface eth0 but ifconfig displays 192.168.1.101. I was under the impression that ifconfig got its information from the interfaces file but clearly doesn't. I tried re configuring the device with ifconfig and then disabling and re enabling the device with ifdown and ifup so that the device updated its information but it didn't.

[Code]....

View 3 Replies View Related

General :: RSYNC Error .tar.gz 14gb File / Transfer Huge 14 Gb File Over Network,vpn,wan Transfer?

Mar 10, 2010

i am trying to transfer a file from my live linux machine to remote linux machine it is a mail server and single .tar.gz file include all data. but during transfer it stop working. how can i work and trouble shooot the matter. is there any better way then this to transfer huge 14 gb file over network,vpn,wan transfer. the speed is 1mbps,rest of the file it copy it.

rsync -avz --stats bkup_1.tar.gz root@10.1.1.22:/var/opt/bkup

[root@sa1 logs_os_backup]# less remote.log
Wed Mar 10 09:12:01 AST 2010
building file list ... done
bkup_1.tar.gz
deflate on token returned 0 (87164 bytes left)
rsync error: error in rsync protocol data stream (code 12) at token.c(274)
building file list ... done
code....

View 1 Replies View Related

Debian :: Rsync And Different File Systems ?

Oct 21, 2010

I have 2 different mounts. One points to a local windows share(NTFS ->Samba) and the other one points to a PPTP VPN connection sharing(I belive that is NTFS too). I use "cifs" scheme in my fstab to mount these. And I use my Debian box to copy between these 2 mounts. I have started using Rsync for that purpose, I think that it works fine for now. My main problem is that it looks like Rsync cannot figure out if the files are same or not in source and target folders when I use these mounts. Most of the time Rsync copies the same files and folders over and over again even though those files and folders are on the target.

I am wondering if there is a way to make this scheme work? Being on a Vpn connection(slow) a Windows box, Rsync could have save a lot of my time if it could have recognized the files and folders that are same on both ends

View 4 Replies View Related

Ubuntu :: Rsync Log File With Data?

Jul 1, 2011

I have successfully backed up my files using a script to a remote server with a log file output.However the log file is appended each time.I wish to have a different log file each time with date and time and have yet to figure that part out.

View 2 Replies View Related

CentOS 5 :: Time Changes In Rsync Log File

Mar 18, 2010

I'm running rsync in daemon mode on CentOS 5.4, and I'm seeing inconsistent times reported in the log file.

View 2 Replies View Related

Ubuntu Servers :: Advanced Rsync - Make The Rsync Set Or Keep The User And Group Affiliations?

Nov 17, 2010

Thought I'd post it here because it's more server related than desktop... I have a script that does:

[Code]....

This is used to sync my local development snapshot with the live web server. There has to be a more compact way of doing this? Can I combine some of the rsyncs? Can I make the rsync set or keep the user and group affiliations? Can I exclude .* yet include .htaccess?

View 6 Replies View Related

Ubuntu :: Can't Rsync Gmail / Run Rsync --recursive --times --perms --links --delete?

Jan 7, 2011

When I run rsync --recursive --times --perms --links --delete --exclude-from='Documents/exclude.txt' ./ /media/myusb/

where Documents/exclude.txt is

- /Downloads/
- /Desktop/books/

the files in those directories are still copied onto my USB.

And...

I used fetchmail to download all my gmail emails. When I run rsync -ar --exclude-from='/home/xtheunknown0/Documents/exclude.txt' ./ /media/myusb/ I get the first image at url.

View 9 Replies View Related

Server :: Rsync Execution - With Crontab - Have Given Full Path To Rsync Too

Apr 12, 2011

I have a tiny shell script to rsync files between two servers and remove the source files.

This script works fine, when it has been initiated manually or even when the rsync command is executed on the command line.

But the same script doesn't work, when I try to automate it through crontab.

I am using 'abc' user to execute this rsync, instead of root, as root login to servers are restricted in all of our servers, by us.

As I mentioned earlier, manual execution works like charm!

When this rsync.sh is initiated through crontab, it runs the first command(chown abc.abc ...) perfectly without any issues. But the second line is not at all executed, and there is no log entry i can find at /mnt/xyz/folder/rsync.log.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved