Subject: Re: [vserver] Re: "Stale NFS file handle" error after hard reboot due to power shutdown (I've never used NFS on this server)
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Thu, 20 Jan 2011 17:22:45 +0100

On Thu, Jan 20, 2011 at 03:32:04PM +0100, Stéphane Klein wrote:
> 2011/1/20 Stéphane Klein <klein.stephane@gmail.com>:
> > Hi,

> > after hard reboot due to power shutdown, I've this error when I
> > restart my vserver :

> > intra2:~# vserver resource_vs1 start
> > find: `var/run/apache2/cgisock.13078': Stale NFS file handle
> > chroot-sh: unlink("var/run/apache2/cgisock.13078"): Stale NFS file handle

> > I don't understand, I've never used NFS on this server !

> > How can I fix this error ?

> I don't undestand, now I can restart this vserver instance but I see
> that in syslog :

> EXT3-fs warning (device sda1): ext3_unlink: Deleting nonexistent file
> (15581208), 0

sounds like filesystem corruption, which isn't that unusual
with default filesystem settings and sudden power loss

I'd suggest to fsck the filesystem and then try again ...

HTH,
Herbert

> For information, before magic fixing, I've this :

> ls /var/lib/vservers/resource_vs1/var/run/apache2/ -lha
>  s????????? ? ?    ?       ?            ? cgisock.13078

> Regards,
> Stephane