On 02/25/2011 08:23 AM, Mark Phillips wrote: > I have two disks running in a Debian machine ( Linux version > 2.6.26-1-686 (Debian 2.6.26-13lenny2) (dannf@debian.org > ) (gcc version 4.1.3 20080704 (prerelease) > (Debian 4.1.2-25)) #1 SMP Fri Mar 13 18:08:45 UTC 2009). One disk has > the OS, the other disk has lots of photos and the program gallery3 > (http://gallery.menalto.com/gallery_3_begins) to display them on the > web. The disk controller channel for the photo disk died, but the os > kept on running. I replaced the controller card, and now both drives are > running. However, I am getting some stale NFS file handles on some of > the images on the photo drive. I don't use NFS on this machine, or any > machine on my network. However, the pictures with the stale NFS file > handles do not display when I run gallery. > > How should I fix this problem? Delete and re-install the offending > pictures? Run fsck on the photos drive? Stop taking so many pictures? ;-) > > Thanks! > > Mark > > These are the errors: > > hammerhead:/home/mark# du -hs /backups > du: cannot access `/backups/gallery3/var/resizes/11-01-2010/2010:11:01 > 08:11:50 295.JPG': Stale NFS file handle This is strange - you shouldn't be getting these errors unless you are an NFS client. Double check your /etc/fstab and /etc/exports files. If that doesn't make sense post the output of these two commands to the list: # grep nfs /etc/fstab # egrep -v '^#' /etc/exports