PC Review


Reply
Thread Tools Rate Thread

Possible to delete RAID metadata from hard drives?

 
 
Howard Griffin
Guest
Posts: n/a
 
      27th Feb 2006
Is there any way to remove/delete/deactivate RAID metadata (aka
"signatures") from my hard drives? A long time ago I had the drives in
a RAID set, but quickly reconsidered and decided to use them as
independent drives. My disaster-recovery CD (for restoration of a
disk image) boots into SuSE Linux (with DMRAID) and insists on seeing
the two drives as a RAID set because of the metadata present on them.
Thus, the disaster-recovery CD is useless. I want to remove the
metadata from these drives so the recovery CD will see them as
separate drives. I have gone into the SATA/RAID BIOS for my Silicon
Image 3112 controller, but it reports that no RAID sets exist and that
there are no conflicts to resolve. Can anyone advise? Would the
DMRAID tool allow me to deactivate the metadata? Many thanks.
 
Reply With Quote
 
 
 
 
Arno Wagner
Guest
Posts: n/a
 
      27th Feb 2006
Previously Howard Griffin <(E-Mail Removed)> wrote:
> Is there any way to remove/delete/deactivate RAID metadata (aka
> "signatures") from my hard drives? A long time ago I had the drives in
> a RAID set, but quickly reconsidered and decided to use them as
> independent drives. My disaster-recovery CD (for restoration of a
> disk image) boots into SuSE Linux (with DMRAID) and insists on seeing
> the two drives as a RAID set because of the metadata present on them.
> Thus, the disaster-recovery CD is useless. I want to remove the
> metadata from these drives so the recovery CD will see them as
> separate drives. I have gone into the SATA/RAID BIOS for my Silicon
> Image 3112 controller, but it reports that no RAID sets exist and that
> there are no conflicts to resolve. Can anyone advise? Would the
> DMRAID tool allow me to deactivate the metadata? Many thanks.


Complete disk/parition blanking under Linux:

cat /dev/zero > /dev/hd<target> (or /dev/sd<target> for SCSI/SATA)

or with comfortable progress output

dd_rescue -w /dev/zero /dev/hd<target> (see above)

This will remove any data from the drive, including the
matadata. If this is Linux software RAID, you can speed things
up by overwtriting only the last MBs of the raid devices
(drive or partition), since the dm stores the RAID superblock
there. Use option -S <size - 100MB, e.g.> of dd_rescue. I don't
know whether SuSe has dd_rescue, but Knoppix does.

Arno
 
Reply With Quote
 
Howard Griffin
Guest
Posts: n/a
 
      27th Feb 2006
So, I guess there's no way to do this non-destructively, correct?

On 27 Feb 2006 17:37:44 GMT, Arno Wagner <(E-Mail Removed)> wrote:

>Previously Howard Griffin <(E-Mail Removed)> wrote:
>> Is there any way to remove/delete/deactivate RAID metadata (aka
>> "signatures") from my hard drives? A long time ago I had the drives in
>> a RAID set, but quickly reconsidered and decided to use them as
>> independent drives. My disaster-recovery CD (for restoration of a
>> disk image) boots into SuSE Linux (with DMRAID) and insists on seeing
>> the two drives as a RAID set because of the metadata present on them.
>> Thus, the disaster-recovery CD is useless. I want to remove the
>> metadata from these drives so the recovery CD will see them as
>> separate drives. I have gone into the SATA/RAID BIOS for my Silicon
>> Image 3112 controller, but it reports that no RAID sets exist and that
>> there are no conflicts to resolve. Can anyone advise? Would the
>> DMRAID tool allow me to deactivate the metadata? Many thanks.

>
>Complete disk/parition blanking under Linux:
>
> cat /dev/zero > /dev/hd<target> (or /dev/sd<target> for SCSI/SATA)
>
>or with comfortable progress output
>
> dd_rescue -w /dev/zero /dev/hd<target> (see above)
>
>This will remove any data from the drive, including the
>matadata. If this is Linux software RAID, you can speed things
>up by overwtriting only the last MBs of the raid devices
>(drive or partition), since the dm stores the RAID superblock
>there. Use option -S <size - 100MB, e.g.> of dd_rescue. I don't
>know whether SuSe has dd_rescue, but Knoppix does.
>
>Arno

 
Reply With Quote
 
Rod Speed
Guest
Posts: n/a
 
      27th Feb 2006
Howard Griffin <(E-Mail Removed)> wrote:

