lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 28 Nov 2012 16:15:55 -0500
From:	Theodore Ts'o <tytso@....edu>
To:	Adam Huffman <adam.huffman@...il.com>
Cc:	linux-ext4 <linux-ext4@...r.kernel.org>
Subject: Re: Filesystem corruption on Fedora 17

On Wed, Nov 28, 2012 at 06:16:40PM +0000, Adam Huffman wrote:
> > Can you send me a copy of the output of:
> >
> > debugfs -w /dev/XXXX
> > debugfs: stat <4122234>
> 
> debugfs:  stat 4122234
> 4122234: File not found by ext2_lookup

You need the angle brackets.  A number in angle brackets is
interpreted as an inode number.  Without the angle brackets then
debugfs tries to do a lookup in the debugfs's current working directory.

> As I said in the other reply, I was able to mount the image in the
> end.  Perhaps one of those fsck invocations made a difference, even
> though the same error appeared each time?

Well, if e2fsck doesn't fix a corruption in a single pass, barring
hardware failures, it's a bug in e2fsck by definition (at least in my
book).  If the same error is appearing each time, that doesn't mean
that the file system can't be mounted.  Unless you actually try to
reference the corrupted inode in question, you might never know about
the corruption.

You can use the ncheck command in debugfs if you want to map an inode
number to a pathname.  ("ncheck 4122234" --- no angle brackets since
ncheck only takes inode numbers and maps them to pathnames, just as
icheck takes block numbers and maps them to inode numbers).

       	     	   	       	    	 - Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