Professional Web Applications Themes

Bad Block on 4.5 - FreeBSD

Hello! First of all, I'm not subscribed to this list, so if you choose to respond, please CC this address. I have a 4.5 box with SCSI disks. It hung just now and on reboot it came up in single-user mode. fsck is ing about block 2144 on the root filesystem and is unable to repair it. Is there any way to get around this? All data is backed up on tape. The man pages for fsck and fsdb did not reveal anything obvious (to me) and all of the articles that I was able to find on Google are ...

  1. #1

    Default Bad Block on 4.5

    Hello!

    First of all, I'm not subscribed to this list, so if you choose to
    respond, please CC this address.

    I have a 4.5 box with SCSI disks. It hung just now and on reboot it came
    up in single-user mode. fsck is ing about block 2144 on the root
    filesystem and is unable to repair it.

    Is there any way to get around this? All data is backed up on tape.

    The man pages for fsck and fsdb did not reveal anything obvious (to me)
    and all of the articles that I was able to find on Google are for ext2fs.

    Thanks!
    Scott

    Scott Guest

  2. #2

    Default Re: Bad Block on 4.5

    Scott Rothgaber <tv> writes:
     

    If the drive has reallocation enabled already, you need to buy a new
    disk. If it doesn't, though, enabling it may be all you need to do.
    The "What do I do when I have bad blocks on my hard drive?" entry in
    the FreeBSD FAQ will explain this for you:
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#AWRE

    --
    Lowell Gilbert, embedded/networking software engineer, Boston area
    http://be-well.ilk.org/~lowell/
    Lowell Guest

  3. #3

    Default Re: Bad Block on 4.5

    On Mon, Mar 28, 2005 at 04:12:55PM -0500, Lowell Gilbert wrote: 

    "Yeah but..." I think both SCSI and ATA will reallocate a block which
    the controller *detects* is going bad early enough to copy the data from
    old to new. But if the block suddenly goes bad when reading the wrongest
    answer from the drive would be a block of null data. The drive responds
    with error, without reallocating the bad block, and if the OS can't
    recover everything comes to a halt for the operator to manually force a
    replacement block to be allocated knowning full well that a file has
    been corrupted.

    That is something that would be nice for FreeBSD, that if the drive
    reported absolutely that there was a problem with a bad block then the
    OS would automagically associate the problem block with a file, salvage
    what it could of the file and park it somewhere such as lost+found,
    instruct the HD to make its repair, and log the event by way of the
    usual means. "File /home/user/dummydata.txt lost 512 bytes at offset
    65536 due to disk media error and has been moved to /home/lost+found."

    I've been fortunate over the past many years that I have not had more
    drive problems. The past 4 months 2 of my 10 HD's exhibited such a
    problem. One was an old 1st generation IBM ATA-100 15G drive. The other
    was a fairly new Hitachi SATA drive. Both seem to be working fine once
    the IBM/Hitachi utility was used to rescan and clear the error.

    --
    David Kelly N4HHE, net
    ================================================== ======================
    Whom computers would destroy, they must first drive mad.
    David Guest

Similar Threads

  1. IP Block
    By Med Marijuana in forum Macromedia Dynamic HTML
    Replies: 7
    Last Post: April 30th, 05:33 PM
  2. block specified ip
    By R C P in forum Web Design
    Replies: 1
    Last Post: December 26th, 02:21 PM
  3. how to block Messenger ?
    By L in forum Windows Setup, Administration & Security
    Replies: 3
    Last Post: July 7th, 03:45 AM
  4. Replies: 0
    Last Post: January 8th, 08:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139