#8 dump and bad blocks

closed-out-of-date
None
5
2002-02-21
2001-12-19
No

I am receiving a sense key medium error in my log each
night when dump runs. I know there is a bad block
marked on the disk.

Does dump honour blocks marked as bad and ignore them?

(I am having trouble figuring out how to translate
sector 2670056 to a block to see if it is the same as
block 333757)

Thank you,
Lauren.

Discussion

  • Stelian Pop

    Stelian Pop - 2001-12-21
    • assigned_to: nobody --> stelian
     
  • Stelian Pop

    Stelian Pop - 2001-12-21

    Logged In: YES
    user_id=5513

    Dump doesn't read all the blocks on a filesystem: for each
    inode in the filesystem, it finds out the list of blocks
    used by the inode (call to e2fsprogs library function
    ext2fs_block_iterate2), then it reads each block
    with simple C library lseek/read.

    If your filesystem has the knowledge about the bad blocks
    (mke2fs + badblocks), dump shouldn't touch these blocks.

    Stelian.

     
  • Stelian Pop

    Stelian Pop - 2002-02-21

    Logged In: YES
    user_id=5513

    Closed due to lack of feedback.

    Stelian.

     
  • Stelian Pop

    Stelian Pop - 2002-02-21
    • status: open --> closed-out-of-date
     
  • Stelian Pop

    Stelian Pop - 2002-02-21

    Logged In: YES
    user_id=5513

    Closed due to lack of feedback.

    Stelian.

     

Log in to post a comment.