LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-15-2013, 04:26 PM   #1
Chris E
Member
 
Registered: Jun 2008
Location: Berkshire, UK.
Distribution: CentOS
Posts: 31

Rep: Reputation: 2
How to remove raid metadata?


Hi all

Normally when I have a drive which contains raid metadata e.g. from fakeraid or a hardware raid card I can get rid of it with:

dmraid -r -E /dev/sdX

Or if that doesnt work, doing a simple dd if=/dev/zero of=/dev/sdX normally works

But I have 4 WD RE4 drives here and neither option seems to work. dmraid just gives me a CRC error when it reads the drive. I know the drives are fine and theyve been checked with smart + WD diagnostics.

When I try to install CentoS 5 or CentOS 6 it complains about the metadata on the drives.

The actual error on dmraid is:
Quote:
ddf1: physical drives with CRC 5CD0C0DB, expected FFFFFFFF on /dev/sda
ERROR: ddf1: Cannot find physical drive description on /dev/sda!
ERROR ddf1: setting up RAID device /dev/sad
nor aid disks and with names: "/dev/sda"
Gives the same CRC error for all disks so clearly something strange the raid controller did

Any suggestions?

Thanks
 
Old 03-15-2013, 04:56 PM   #2
brak44
Member
 
Registered: Aug 2010
Location: Brisbane Australia
Distribution: Centos, Fedora
Posts: 87

Rep: Reputation: 24
Ensure that there are no active raid devices then use the zero-superblock option for each of the devices.
example
mdadm --stop /dev/md0
mdadm --zero-superblock /dev/sda1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mdadm RAID 5 degradated array not mountable. Metadata lost? ^andrea^ Linux - Hardware 4 09-23-2012 07:02 AM
how to remove disk partition metadata for /dev/mapper/ddf1_* duderonomy Linux - Hardware 2 03-09-2012 03:22 PM
Changing the metadata format of a RAID-0 mdadm drive towheedm Linux - Desktop 0 10-31-2011 01:08 PM
raid array metadata info (mdadm) suhas! Linux - Server 2 02-18-2011 04:26 AM
RAID Fails / Complains About Metadata carlosinfl Linux - Server 1 08-30-2010 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration