Find the below simple steps.
[1]Install mdadm to verify disks.
[3]Erase RAID metadata with mdadm like follows.
- If your disk has RAID metadata that it is impossible to erase with common ways but you'd like to erase it to use the disk with no RAID.
- Then attach the disk to another mashine that Linux is installed and boot it first.
- Next erase RAID metadata with the following way.
[1]Install mdadm to verify disks.
[root@test ~]#
yum -y install mdadm dmraid
|
[2]If your disk has RAID metadata, following result is shown.
The example below, it shows there is RAID metadata at 124914352 sector on /dev/sdb.
[root@test ~]#
dmraid -r
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 124914352 sectors, data@ 0 |
[root@test ~]#
mdadm --zero-superblock /dev/sdb
[root@test ~]#
dmraid -r
no raid disks and with names: "/dev/sdb" |
[4]If it's impossible to erase with the way of [3],
overwrite with dd command like follows.
[root@test ~]#
dd if=/dev/zero of=/dev/sdb bs=512 seek=124914352
[root@test ~]#
dmraid -r
no raid disks and with names: "/dev/sdb" |
No comments:
Post a Comment