[Bug 1570580] Re: Existing Logical Volumes on multipathed SCSI disks are not automatically activated during installation
bugproxy
bugproxy at us.ibm.com
Mon Oct 24 10:30:04 UTC 2016
------- Comment From thorsten.diehl at de.ibm.com 2016-10-24 06:25 EDT-------
(In reply to comment #10)
> Or is this request to active volume groups just to prevent data-loss?
> Activated volume groups, would put block devices in use, potentially
> preventing them from being formatted. (That is especially the case if only
> partial number of physical devices are activated of a particular volume
> group)
Yes. Assume, somebody is migrating from another distro to Xenial Server
and wants to keep his home/data LVs. In that case it is highly
appreciable to preserve the LVs and mount them without formatting.
Suggestion:
Activate the VGs/LVs, ask the user which underlying physical device (not the physical volume) he wants to partition or format (if any). If partitioning/formatting is requested, deactivate the LV, VG and PV.
If the user wants to reuse only some of the LVs, he should have the option to select unwanted LVs for deletion and recreation.
** Tags removed: targetmilestone-inin16041
** Tags added: targetmilestone-inin16042
--
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:
Incomplete
Status in debian-installer package in Ubuntu:
Incomplete
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