[linux-lvm] pvcreate problem on ia64 with GPT

eric.boissier at cnp.fr eric.boissier at cnp.fr
Tue Jul 29 09:05:02 UTC 2003


Hello,

I created on my boot disk a partition with parted (/dev/sda6).
But when I want to create a pv with that partition, no way, it does not 
work.
It seems that the pvcreate command still use the MBR informations :-(

Did anybody have a clue (or better, a solution) to solve this issue ?

Thank's,
Eric.

-----------------------------------------

[root at pss913 /]# fdisk -l /dev/sda

Disk /dev/sda: 64 heads, 32 sectors, 34732 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1     34733  35566479+  ee  EFI GPT
Partition 1 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 63, 32)
[root at pss913 /]# parted /dev/sda print
Disk geometry for /dev/sda: 0.000-34732.890 megabytes
Disk label type: GPT
Minor    Start       End     Filesystem  Name                  Flags
1          0.017    100.000  FAT                               boot, lba
2        100.000    500.000  FAT                               hp-service, 
lba
3        500.000   2548.000  ext3                              lba
4       2548.000   4596.000  linux-swap                        lba
5       4596.000   6644.000  ext3                              lba
6       6645.000  34732.874                                    lvm, lba
[root at pss913 /]# pvcreate /dev/sda6
pvcreate
pvcreate -- extended partition "/dev/sda6" doesn't exist

pvcreate [-d|--debug] [-f[f]|--force [--force]] [-h|--help] [-y|--yes]
        [-v|--verbose] [-V|--version] PhysicalVolume [PhysicalVolume...]

-----------------------------------------------





More information about the linux-lvm mailing list