[Bug 1570580] Re: Existing Logical Volumes on multipathed SCSI disks are not automatically activated during installation

Frank Heimes 1570580 at bugs.launchpad.net
Tue May 29 12:34:46 UTC 2018


I just tried this again on 16.04.4 and it seems to work for me:

Did a FCP (single LUN) LPAR installation on 16.04.4 and created two test files after the installation:
$ sudo vi /test1.txt
$ vi /home/ubuntu/test2.txt
Then I re-run the installation, enabled the FCP devices, selected Manual partitioning, selected the still existing ext4 root disk (#1) and just (re-)configured it as 'Use as: Ext4' (didn't do any partitioning), 'Mount point: /' and "no, keep existing data" (not recommended, just for testing here), confirmed this (also to not formatting that partition), proceeded with the installation, completed it and rebooted.
After logging in to the system again I could still find the two files - hence the old partition was really used.
For details see attached file test1.txt.




** Attachment added: "test1.txt"
   https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1570580/+attachment/5146012/+files/test1.txt

-- 
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/1570580

Title:
  Existing Logical Volumes on multipathed SCSI disks are not
  automatically activated during installation

Status in Ubuntu on IBM z Systems:
  Fix Released
Status in debian-installer package in Ubuntu:
  Fix Released

Bug description:
  Installer version: 447
  Kernel: 4.4.0.18
  Description/Reproduction:
  Logical Volumes that exist on multipathed SCSI disks from a previous installation are not automatically activated and thus can not be reused. Only the partitions are visible and that their type is "lvm" (s. screenshot). 

  Workaround:

  When the partitioned disks are shown in the "Partition disks" menu,
  open a shell. Then list all logical volumes with command lvs, and set
  each logical volume active with lvchange -ay
  <volumegroupname>/<lvolname>. Choose "Configure the Logical Volume
  Manager", confirm keeping current partition layout with "Yes"  and
  "Finish" without changing anything. Then the Logical Volumes are
  displayed in the "Partition disks" menu and filesystems can be created
  and mountpoints defined.

  I will attach syslog and partman of the installation attempt.

  So obviously an lvchange -ay on all detected lolgical volumes is
  missing at the proper time....

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1570580/+subscriptions



More information about the foundations-bugs mailing list