Skip to contentSkip to conversation

pb with pvcreate and partition tables

linux-lvm Julien Baboud 2 participants 3 messages Jul 24, 2001 – Jul 27, 2001

lore
Share & tools
lore
#0 lore raw

hi,

I use LVM with the 0.9 beta 7 on a SuSE 7.1 distrib and i've encoutered a pb with pvcreate on a partition that is set to the
LVM type (and was another type before, which is the source of the pb). Here is
the output of the command i used :

%pvcreate /dev/hda16

pvcreate -- device "/dev/hda16" has a partition table pvcreate [-d|--debug] [-f[f]|--force [--force]] [-h|--help] [-y|--yes]

         [-v|--verbose] [-V|--version] PhysicalVolume

[PhysicalVolume...]

and the -f option show me the same output.

I don't know if it's a pb with LVM or with fdisk wich i use to set the
type of the partitions, but i would appreciate if any could tell me a solution to correct this.

tanx.
julien, for ATIX

join the LVM Republic
------------------------

#1 lore raw

Julien,

hda16 == hdb?

Something with your /dev setup looks strange.

Quoted 33 lines · Julien Baboud

hi,

I use LVM with the 0.9 beta 7 on a SuSE 7.1 distrib and i've encoutered a pb with pvcreate on a partition that is set to the
LVM type (and was another type before, which is the source of the pb). Here is
the output of the command i used :

%pvcreate /dev/hda16

pvcreate -- device "/dev/hda16" has a partition table pvcreate [-d|--debug] [-f[f]|--force [--force]] [-h|--help] [-y|--yes]

         [-v|--verbose] [-V|--version] PhysicalVolume

[PhysicalVolume...]

and the -f option show me the same output.

I don't know if it's a pb with LVM or with fdisk wich i use to set the
type of the partitions, but i would appreciate if any could tell me a solution to correct this.

tanx.
julien, for ATIX

join the LVM Republic
------------------------
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 4 lines · Heinz J . Mauelshagen

Julien,

hda16 == hdb?

no.
here is the output of 'fdisk /dev/hda -l

Festplatte /dev/hda: 255 Köpfe, 63 Sektoren, 1247 Zylinder
Einheiten: Zylinder mit 16065 * 512 Bytes

Gerät Booten Anfang Ende Blöcke ID Dateisystemtyp

/dev/hda1             1       255   2048256    7  HPFS/NTFS
/dev/hda2   *       256       268    104422+  83  Linux
/dev/hda3           269       530   2104515   83  Linux
/dev/hda4           531      1247   5759302+   5  Erweiterte
/dev/hda5           531       563    265041   82  Linux (Auslagerung)
/dev/hda6           564       576    104391   8e  Linux LVM
/dev/hda7           577       589    104391   8e  Linux LVM
/dev/hda8           590       602    104391   8e  Linux LVM
/dev/hda9           603       615    104391   8e  Linux LVM
/dev/hda10          616       628    104391   8e  Linux LVM
/dev/hda11          629       641    104391   8e  Linux LVM
/dev/hda12          642       654    104391   8e  Linux LVM
/dev/hda13          655       667    104391   8e  Linux LVM
/dev/hda14          668       680    104391   8e  Linux LVM
/dev/hda15          681       693    104391   8e  Linux LVM
/dev/hda16          694       706    104391   8e  Linux LVM
/dev/hda17          707       719    104391   8e  Linux LVM
/dev/hda18          720       732    104391   8e  Linux LVM
/dev/hda19          733       745    104391   8e  Linux LVM
/dev/hda20          746       758    104391   8e  Linux LVM    
Quoted 2 lines

Something with your /dev setup looks strange.

sure, there is something wrong but what ?
i must add something : /dev/hda16 is the only partition with wich i had
apply the 'mkfs.ext2' command when it was of Linux type (and not LVM). But since i have rebooted it is the only partition with wich i have problems :

any idea how to overide the partition table ? (see the output of the
pvcreate command below)
thanks for your help.

Quoted 58 lines · Julien Baboud
Quoted 26 lines

hi,

I use LVM with the 0.9 beta 7 on a SuSE 7.1 distrib and i've encoutered a pb with pvcreate on a partition that is set to the
LVM type (and was another type before, which is the source of the pb). Here is
the output of the command i used :

%pvcreate /dev/hda16

pvcreate -- device "/dev/hda16" has a partition table pvcreate [-d|--debug] [-f[f]|--force [--force]] [-h|--help] [-y|--yes]

         [-v|--verbose] [-V|--version] PhysicalVolume

[PhysicalVolume...]

and the -f option show me the same output.

I don't know if it's a pb with LVM or with fdisk wich i use to set the
type of the partitions, but i would appreciate if any could tell me a solution to correct this.

tanx.
julien, for ATIX

Quoted 7 lines

join the LVM Republic
------------------------
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

--

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

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html