[plug] re; bad block on disk
acooks at gmail.com
Wed Jun 6 10:30:30 WST 2012
Here's 8 steps I would take.
1. Add a working drive with sufficient free space to store everything
on the failing drive. Use a drive with enough space for two copies if
you can - one to try recovery tools on and a backup for when both the
recovery tool and the drive fail catastrophically.
2. Boot from a livecd of some sort and note the new device names. I'll
assume the bad drive is called /dev/sdb and a data partition called
3. Mount the working drive under /mnt.
4. Use 'dd' to copy each partition that you need to recover to a new
file in /mnt/, using something like:
dd if=/dev/sdb1 of=/mnt/recover_sdb1 conv=noerror bs=1024k
5. make another copy if you have space.
6. While dd is running, read the reiserfsck man page again.
7. When dd is done, run reiserfsck on one of the new files.
8. Post progress, experience or questions to plug.
On Wed, Jun 6, 2012 at 9:38 AM, JonL <jonl711 at hotmail.com> wrote:
> That is exactly what I want to do, however I guess my question would be is
> it possible to copy all the data off of this drive/partition? if I can get
> the bad blocked marked and moved and the drive comes back up I would move
> all important files off of it and re-install on a new disk.
> From: "Leon Wright" <techman83 at gmail.com>
> Sent: Wednesday, June 06, 2012 9:23 AM
> To: <plug at plug.org.au>
> Subject: Re: [plug] re; bad block on disk
>> On Wed, Jun 6, 2012 at 8:34 AM, JonL <jonl711 at hotmail.com> wrote:
>>> Morning all,
>>> I have a problem on a drive in my main server and now the server does not
>>> boot up. The drive has a bad block and i was wondering if there are any
>>> tools I can run to move this block.
>>> What I've done so far:
>>> I've run reiserfsck to check the drive partition, its a reiserfs file
>>> (reiserfsch -CV /dev/sda2;
>>> I've run the SuSE installation and selected repair system to try to fix
>>> I've done all the steps up to step 5 on the following document
>>> some reason it keeps stating that it has a bad starting block.
>> I tend to go with the theory that if a drive is beginning to show
>> errors, it's not worth trying to repair it as it will die properly in
>> the not too distant future. Get a new disk, re-install and move your
>> files across. That would be my advice regardless of platform.
>> PLUG discussion list: plug at plug.org.au
>> Committee e-mail: committee at plug.org.au
>> PLUG Membership: http://www.plug.org.au/membership
> PLUG discussion list: plug at plug.org.au
> Committee e-mail: committee at plug.org.au
> PLUG Membership: http://www.plug.org.au/membership
More information about the plug