Changing MD device partition type
Hi,
I have a software RAID volume (of four 160 GB harddisk) which is to be added to a separate volume group. Now, when I do a pvcreate (pvcreate /dev/md3), it fails saying "Invalid phyiscal volume". All the disks in the RAID volume have their partition type set to "linux auto detect". One of the mails in a mailing list says that the partition type of the md0 should be "8e".
How do I change the partition type ? fdisk /dev/md3 does not show any partition.
Thanks,
Prakash
Quoted 1 line · Prakash Achuthan
I have a software RAID volume (of four 160 GB harddisk) which is to be added to a separate volume group. Now, when I do a pvcreate (pvcreate
/dev/md3), it fails saying "Invalid phyiscal volume". All the disks in the RAID volume have their partition type set to "linux auto detect". One of the mails in a mailing list says that the partition type of the md0 should be "8e".
nope, you cant' change the partition type and you don't need to, the problem lies somewhere else.
lvm1 is very picky (serverely broken) about device file names, do a lvmdiskscan and or cat /proc/partitions and check which device name you find.
if you have devfs compiled in the kernel and not mounted lvm user tools will NOT work.
i cc-ed lvm list which is a better place to ask elp on lvm... regards,
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Quoted 8 lines · Luca Berra
Quoted 6 lines · Prakash Achuthan
I have a software RAID volume (of four 160 GB harddisk) which is to be added to a separate volume group. Now, when I do a pvcreate (pvcreate
/dev/md3), it fails saying "Invalid phyiscal volume". All the disks in the RAID volume have their partition type set to "linux auto detect". One of the mails in a mailing list says that the partition type of the md0 should be "8e".
Quoted 5 lines
nope, you cant' change the partition type and you don't need to, the problem lies somewhere else.
lvm1 is very picky (serverely broken) about device file names, do a lvmdiskscan and or cat/proc/partitionsand check which device name you find.
Well, that's why device names are handled better in LVM2.
Want to give it a try ? ;)
Quoted 21 lines
if you have devfs compiled in the kernel and not mounted lvm user tools will NOT work.
i cc-ed lvm list which is a better place to ask elp on lvm... regards,
L.Signature · 12 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \ _______________________________________________ linux-lvm mailing list [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-