Need Help to Fix Stale NFS File Handle

Mark Phillips mark at phillipsmarketing.biz
Fri Feb 25 09:32:27 MST 2011


On Fri, Feb 25, 2011 at 8:28 AM, Jason Holtzapple <ml at bitflip.net> wrote:

> 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 at debian.org
> > <mailto:dannf at 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
>

hammerhead:/home/mark# grep nfs /etc/fstab
hammerhead:/home/mark#
hammerhead:/home/mark# egrep -v '^#' /etc/exports
/home/mark/vmware    192.168.25.0/255.255.255.0(rw)
hammerhead:/home/mark#

Hmmm.....I must have experimented with vmware at one time on this computer.
No need for it now.

Mark

>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20110225/627fb696/attachment.html>


More information about the PLUG-discuss mailing list