I am trying to build a trixie system. The build hangs on the lvcreate
command. Here is what I see:
################################################################
...
Calling task_install
Calling task_partition
Starting setup-storage 3.0
Using config file: /var/lib/fai/config/disk_config/acs-disk-lvm-no-swap
Creating directory "/run/lock/lvm"
Creating directory "/etc/lvm/archive"
Archiving volume group "my_vg" metadata (seqno 2).
Creating directory "/etc/lvm/backup"
Creating volume group backup "/etc/lvm/backup/my_vg" (seqno 2).
Executing: wipefs -af /dev/sda1
Executing: vgchange -a y my_vg
Executing: lvcreate --yes -n root -L 12288 my_vg <--- HANGS HERE
Any suggestions for troubleshooting steps?
More information below:
################################################################
Here is the disk configuration:
disk_config disk1 align-at:4k fstabkey:uuid
primary /boot 512 ext4 rw,noatime
primary - 4096- - -
primary /var/cache/openafs 4096 ext2 defaults,noatime
disk_config lvm
vg my_vg sda2
my_vg-root / 12G ext4
defaults,acl,noatime,errors=remount-ro
my_vg-tmp /tmp 3G ext4 defaults,nodev,noexec,nosuid
my_vg-log /var/log 5G ext4 defaults
################################################################
Here is fdisk -l:
Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0FB83895-9BDE-4365-A399-964530A80BB9
Device Start End Sectors Size Type
/dev/sdb1 2048 83884031 83881984 40G Linux filesystem
Disk /dev/sda: 41 GiB, 44023414784 bytes, 85983232 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf8f07793
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1050623 1048576 512M 83 Linux
/dev/sda2 1050624 77594623 76544000 36.5G 8e Linux LVM
/dev/sda3 77594624 85983231 8388608 4G 83 Linux
Disk /dev/sdc: 30 GiB, 32212254720 bytes, 62914560 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xae96af69
Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 62914559 62912512 30G 83 Linux
Disk /dev/sdd: 40 GiB, 42949672960 bytes, 83886080 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3aac3b6e
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 83886079 83884032 40G 83 Linux
Disk /dev/dm-0: 12 GiB, 12884901888 bytes, 25165824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
################################################################