Re: Remove HW RAID /dev/dm-0 device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 01, 2008 at 10:37:48AM -0500, Jack Palmadesso wrote:
> Yesterday I set up a Promise hw raid controller in my FC8_64 system. I ended
> up returning it but before I removed it I initialized 2 drives into a RAID0
> setup. Now that the controller is gone my system is complaining about
> /dev/mapper. I ended up clearing this by booting into rescue and
> initializing the 2 drives I had setup with the controller. The system is
> happy again but when I do an fdisk -l I still show a /dev/dm-0 device. My
> question is how can I initialize the drives without booting to rescue mode ?
> And how can I get rid of the /dev/dm-0 device ?
> 
> dmraid still shows the 2 devices. I've initialized and formatted both but it
> won't go away.
> # dmraid -r
> ERROR: asr: Invalid magic number in RAID table; saw 0x0, expected 0x900765C4
> on /dev/sda
> /dev/sdb: pdc, "pdc_bicfbbcgbh", stripe, ok, 312450720 sectors, data@ 0
> /dev/sdd: pdc, "pdc_bicfbbcgbh", stripe, ok, 312450720 sectors, data@ 0

See dmraid manual:

dmraid -rD /dev/ad[bd]

> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/ataraid-list

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Storage Development                               56242 Marienrachdorf
                                                  Germany
Mauelshagen@xxxxxxxxxx                            PHONE +49  171 7803392
                                                  FAX   +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
Ataraid-list mailing list
Ataraid-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ataraid-list

[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux