dslreports logo
Search similar:


uniqs
13245

mattrixx
join:2004-02-18
Orland Park, IL

mattrixx

Member

Removing a RAID 0 config

I have TWO 64GB SSDs set up in a RAID 0 Win7 config that I want to remove entirely. I would like to re purpose each of these SSDs for use elsewhere on different systems.
Is there anything I need to do to these drives or in the BIOS in preparation before removing the drives?

I would like to use one of these 64GB SSD in an older laptop of mine along with Linux MINT 15.
Would I necessarily have a problem installing the drive as is, that is one half of a RAID 0, and just installing MINT to it? Or do I need to somehow UNDO the existing RAID 0 before hand on the original system?

Octavean
MVM
join:2001-03-31
New York, NY

Octavean

MVM

I haven't had to retire a RAID array all that many time but I believe you would simply enter the utility you used to creat the array and then delete the array. Then go into the BIOS to reset from RAID to IDE or whatever.
s_becker
join:2013-04-05

s_becker to mattrixx

Member

to mattrixx
For the disks themselves it's quite simple. They don't know they are in a raid. Remove the disk, plug it in the laptop and install the OS.

If the other disk shall stay in the PC, keep the disk and change the controller setting from raid to IDE as Octavean already explained.

koitsu
MVM
join:2002-07-16
Mountain View, CA
Netgear CM1000
Ubiquiti EdgeRouter X SFP
Ubiquiti Unifi UAP-AC-LITE

koitsu to mattrixx

MVM

to mattrixx
Octavean 's advice is best, but you can accomplish the same thing by zeroing the first and last 1MB of the drives (when inserted into a machine with RAID not enabled) to erase/nuke the RAID configuration metadata. I'm assuming you're using BIOS-level RAID (i.e. Intel ICHxx RAID, or AMD/ATI RAID).

mattrixx
join:2004-02-18
Orland Park, IL

mattrixx

Member

What`s the best way to accomplish "zeroing the first and last 1MB of the drives"?
Wouldn't installing an O.S. to the drive be sufficient enough for my re-purpose of the SSD?

koitsu
MVM
join:2002-07-16
Mountain View, CA
Netgear CM1000
Ubiquiti EdgeRouter X SFP
Ubiquiti Unifi UAP-AC-LITE

koitsu

MVM

1. There are many methods:

i) Use the existing RAID controller's interface to remove the drives from an array configuration. Most controllers will tell you that by doing so you risk losing the contents of the array (because the controller will zero/nuke the metadata), which is what you want.

ii) Since these are SSDs, the next easiest way is to issue a Secure Erase (see Google).

iii) Use a tool like dd for Win32 with proper oseek and count=1 arguments to match the start and end of the drive along with bs=1m. You do not want to zero the entire drive (the equivalent of a "full format", e.g. writing zeros to every LBA) -- doing this will greatly hinder/hurt the performance of the SSD. You only want to zero what needs to be zeroed.

2. If you do not remove the metadata properly from the drives, you risk issues if the drives are ever put into a system in the future which has RAID support (no matter if its the same controller or not). Many RAID controllers stick their metadata at the end of the drive (not the start -- which is where the GPT and/or MBR would generally go, hence why you would think "installing an OS would be enough") and then use the ATA command SET MAX ADDRESS EXT to decrease the advertised capacity of the underlying drive (so that the last 1MByte of the drive can never be accessed when RAID is in use -- otherwise you'd risk touching/overwriting the metadata itself).

If the RAID methodology was Linux md (e.g. Linux's software RAID), mdadm --zero-superblock will erase the metadata from a drive. Reference: »en.wikipedia.org/wiki/Md ··· an_array

What solution, method, or even doing any of this at all is up to you to decide -- you can choose to ignore the advice given or you can do it. You asked is there anything you should do, and the answer you'll get from me is "yes, you need to nuke the RAID metadata".

mattrixx
join:2004-02-18
Orland Park, IL

mattrixx

Member

OK Thanks.

I entered my Asus P8 Z68-V PRO MB`s "Intel Rapid Storage Technology Option ROM Utility" (RAID Utility) by pressing "CTRL" + "I" .
Here I saw these choices: 1. Create RAID Volume 2. Delete RAID Volume 3. Reset Disks to Non-RAID 4. Recovery Volume Options 5. Acceleration Options 6. Exit
I selected #2. Delete RAID Volume. After accepting all the warnings that it would destroy any data I exited, and after the reboot entered the BIOS under: Advanced Settings / SATA Configuration / SATA Mode, where I changed my "ARAID" from RAID to AHCI and Re-Booted to (in this case) my former "Dual Boot" MINT12 O.S.

I`m assuming I`m good to go now removing these two 64GB SSDs and using them in other systems for other purposes?

koitsu
MVM
join:2002-07-16
Mountain View, CA
Netgear CM1000
Ubiquiti EdgeRouter X SFP
Ubiquiti Unifi UAP-AC-LITE

koitsu

MVM

Ah, wonderfully vague options.

I believe the option you wanted was #3. The wording implies it removes metadata from the start or end of the disks.

I get the impression #2 doesn't actually do that -- it simply updates the metadata to say "these drives are not part of any array", but the metadata remains. But I cannot be sure. I am surprised that option #2 did not ask you if you wanted to reset the disks to non-RAID. Yes, there is a way to verify such, but it involves use of a hex editor that can open raw disks, such as HxD, and deep technical familiarity with the Intel RST/MatrixRAID metadata format (otherwise you won't know what bytes mean what).

This situation/question has come up before on the Internet, where you'll see the author of the last post says the same thing I do. This whole dilemma is caused by lack of precise, thorough documentation on the part of both Intel and motherboard manufacturers, and a perfect example of why storage is so misunderstood. :/

I would re-enable RAID mode in your BIOS or UEFI, go into the RAID option ROM, and select option #3 for each SSD which was previously part of a RAID array. After doing that, you can disable RAID mode in your BIOS or UEFI, and rest assured that the metadata is gone.

mattrixx
join:2004-02-18
Orland Park, IL

mattrixx

Member

Too Late!
After entering the UEFI /BIOS and first re-enabling "RAID", saving and rebooting into the "RAID option ROM", I attempted to "Reset Disks to Non-Raid" (#3 option). This brought up an ERROR message stating "There are no RAID disks that can be reset". All the drives below under Disk/Volume Information under "RAID Volumes" indicates "None defined".
ALL the listed drives including my two 64GB SSDs are labeled "non-RAID Disk".

I hope this "metadata" issue wont matter when I re-purpose these two 64GB SSDs?

koitsu
MVM
join:2002-07-16
Mountain View, CA
Netgear CM1000
Ubiquiti EdgeRouter X SFP
Ubiquiti Unifi UAP-AC-LITE

koitsu

MVM

said by mattrixx:

Too Late!
After entering the UEFI /BIOS and first re-enabling "RAID", saving and rebooting into the "RAID option ROM", I attempted to "Reset Disks to Non-Raid" (#3 option). This brought up an ERROR message stating "There are no RAID disks that can be reset". All the drives below under Disk/Volume Information under "RAID Volumes" indicates "None defined".
ALL the listed drives including my two 64GB SSDs are labeled "non-RAID Disk".

I hope this "metadata" issue wont matter when I re-purpose these two 64GB SSDs?

Ah, so it seems that option #3 is only valid while the disks are part of a defined array. Cute (broken) design *rolls eyes*. You could have temporarily made an array out of both the drives and then did option #3 on both, but if you don't want to bother that's fine too.

For your latter question: please see Item 2 in my post above as I covered what the impact may be.