> Is there any way to remove/delete/deactivate RAID metadata (aka
> "signatures") from my hard drives? A long time ago I had the drives
> in a RAID set, but quickly reconsidered and decided to use them as
> independent drives. My disaster-recovery CD (for restoration of a
> disk image) boots into SuSE Linux (with DMRAID) and insists on seeing
> the two drives as a RAID set because of the metadata present on them.
> Thus, the disaster-recovery CD is useless. I want to remove the
> metadata from these drives so the recovery CD will see them as
> separate drives. I have gone into the SATA/RAID BIOS for my Silicon
> Image 3112 controller, but it reports that no RAID sets exist and that
> there are no conflicts to resolve. Can anyone advise? Would the
> DMRAID tool allow me to deactivate the metadata? Many thanks.


You can always wipe the drives with something like clearhdd from
http://www.samsung.com/Products/Hard...s/clearhdd.htm

That writes zeros thru every sector on the drive, so no data survives that.


 
Reply With Quote
 
Arno Wagner
Guest
Posts: n/a
 
      28th Feb 2006
Previously Howard Griffin <(E-Mail Removed)> wrote:
> So, I guess there's no way to do this non-destructively, correct?


Oh, you want to do it nondestructively. Sotty, missed that.
There is. But you need to calculate the position of the
metadata block right and give the correct offset to dd_rescue.
Better avoid that, since it is likely to go wrong on the first
attempt.

You can mount the disks individually by first breaking
the RAID set. Depending on the version of the RAID tools
you have, ''raidstop'' or ''mdadm'' with some option is
what you are looking for. As soon as the raid is stopped,
you can use an ordinary mount to mount the individual
disks or paritions. The next autodetect will assemble the
RAID though.

Another thing that may prevent autodetection is setting the
partition type back from "fb" (raid autodetect) to "82"
(or was it "83"? Don't remember, but is marks an ordinary
Linux parition). This only prevents auto-start/assembly by
the kernel, not by some additonal scripts your partition
may have.

Arno



 
Reply With Quote
 
Arno Wagner
Guest
Posts: n/a
 
      28th Feb 2006
Previously Arno Wagner <(E-Mail Removed)> wrote:
> Previously Howard Griffin <(E-Mail Removed)> wrote:
>> So, I guess there's no way to do this non-destructively, correct?


> Oh, you want to do it nondestructively. Sotty, missed that.
> There is. But you need to calculate the position of the
> metadata block right and give the correct offset to dd_rescue.
> Better avoid that, since it is likely to go wrong on the first
> attempt.


> You can mount the disks individually by first breaking
> the RAID set. Depending on the version of the RAID tools
> you have, ''raidstop'' or ''mdadm'' with some option is
> what you are looking for. As soon as the raid is stopped,
> you can use an ordinary mount to mount the individual
> disks or paritions. The next autodetect will assemble the
> RAID though.


> Another thing that may prevent autodetection is setting the
> partition type back from "fb" (raid autodetect) to "82"
> (or was it "83"? Don't remember, but is marks an ordinary
> Linux parition). This only prevents auto-start/assembly by
> the kernel, not by some additonal scripts your partition
> may have.


I just had a look at the madam man-page. It seems deleting
the metadata is as easy as a
"mdadm --zero-superblock <disk/partition>".
Of course you have to stop the RAID array the disk/partition is
part of first. "mdadm --stop /dev/md<device>" should do that.

Sorry for not spotting this first, I am still a novice user
of the new mdadm tool.

Arno


 
Reply With Quote
 
Mike Tomlinson
Guest
Posts: n/a
 
      1st Mar 2006
In article <(E-Mail Removed)>, Arno Wagner <(E-Mail Removed)>
writes

>Another thing that may prevent autodetection is setting the
>partition type back from "fb" (raid autodetect)


0xfd, actually.

> to "82"
>(or was it "83"?


83. 82 is Linux swap.

--
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

 
Reply With Quote
 
Arno Wagner
Guest
Posts: n/a
 
      2nd Mar 2006
Previously Mike Tomlinson <(E-Mail Removed)> wrote:
> In article <(E-Mail Removed)>, Arno Wagner <(E-Mail Removed)>
> writes


>>Another thing that may prevent autodetection is setting the
>>partition type back from "fb" (raid autodetect)


> 0xfd, actually.


>> to "82"
>>(or was it "83"?


> 83. 82 is Linux swap.


Yes. I allways have to look it up. Fortunately fdisk has the
table build in.

Arno

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID hard drives in new PC without raid: access data? Thumper Windows XP General 4 11th Aug 2007 06:34 PM
3 Hard Drives w/o raid? solrium@gmail.com DIY PC 1 14th Jun 2006 04:45 PM
Tranferring Infromation from IDE hard drives to SATA RAID 1 hard drives Kawipoo Windows XP Hardware 1 29th Mar 2004 02:05 AM
How to install RAID 0 hard drives? sdeyoreo@hotmail.com DIY PC 5 22nd Jan 2004 09:08 PM
Can I use 2 different hard drives on RAID-1? Great Weather Asus Motherboards 1 7th Jul 2003 03:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:42 AM.