[Bug 1325971] [NEW] Wrong LVM pv size by using installer
Claudio Kuenzler
1325971 at bugs.launchpad.net
Tue Jun 3 12:57:33 UTC 2014
Public bug reported:
Hello,
According to
https://wiki.ubuntu.com/Bugs/FindRightPackage#When_installing_Ubuntu_.28or_Derivatives.29
bugs in the installer (of Ubuntu Server) need to be reported against the
package debian-installer.
I got a weird partitioning setup after having done a manual partitioning.
I created one primary partition for the root/slash partition (with 10GB) and two extended partitions tagged as Linux LVM.
Partition table:
Disk /dev/sda: 1799.8 GB, 1799798437888 bytes
255 heads, 63 sectors/track, 218813 cylinders, total 3515231324 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 786432 bytes
Disk identifier: 0x00021c16
Device Boot Start End Blocks Id System
/dev/sda1 * 1536 19531775 9765120 83 Linux
/dev/sda2 19533310 3515229695 1747848193 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 19533312 117187583 48827136 8e Linux LVM
/dev/sda6 117189120 3515229695 1699020288 8e Linux LVM
As you can see, /dev/sda5 has a size of around 50GB.
/dev/sda6 fills up the rest of the disk (which is around 1.7TB)
I then created the Volume Groups vgsystem and lxc in the installer. For
vgsystem I chose the PV /dev/sda5 and to my big surprise the installer
took a size of 1.6TB instead of the 50GB (which is the size of the
partition).
I deleted and recreated the VG/PV but this bug could be reproduced all
the time.
Here the pvdisplay output:
--- Physical volume ---
PV Name /dev/sda6
VG Name lxc
PV Size 1.58 TiB / not usable 3.50 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 414799
Free PE 401487
Allocated PE 13312
PV UUID zxwiIK-7n6s-RAEx-F4OT-5FIf-ybzd-ptkbMR
--- Physical volume ---
PV Name /dev/sda5
VG Name system
PV Size 1.63 TiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 426720
Free PE 418138
Allocated PE 8582
PV UUID iI5MtU-09e5-cfC7-aHVk-NIgv-Ei5n-pu4M5O
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: debian-installer (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Tue Jun 3 14:47:36 2014
InstallationDate: Installed on 2013-12-22 (163 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
MachineType: HP ProLiant DL380p Gen8
MemoryUsage:
total used free shared buffers cached
Mem: 32907380 5925376 26982004 1116 291140 3904188
-/+ buffers/cache: 1730048 31177332
Swap: 15622140 0 15622140
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=c91d09d0-ebbb-4c3f-92bd-722f2801de39 ro
SourcePackage: debian-installer
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/20/2013
dmi.bios.vendor: HP
dmi.bios.version: P70
dmi.chassis.type: 23
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrP70:bd12/20/2013:svnHP:pnProLiantDL380pGen8:pvr:cvnHP:ct23:cvr:
dmi.product.name: ProLiant DL380p Gen8
dmi.sys.vendor: HP
** Affects: debian-installer (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1325971
Title:
Wrong LVM pv size by using installer
Status in “debian-installer” package in Ubuntu:
New
Bug description:
Hello,
According to
https://wiki.ubuntu.com/Bugs/FindRightPackage#When_installing_Ubuntu_.28or_Derivatives.29
bugs in the installer (of Ubuntu Server) need to be reported against
the package debian-installer.
I got a weird partitioning setup after having done a manual partitioning.
I created one primary partition for the root/slash partition (with 10GB) and two extended partitions tagged as Linux LVM.
Partition table:
Disk /dev/sda: 1799.8 GB, 1799798437888 bytes
255 heads, 63 sectors/track, 218813 cylinders, total 3515231324 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 786432 bytes
Disk identifier: 0x00021c16
Device Boot Start End Blocks Id System
/dev/sda1 * 1536 19531775 9765120 83 Linux
/dev/sda2 19533310 3515229695 1747848193 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 19533312 117187583 48827136 8e Linux LVM
/dev/sda6 117189120 3515229695 1699020288 8e Linux LVM
As you can see, /dev/sda5 has a size of around 50GB.
/dev/sda6 fills up the rest of the disk (which is around 1.7TB)
I then created the Volume Groups vgsystem and lxc in the installer.
For vgsystem I chose the PV /dev/sda5 and to my big surprise the
installer took a size of 1.6TB instead of the 50GB (which is the size
of the partition).
I deleted and recreated the VG/PV but this bug could be reproduced all
the time.
Here the pvdisplay output:
--- Physical volume ---
PV Name /dev/sda6
VG Name lxc
PV Size 1.58 TiB / not usable 3.50 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 414799
Free PE 401487
Allocated PE 13312
PV UUID zxwiIK-7n6s-RAEx-F4OT-5FIf-ybzd-ptkbMR
--- Physical volume ---
PV Name /dev/sda5
VG Name system
PV Size 1.63 TiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 426720
Free PE 418138
Allocated PE 8582
PV UUID iI5MtU-09e5-cfC7-aHVk-NIgv-Ei5n-pu4M5O
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: debian-installer (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Tue Jun 3 14:47:36 2014
InstallationDate: Installed on 2013-12-22 (163 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
MachineType: HP ProLiant DL380p Gen8
MemoryUsage:
total used free shared buffers cached
Mem: 32907380 5925376 26982004 1116 291140 3904188
-/+ buffers/cache: 1730048 31177332
Swap: 15622140 0 15622140
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=c91d09d0-ebbb-4c3f-92bd-722f2801de39 ro
SourcePackage: debian-installer
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/20/2013
dmi.bios.vendor: HP
dmi.bios.version: P70
dmi.chassis.type: 23
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrP70:bd12/20/2013:svnHP:pnProLiantDL380pGen8:pvr:cvnHP:ct23:cvr:
dmi.product.name: ProLiant DL380p Gen8
dmi.sys.vendor: HP
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1325971/+subscriptions
More information about the foundations-bugs
mailing list