[Bug 1456936] [NEW] At partitioning step installer shows hidden logical volumes created with LVM mirroring feature
GlebHappy
1456936 at bugs.launchpad.net
Wed May 20 08:30:45 UTC 2015
Public bug reported:
Ubuntu 14.04LTS
I'm experimenting with LVM mirroring feature.
1. In VM I have two physical disks: /dev/sda, /dev/sdb
2. I've created two PV (physical volumes) based on these disks:
user:~$ sudo pvdisplay
--- Physical volume ---
PV Name /dev/sda1
VG Name vg
PV Size 8.00 GiB / not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 2047
Free PE 0
Allocated PE 2047
PV UUID Jswylr-H08n-PIw5-1GYR-HDYV-qL6h-2rFqMb
--- Physical volume ---
PV Name /dev/sdb1
VG Name vg
PV Size 8.00 GiB / not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 2047
Free PE 0
Allocated PE 2047
PV UUID YLRwrP-oKtY-wEMl-fHbG-ezfQ-GMPj-HI8iPe
3. Then I've created VG (volume group) and 2 mirrored (--type raid1)
logical volumes (LVs)
user:~$ sudo vgdisplay
--- Volume group ---
VG Name vg
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 15.99 GiB
PE Size 4.00 MiB
Total PE 4094
Alloc PE / Size 4094 / 15.99 GiB
Free PE / Size 0 / 0
VG UUID 1UTE5s-0NeB-V14m-nfG8-akwT-Qllu-bJUvX7
user:~$ sudo lvdisplay
--- Logical volume ---
LV Path /dev/vg/vg_root
LV Name vg_root
VG Name vg
LV UUID pOO5di-Gg2X-KTcV-AHG6-RRoE-wt0N-v7brjJ
LV Write Access read/write
LV Creation host, time debian, 2015-05-20 08:01:24 +0000
LV Status available
# open 0
LV Size 7.50 GiB
Current LE 1920
Mirrored volumes 2
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:4
--- Logical volume ---
LV Path /dev/vg/vg_swap
LV Name vg_swap
VG Name vg
LV UUID u3PxrF-3MYJ-MgZ6-CXe3-qBOb-pJ3c-TdBecS
LV Write Access read/write
LV Creation host, time debian, 2015-05-20 08:01:33 +0000
LV Status available
# open 0
LV Size 500.00 MiB
Current LE 125
Mirrored volumes 2
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:9
4. Now we have 2 LVs available for filesystem creation and so on, and 8
hidden subLVs, representing parts of mirrored LVs
user:~$ sudo lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vg_root vg rwi-a-r--- 7.50g 100.00
[vg_root_rimage_0] vg iwi-aor--- 7.50g
[vg_root_rimage_1] vg iwi-aor--- 7.50g
[vg_root_rmeta_0] vg ewi-aor--- 4.00m
[vg_root_rmeta_1] vg ewi-aor--- 4.00m
vg_swap vg rwi-a-r--- 500.00m 100.00
[vg_swap_rimage_0] vg iwi-aor--- 500.00m
[vg_swap_rimage_1] vg iwi-aor--- 500.00m
[vg_swap_rmeta_0] vg ewi-aor--- 4.00m
[vg_swap_rmeta_1] vg ewi-aor--- 4.00m
5. Now disk structure is prepared and we can start Ubuntu installation.
Everything goes usual way, but at partitioning step we see:
Guided partitioning
Configure software RAID
Configure the Logical Volume Manager
Configure encrypted volumes
Configure iSCSI volumes │
│ LVM VG vg, LV vg_root - 8.1 GB Linux device-mapper (raid)
│ > #1 8.1 GB
│ LVM VG vg, LV vg_root_rimage_0 - 8.1 GB Linux device-mapper (linear) │ > #1 8.1 GB
│ LVM VG vg, LV vg_root_rimage_1 - 8.1 GB Linux device-mapper (linear)
│ > #1 8.1 GB
│ LVM VG vg, LV vg_root_rmeta_0 - 4.2 MB Linux device-mapper (linear)
│ > #1 4.2 MB
│ LVM VG vg, LV vg_root_rmeta_1 - 4.2 MB Linux device-mapper (linear)
│ > #1 4.2 MB
│ LVM VG vg, LV vg_swap - 524.3 MB Linux device-mapper (raid)
│ > #1 524.3 MB
│ LVM VG vg, LV vg_swap_rimage_0 - 524.3 MB Linux device-mapper (linear)
│ > #1 524.3 MB
│ LVM VG vg, LV vg_swap_rimage_1 - 524.3 MB Linux device-mapper (linear)
│ > #1 524.3 MB
│ LVM VG vg, LV vg_swap_rmeta_0 - 4.2 MB Linux device-mapper (linear)
│ > #1 4.2 MB
│ LVM VG vg, LV vg_swap_rmeta_1 - 4.2 MB Linux device-mapper (linear)
│ > #1 4.2 MB
│ SCSI3 (0,0,0) (sda) - 8.6 GB VMware, VMware Virtual S
│ > #1 primary 8.6 GB
│ SCSI3 (0,4,0) (sdb) - 8.6 GB VMware, VMware Virtual S
│ > #1 primary 8.6 GB
As we see all the LVs are enlisted: mirrored LVs and subLVs that
contained inside.
It doesn't affect installation process but I think that subLVs at thus
step should be hidden.
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: lvm
** Package changed: grub-installer (Ubuntu) => ubuntu
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1456936
Title:
At partitioning step installer shows hidden logical volumes created
with LVM mirroring feature
Status in Ubuntu:
New
Bug description:
Ubuntu 14.04LTS
I'm experimenting with LVM mirroring feature.
1. In VM I have two physical disks: /dev/sda, /dev/sdb
2. I've created two PV (physical volumes) based on these disks:
user:~$ sudo pvdisplay
--- Physical volume ---
PV Name /dev/sda1
VG Name vg
PV Size 8.00 GiB / not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 2047
Free PE 0
Allocated PE 2047
PV UUID Jswylr-H08n-PIw5-1GYR-HDYV-qL6h-2rFqMb
--- Physical volume ---
PV Name /dev/sdb1
VG Name vg
PV Size 8.00 GiB / not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 2047
Free PE 0
Allocated PE 2047
PV UUID YLRwrP-oKtY-wEMl-fHbG-ezfQ-GMPj-HI8iPe
3. Then I've created VG (volume group) and 2 mirrored (--type raid1)
logical volumes (LVs)
user:~$ sudo vgdisplay
--- Volume group ---
VG Name vg
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 15.99 GiB
PE Size 4.00 MiB
Total PE 4094
Alloc PE / Size 4094 / 15.99 GiB
Free PE / Size 0 / 0
VG UUID 1UTE5s-0NeB-V14m-nfG8-akwT-Qllu-bJUvX7
user:~$ sudo lvdisplay
--- Logical volume ---
LV Path /dev/vg/vg_root
LV Name vg_root
VG Name vg
LV UUID pOO5di-Gg2X-KTcV-AHG6-RRoE-wt0N-v7brjJ
LV Write Access read/write
LV Creation host, time debian, 2015-05-20 08:01:24 +0000
LV Status available
# open 0
LV Size 7.50 GiB
Current LE 1920
Mirrored volumes 2
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:4
--- Logical volume ---
LV Path /dev/vg/vg_swap
LV Name vg_swap
VG Name vg
LV UUID u3PxrF-3MYJ-MgZ6-CXe3-qBOb-pJ3c-TdBecS
LV Write Access read/write
LV Creation host, time debian, 2015-05-20 08:01:33 +0000
LV Status available
# open 0
LV Size 500.00 MiB
Current LE 125
Mirrored volumes 2
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:9
4. Now we have 2 LVs available for filesystem creation and so on, and
8 hidden subLVs, representing parts of mirrored LVs
user:~$ sudo lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vg_root vg rwi-a-r--- 7.50g 100.00
[vg_root_rimage_0] vg iwi-aor--- 7.50g
[vg_root_rimage_1] vg iwi-aor--- 7.50g
[vg_root_rmeta_0] vg ewi-aor--- 4.00m
[vg_root_rmeta_1] vg ewi-aor--- 4.00m
vg_swap vg rwi-a-r--- 500.00m 100.00
[vg_swap_rimage_0] vg iwi-aor--- 500.00m
[vg_swap_rimage_1] vg iwi-aor--- 500.00m
[vg_swap_rmeta_0] vg ewi-aor--- 4.00m
[vg_swap_rmeta_1] vg ewi-aor--- 4.00m
5. Now disk structure is prepared and we can start Ubuntu
installation. Everything goes usual way, but at partitioning step we
see:
Guided partitioning
Configure software RAID
Configure the Logical Volume Manager
Configure encrypted volumes
Configure iSCSI volumes │
│ LVM VG vg, LV vg_root - 8.1 GB Linux device-mapper (raid)
│ > #1 8.1 GB
│ LVM VG vg, LV vg_root_rimage_0 - 8.1 GB Linux device-mapper (linear) │ > #1 8.1 GB
│ LVM VG vg, LV vg_root_rimage_1 - 8.1 GB Linux device-mapper (linear)
│ > #1 8.1 GB
│ LVM VG vg, LV vg_root_rmeta_0 - 4.2 MB Linux device-mapper (linear)
│ > #1 4.2 MB
│ LVM VG vg, LV vg_root_rmeta_1 - 4.2 MB Linux device-mapper (linear)
│ > #1 4.2 MB
│ LVM VG vg, LV vg_swap - 524.3 MB Linux device-mapper (raid)
│ > #1 524.3 MB
│ LVM VG vg, LV vg_swap_rimage_0 - 524.3 MB Linux device-mapper (linear)
│ > #1 524.3 MB
│ LVM VG vg, LV vg_swap_rimage_1 - 524.3 MB Linux device-mapper (linear)
│ > #1 524.3 MB
│ LVM VG vg, LV vg_swap_rmeta_0 - 4.2 MB Linux device-mapper (linear)
│ > #1 4.2 MB
│ LVM VG vg, LV vg_swap_rmeta_1 - 4.2 MB Linux device-mapper (linear)
│ > #1 4.2 MB
│ SCSI3 (0,0,0) (sda) - 8.6 GB VMware, VMware Virtual S
│ > #1 primary 8.6 GB
│ SCSI3 (0,4,0) (sdb) - 8.6 GB VMware, VMware Virtual S
│ > #1 primary 8.6 GB
As we see all the LVs are enlisted: mirrored LVs and subLVs that
contained inside.
It doesn't affect installation process but I think that subLVs at thus
step should be hidden.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1456936/+subscriptions
More information about the foundations-bugs
mailing list