public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How do I show list of bad blocks on a disk?
@ 2011-03-06 17:07 Nikos Chantziaras
  2011-03-06 17:25 ` Alex Schuster
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2011-03-06 17:07 UTC (permalink / raw
  To: gentoo-user

Before leaving home, I started an fsck.ext4 on a filesystem (500GB) that 
resides on a disk that I suspect is damaged:

   fsck.ext4 -c -c -f /dev/sdb1

When I came back 10 hours later, it was still checking.  After 2 hours 
more (so it took 12 hours total) it finally finished.  The output was:

   e2fsck 1.41.14 (22-Dec-2010)
   Checking for bad blocks (non-destructive read-write test)
   Testing with random pattern: done
   Extra: Updating bad block inode.
   Pass 1: Checking inodes, blocks, and sizes
   Pass 2: Checking directory structure
   Pass 3: Checking directory connectivity
   Pass 4: Checking reference counts
   Pass 5: Checking group summary information

   Extra: ***** FILE SYSTEM WAS MODIFIED *****
   Extra: 11/30531584 files (0.0% non-contiguous),
   1966902/122096638 blocks

I'm not sure how to read this.  Were there any bad blocks or not?  Is 
there a way to query the filesystem for the now known bad blocks?  (The 
"Updating bad block inode." message suggests that such a list is stored 
directly inside the filesystem.)




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-07  6:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-06 17:07 [gentoo-user] How do I show list of bad blocks on a disk? Nikos Chantziaras
2011-03-06 17:25 ` Alex Schuster
2011-03-06 17:51   ` [gentoo-user] " Nikos Chantziaras
2011-03-06 18:14 ` [gentoo-user] " Florian Philipp
2011-03-06 18:44   ` [gentoo-user] " Francesco Talamona
2011-03-07  2:39 ` james
2011-03-07  6:25 ` [gentoo-user] " Thanasis
2011-03-07  6:45   ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox