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
du: cannot access `/backups/gallery3/var/resizes/11-01-2010/2010:11:01 08:11:48 293.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/resizes/11-01-2010/2010:11:01 08:11:48 290.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/resizes/11-01-2010/2010:11:01 08:13:25 300.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/resizes/11-01-2010/2010:11:01 08:11:48 291.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/thumbs/11-01-2010/2010:11:01 08:11:50 295.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/thumbs/11-01-2010/2010:11:01 08:11:48 293.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/thumbs/11-01-2010/2010:11:01 08:13:31 307.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/thumbs/11-01-2010/2010:11:01 08:11:48 290.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/thumbs/11-01-2010/2010:11:01 08:13:25 300.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/thumbs/11-01-2010/2010:11:01 08:11:48 291.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/albums/11-01-2010/2010:11:01 08:11:50 295.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/albums/11-01-2010/2010:11:01 08:15:00 314.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/albums/11-01-2010/2010:11:01 08:11:48 293.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/albums/11-01-2010/2010:11:01 08:13:31 307.JPG': Stale NFS file handle
du: cannot access `/backups/gallery3/var/albums/11-01-2010/2010:11:01 08:13:25 300.JPG': Stale NFS file handle
131G /backups