"no physical disk" in format.log

Matthew Pounsett matt at conundrum.com
Tue Oct 8 05:23:50 CEST 2024


I'm trying to migrate my FAI setup from Debian 11 to 12, and my first
install with the new setup is not working.  I'm wondering if I've missed
something somewhere, or if I've got a problem with the target server.

setup-storage is coming back with the following contents of format.log:
No disks defined in $disklist
Starting setup-storage 3.0
Using config file: /var/lib/fai/config/disk_config/CEPH_MON
This system does not have a physical disk 1

My disk config looks thus:
disk_config disk1 disklabel:gpt-bios bootable:1 fstabkey:uuid
primary /       25G     ext4    rw,noatime,errors=remount-ro
primary swap    32G     swap    sw
primary /home   100G-   ext4    rw,noatime,nosuid,nodev createopts="-L home
-m 1" tuneopts="-c 0 -i 0"
primary /usr    100G    ext4    rw,noatime
primary /var    100G-   ext4    rw,noatime

I poked into setup-storage and found that it's trying to set $disklist
using fai-disk-info, but that returns nothing.
root at cmon03:/tmp/fai# fai-disk-info
root at cmon03:/tmp/fai# echo $?
0

There is definitely a disk there.  I went through and deleted old partition
info just in case that was a problem, but that didn't fix anything.
root at cmon03:/tmp/fai# lsblk
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda    8:0    0 446.6G  0 disk

dmesg.log has the following info about sda
[    3.493392] sd 0:2:0:0: [sda] 936640512 512-byte logical blocks: (480
GB/447 GiB)
[    3.493543] sd 0:2:0:0: [sda] 4096-byte physical blocks
[    3.493686] sd 0:2:0:0: [sda] Write Protect is off
[    3.493806] sd 0:2:0:0: [sda] Mode Sense: 1f 00 00 08
[    3.493847] sd 0:2:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[    3.497643]  sda:
[    3.497823] sd 0:2:0:0: [sda] Attached SCSI disk

What other troubleshooting steps can I take here?  Or does someone spot an
obvious problem?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20241007/7701bc0e/attachment.html>


More information about the linux-fai mailing list