You are not logged in.

#1 2011-08-03 09:27:40

fettouhi
Member
Registered: 2007-05-07
Posts: 745

[SOLVED] HELP: Can't partition drives

I'm doing a fresh install of my machine. I was running fakeRAID before and now I want to switch software RAID. But everytime I try to run cfdisk /dev/sda I get an error saying "FATAL ERROR: Bad primary partition 2: Partition ends after end-of-disk. press any key exit cfdisk". How do I remove the old RAID or deactivate it. I turned it of in the BIOS.

Last edited by fettouhi (2011-08-04 06:20:52)

Offline

#2 2011-08-03 09:44:04

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: [SOLVED] HELP: Can't partition drives

cfdisk -z /dev/sda ..try this one the  " -z" means zero MBR ,and re-partition you're hdd or save it 'blanc' and do the 'arch-setup'

Last edited by gregor (2011-08-03 09:45:53)

Offline

#3 2011-08-03 11:47:46

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [SOLVED] HELP: Can't partition drives

Thanks that worked but my installation is messed now with software raid. I have a pv named /dev/md127 inside my vg0 that I can't remove. I try to

pvremove /dev/md127 but I keep getting the error PV belongs to Volume Group vg0. How do I remove /dev/md127?

Offline

#4 2011-08-03 11:51:42

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [SOLVED] HELP: Can't partition drives

I also tried

mdadm --incremental /dev/md127

but I just get a message saying "cannot open /dev/md127: Device or resource busy"

Offline

#5 2011-08-03 13:47:48

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: [SOLVED] HELP: Can't partition drives

fettouhi wrote:

my installation is messed now with software raid. I have a pv named /dev/md127 inside my vg0 that I can't remove. I try to
pvremove /dev/md127 but I keep getting the error PV belongs to Volume Group vg0. How do I remove /dev/md127?

i advice an re-install ,it's not worth the trouble...

Offline

#6 2011-08-04 06:20:31

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [SOLVED] HELP: Can't partition drives

gregor wrote:
fettouhi wrote:

my installation is messed now with software raid. I have a pv named /dev/md127 inside my vg0 that I can't remove. I try to
pvremove /dev/md127 but I keep getting the error PV belongs to Volume Group vg0. How do I remove /dev/md127?

i advice an re-install ,it's not worth the trouble...

Yep, did that an usd the installer to delete all lvm and raid. Then I reooted and everything was back to normal.

Offline

#7 2011-08-04 13:04:42

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: [SOLVED] HELP: Can't partition drives

ok ...that's fixed

Offline

Board footer

Powered by FluxBB