Solution to Disk sda contains bios raid metadata

Source: Internet
Author: User

When centos 6.2 is installed today, when the hard Disk is detected, the following error is reported: Disk sda contains bios raid metadata, but is not part of any recognized bios raid sets. ignoring disk sda

This situation is similar in ubuntu and suse, but the prompts are not the same.


Sometimes sda or sdb.

I think this hard disk was raid and I don't recognize it now. What to do.

Search online. Http://www.ithov.com/linux/112030.shtml

When you enter the installation selection menu

Press the TAB key to ENTER the command line mode of Linux. Then add nodmraid after the command line is started (note that a space is added before) and press ENTER.

Next, you will find the hard disk in the installation process.

The nodmraid command is to disable the array.

This method can be used to install the system. However, you must set this method every time you reinstall the system. How to completely solve the problem.

Http://kezhong.wordpress.com/2011/06/14/how-to-remove-bios-raid-metadata-from-disk-on-fedora/

I tried in emergency mode

Dmraid-r-E/dev/sdb

But an error is reported.

It seems that we can only wait for the next week to put the hard disk on another machine to see how it works. Subsequent Updates.

On October 11, July 9, I started to handle the problem immediately after I went to work. Place the hard disk on another machine

# dmraid -rE /dev/sdbno raid disks and with names: "/dev/sdb"


No. If you search online, a friend will give you a simpler way to use parted

# parted /dev/sdb --script mklabel gpt# parted /dev/sdb --script -- mkpart primary 0 -1Warning: The resulting partition is not properly aligned for best performance.# parted /dev/sdb --script printModel: ATA TOSHIBA MK1002TS (scsi)Disk /dev/sdb: 1000GBSector size (logical/physical): 512B/512BPartition Table: gptNumber  Start   End     Size    File system  Name     Flags 1      17.4kB  1000GB  1000GB               primary

After the processing, put it back to the original machine, and there was no problem. The system was successfully installed.

If so, run parted in emergency mode.


Thank you, http://bbs.518z.net/read-htm-tid-2614.html.

If not, the last trick is DD.

dd if=/dev/null of=/dev/sda bs=512 count=1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.