How to fix “disk contains BIOS metadata error” Print

  • 1

Reuse hard disk from another server may receive error "Disk contains BIOS metadata, but is not part of any recognized BIOS RAID sets. Ignoring disk sdb". The reason is due to previous RAID metadata or config still stored in the hard disk.

Symptom / problem: OS unable to detect /dev/sdb hard disk. 

Solution 1:
dmraid -r -E /dev/sdb
Do you really want to erase "pdc" ondisk metadata on /dev/sda ? [y/n] :
y


If the above solution doesn't fix, proceed with Solution 2

Solution 2:

- To check block info
cat /proc/partitions |grep -i sdb
8    16    125034840 sdb

- To reconfirm block number is correct:
fdisk -s /dev/sdb
125034840

- To overwrite 1st 1KB
dd if=/dev/zero of=/dev/sda bs=1k count=1


- To overwrite the last 1KB 
dd if=/dev/zero of=dev/sda bs=1k seek=125034838





Was this answer helpful?

« Back