This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:storage:raid_metadata_removal [2015/06/23 16:21] gcooper |
computing:storage:raid_metadata_removal [2019/10/25 10:19] (current) gcooper |
||
---|---|---|---|
Line 5: | Line 5: | ||
http:// | http:// | ||
- | If you are reusing disk drives that were once members of a RAID array, you should remove the RAID metadata from the disk drives first. | + | If you are **reusing disk drives that were once members of a RAID array**, you should |
<note warning> | <note warning> | ||
Line 26: | Line 26: | ||
< | < | ||
mdadm --zero-superblock /dev/sdx | mdadm --zero-superblock /dev/sdx | ||
+ | </ | ||
+ | |||
+ | or: | ||
+ | |||
+ | < | ||
+ | dmraid -r -E /dev/sdx | ||
+ | </ | ||
+ | |||
+ | or: | ||
+ | |||
+ | < | ||
+ | dd if=/ | ||
</ | </ | ||
Then verify: | Then verify: | ||
+ | |||
+ | :!: You may need to **reboot**! | ||
< | < | ||
dmraid -r | dmraid -r | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | < | ||
+ | mdadm --detail --scan --verbose | ||
</ | </ | ||