Package: fai-setup-storage
Version: 5.7.2
Severity: normal

Dear Maintainer,

I'm trying to setup a raw disk image with the size of 128000000000 bytes (128 
GB) that has been loop mounted with the following disk config:

# Use GPT (with BIOS compatibility), boot from the ESP and create a fstab that
# uses UUIDs.
disk_config disk1 disklabel:gpt-bios bootable:1 fstabkey:uuid

# disk1.1: /boot/efi EFI System Partition (ESP).
primary /boot/efi 2048MB vfat defaults

# disk1.2: /boot partition.
primary /boot 2048MB ext2 defaults

# disk1.3: Rest of the disk is an encrypted LUKS container.
primary - 0- - -
disk_config cryptsetup
luks - disk1.3 - -

# disk1.3/LUKS: All the space in the LUKS container will be used by a single LVM
# system VG.
disk_config lvm fstabkey:uuid
#vg system disk1.3


The setup storage command line I'm using is:

/usr/sbin/setup-storage -X -f disk_config -d -D loop0


The config works without 'disk_config lvm fstabkey:uuid'.
As soon as 'disk_config lvm' is added it fails with this error:

INTERNAL ERROR in setup-storage:
convert_unit <476.22GiB
Please report this error to the Debian Bug Tracking System.
 at /usr/share/fai/setup-storage/Parser.pm line 379.
        FAI::convert_unit("<476.22GiB") called at 
/usr/share/fai/setup-storage/Volumes.pm line 430
        FAI::get_current_lvm called at /usr/sbin/setup-storage line 168


setup-storage is running on a host system that also uses LVM inside a LUKS 
container for the running Linux system.

How could I gather more information what is actually going wrong here?

Best,

Michael Schaller

Reply via email to