FS#27785 - [aif] disk partitions not shown if former PV drives

Attached to Project: Release Engineering
Opened by Iskren Ivov Chernev (ichernev) - Saturday, 31 December 2011, 17:31 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:48 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2011.08.19
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I had some lvm PVs on my disks, and during arch installation I erased all partitions with cfdisk and created new ones (in "Manually Partition Hard Drives), explicitly setting type id to 83. Then in the "Manually Configure block devices, filesystems and mountpoints" the drive that was previously PV didn't show up.

Expected behavior:
Block devices with partition type different from 8e (Linux LVM) should show up as partitions in the configuration screen.

Additional info:
AIF seems to use pvscan to determine PV devices and exclude them from the listing (file src/core/libs/lib-blockdevices-filesystems.sh, function find_usable_blockdevices). It should also consult the partiton type (fdisk -l /dev/sda | grep sda1 | gawk ' { print $6 } ').
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:48 GMT
Reason for closing:  Deferred

Loading...