Skip to contentSkip to conversation

pvcreate -- extended partition "/dev/hda10" doesn't exist

linux-lvm Udo Weber 2 participants 2 messages Jun 21, 1999

lore
Share & tools
lore

Udo Weber

author
#0 lore raw

Hi LVM-specialists,

I'm new here the Linux-LVM-array. This means I was downloading all needed software+patches, compiled successfull and also installed without erors on my IBM-Thinkpad (300 MHz PII, 128 MB RAM, 8GByte HD). I have all my LINUX-stuff on several extended partitions.

Now at first some generally questions (I don't found an answer for this in the docu):
Is it possible to create a PV on a extended partion or do I need only primary partions ?
I think pvcreate writes something at the top of the physical volume ( whole PV or partion).
Do that works well with other OS-formated parts of the same hdisk ?

If the first question is no, forget the rest of this mail! If it should works please help. Here are all infos related to my problem:

###########################################################################

Welcome to SuSE Linux 6.1 (i386) - Kernel 2.2.10 (tty4).

#1 lore raw

Hi.

Quoted 6 lines

I'm new here the Linux-LVM-array. This means I was downloading all needed software+patches, compiled successfull and also installed without erors on my IBM-Thinkpad (300 MHz PII, 128 MB RAM, 8GByte HD). I have all my LINUX-stuff on several extended partitions.

Great.

Quoted 4 lines

Now at first some generally questions (I don't found an answer for this in the docu):
Is it possible to create a PV on a extended partion or do I need only primary partions ?

You can use primary _and_ extended partitions.

Quoted 4 lines

I think pvcreate writes something at the top of the physical volume ( whole PV or partion).
Do that works well with other OS-formated parts of the same hdisk ?

Yes, it does.

If you use a partition with pvcreate, you have to set the partition identifier to 0xfe with fdisk before.
pvcreate checks for this partition identifier to avoid to overwrite _non_ LVM partitions by accident 8*)

<SNIP>

Regards,
Heinz
--

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

Systemmanagement C/S Deutsche Telekom AG
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41

                                                 64205 Darmstadt
[email protected]                      Germany
                                                 +49 6151 886-425
                                                          FAX-386

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