All of lore.kernel.org
 help / color / mirror / Atom feed
* Changing MD device partition type
@ 2003-06-05 21:51 Prakash Achuthan
  2003-06-06  6:57   ` Luca Berra
  0 siblings, 1 reply; 5+ messages in thread
From: Prakash Achuthan @ 2003-06-05 21:51 UTC (permalink / raw)
  To: linux-raid

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-lvm] Re: Changing MD device partition type
  2003-06-05 21:51 Changing MD device partition type Prakash Achuthan
@ 2003-06-06  6:57   ` Luca Berra
  0 siblings, 0 replies; 5+ messages in thread
From: Luca Berra @ 2003-06-06  1:58 UTC (permalink / raw)
  To: prakasha; +Cc: linux-raid, linux-lvm

On Thu, Jun 05, 2003 at 02:51:35PM -0700, Prakash Achuthan wrote:
>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.


-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Re: Changing MD device partition type
  2003-06-06  6:57   ` Luca Berra
@ 2003-06-06  8:17     ` Heinz J . Mauelshagen
  -1 siblings, 0 replies; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2003-06-06  3:30 UTC (permalink / raw)
  To: prakasha, linux-raid, linux-lvm

On Fri, Jun 06, 2003 at 08:57:04AM +0200, Luca Berra wrote:
> On Thu, Jun 05, 2003 at 02:51:35PM -0700, Prakash Achuthan wrote:
> >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.

Well, that's why device names are handled better in LVM2.

Want to give it a try ? ;)

> 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.
> 
> 
> -- 
> Luca Berra -- bluca@comedia.it
>         Communication Media & Services S.r.l.
>  /"\
>  \ /     ASCII RIBBON CAMPAIGN
>   X        AGAINST HTML MAIL
>  / \
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

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
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Changing MD device partition type
@ 2003-06-06  6:57   ` Luca Berra
  0 siblings, 0 replies; 5+ messages in thread
From: Luca Berra @ 2003-06-06  6:57 UTC (permalink / raw)
  To: prakasha; +Cc: linux-raid, linux-lvm

On Thu, Jun 05, 2003 at 02:51:35PM -0700, Prakash Achuthan wrote:
>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.


-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] Re: Changing MD device partition type
@ 2003-06-06  8:17     ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2003-06-06  8:17 UTC (permalink / raw)
  To: prakasha, linux-raid, linux-lvm

On Fri, Jun 06, 2003 at 08:57:04AM +0200, Luca Berra wrote:
> On Thu, Jun 05, 2003 at 02:51:35PM -0700, Prakash Achuthan wrote:
> >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.

Well, that's why device names are handled better in LVM2.

Want to give it a try ? ;)

> 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.
> 
> 
> -- 
> Luca Berra -- bluca@comedia.it
>         Communication Media & Services S.r.l.
>  /"\
>  \ /     ASCII RIBBON CAMPAIGN
>   X        AGAINST HTML MAIL
>  / \
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

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
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-06-06  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-05 21:51 Changing MD device partition type Prakash Achuthan
2003-06-06  1:58 ` [linux-lvm] " Luca Berra
2003-06-06  6:57   ` Luca Berra
2003-06-06  3:30   ` [linux-lvm] " Heinz J . Mauelshagen
2003-06-06  8:17     ` Heinz J . Mauelshagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.