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.

Regards
-- Bhaskar

-- 
GT.M - Rock solid. Lightning fast. Secure. No compromises.

--------------------------------------------------
$ sudo fsck -t jfs /dev/sda4
[sudo] password for gtmuser:
fsck from util-linux-ng 2.17.2
fsck.jfs version 1.1.12, 24-Aug-2007
processing started: 10/14/2010 9.52.50
Using default parameter: -p
The current device is:  /dev/sda4
Block size in bytes:  4096
Filesystem size in blocks:  4884224
**Phase 0 - Replay Journal Log
Filesystem is clean.
$ sudo mount /dev/sda4 /spare
$ ls -l /spare/etc/resolv.conf
ls: cannot access /spare/etc/resolv.conf: Stale NFS file handle
$ ls -l /spare/etc
ls: cannot access /spare/etc/resolv.conf: Stale NFS file handle
total 1116
-rw-r--r--  1 root  root       15070 2008-04-08 08:33 a2ps.cfg

<...snip ...>

-rw-r--r--  1 root  root        1586 2009-11-05 03:47 request-key.conf
drwxr-xr-x  3 root  root           8 2010-08-16 06:01 resolvconf
??????????  ? ?     ?              ?                ? resolv.conf
-rw-r--r--  1 root  root          24 2010-10-14 07:30 
resolv.conf.dhclient-new
-rwxr-xr-x  1 root  root         268 2009-11-09 17:51 rmt

<...snip ...>

--------------------------------------------------

_____________

The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
_____________

------------------------------------------------------------------------------
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