Skip to contentSkip to conversation

removing RAID 1 from a RH 7.1 box

DISCUSSION Trevor Morrison 3 participants 4 messages May 19, 2003 MD RAID

lore
Share & tools
lore
#0 lore raw

HI,

I have a RH 7.1 box with a Software RAID 1 setup. I am trying to upgrade the box to RH 9 using RH upgrade feature. When
I boot the system off the CD-ROM all works well until I try to upgrade. The system tells me that it "cannot find a valid RH installation." It does not see the /dev/md/0 structure. I have tried various boot prompt command, but to no avail. Does
anyone know a way around this?

Or, does any one know how to remove the RAID 1 setup from my system. I followed the example for the the "Software RAID HOWTO" and it worked fine the first time. Now, it looks like I may have to reverse it, but I don't know how.

TIA

--
Trevor Morrison
Hailix, LLC
[email protected]

#1 lore raw
Quoted 4 lines · Trevor Morrison

Or, does any one know how to remove the RAID 1 setup from my system. I followed the example for the the "Software RAID HOWTO" and it worked fine the first time. Now, it looks like I may have to reverse it, but I don't know how.

You should be able to do that, by just doing this:

- Change your partition types from fd back to 83
- Move /etc/raidtab to some other name
- Change lilo back to not using /dev/md/*
- Change /etc/fstab back to not using /dev/md/*
- Reboot

Signature · 9 lines
Mads Peter Bach
Systemadministrator,  Det Humanistiske Fakultet, Aalborg Universitet
Kroghstræde 3 - 5.111, DK-9220 Aalborg Øst - (+45) 96358062
# whois [email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

Thanks for the info, but I have a problem of when I fdisk /dev/sda1 and go to print the table nothing shows up, so I cannot change the partition type. I can easily change the swap partition type. The entire disk is mounted under /dev/md0. What am I doing wrong? Note: I have also tried to so this same procedure by booting into linux single and also from the RH 9 rescue mode. I still get the same result.

Thanks again,

Trevor

Quoted 19 lines · Mads Peter Bach
Quoted 4 lines · Trevor Morrison

Or, does any one know how to remove the RAID 1 setup from my system. I followed the example for the the "Software RAID HOWTO" and it worked fine the first time. Now, it looks like I may have to reverse it, but I don't know how.

You should be able to do that, by just doing this:

- Change your partition types from fd back to 83
- Move /etc/raidtab to some other name
- Change lilo back to not using /dev/md/*
- Change /etc/fstab back to not using /dev/md/*
- Reboot

--
Mads Peter Bach
Systemadministrator, Det Humanistiske Fakultet, Aalborg Universitet Kroghstræde 3 - 5.111, DK-9220 Aalborg Øst - (+45) 96358062

Quoted 6 lines
# whois [email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Trevor Morrison
Hailix, LLC
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Hi Trevor.

Quoted 3 lines

Thanks for the info, but I have a problem of when I fdisk /dev/sda1 and go to print the table nothing shows up, so I cannot change the partition type.

You apply fdisk to /dev/sda and not /dev/sda1 if that helps...

Best wishes from Riley.
---
* Nothing as pretty as a smile, nothing as ugly as a frown.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.481 / Virus Database: 277 - Release Date: 13-May-2003