On Thu, 2010-10-14 at 10:54 -0400, Bhaskar, K.S wrote:
> I searched the archives, and found only one meaningful thread.  In that 
> case, the user of the file system planned to reformat the partition.  In 
> my case, I want to recover the partition and continue using it.
> 
> The jfs partition in question is the root partition of a Linux machine 
> that took a hard power down.  When I booted that partition, networking 
> didn't work, and I determined the problem to be a State NFS file handle 
> error with /etc/resolv.conf.  I was unable to delete the file, and 
> without /etc/resolv.conf, Linux (64-bit Ubuntu 10.04.1 LTS current with 
> patches) couldn't start networking.  The information below is with the 
> machine booted from an alternate partition, also 64-bit Ubuntu 10.04.1 
> LTS with jfsutils version 1.1.12-2.1 and the standard Linux kernel 
> 2.6.32-25 from the distro.
> 
> Thanks in advance for any and all help.

-ESTALE probably isn't the best choice for an error code, since the
problem has nothing to do with NFS.

Anyway, I would suggest backing up the filesystem, just to be safe, then
running "fsck -t jfs -f /dev/sda4".  Without the -f, fsck sees that the
filesystem is marked clean and doesn't actually look for or correct any
errors.

Shaggy
-- 
Dave Kleikamp
IBM Linux Technology Center


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to