FAI install with huge JBODs present - disk/by-id?

Steffen Grunewald steffen.grunewald at aei.mpg.de
Tue Dec 17 17:30:01 CET 2024


On Tue, 2024-12-17 at 17:05:17 +0100, Steffen Grunewald wrote:
> I had written to additional.var in a partition.* hook, is this too late?

Apparently yes.

> Do I have to do this in a class/* script? Hm...

Done this - with /dev/ in front, resulting in 

Setting disklist                                                                                                                                                                                                    
disklist="/dev/disk/by-path/pci-0000:06:00.0-ata-1.0 /dev/disk/by-path/pci-0000:06:00.0-ata-2.0"                                                                                                                    
partition.MDROOT     OK.                                                                                                                                                                                            
Calling task_partition                                                                                                                                                                                              
Starting setup-storage 3.0                                                                                                                                                                                          
Using config file: /var/lib/fai/config/disk_config/bee-s                                                                                                                                                            
INTERNAL ERROR in setup-storage:                                                                                                                                                                                    
Invalid device /dev//dev/disk/by-path/pci-0000:06:00.0-ata-1.01                                                                                                                                                     
Please report this error to the Debian Bug Tracking System.                                                                                                                                                         
 at /usr/share/fai/setup-storage/Init.pm line 294, <$config_file> line 1.                                                                                                                                           
        FAI::make_device_name("/dev//dev/disk/by-path/pci-0000:06:00.0-ata-1.0", 1) called at (eval 86) line 1298                                                                                                   

Will retry without (= "disk/...") - if that also fails, I've got to fall back
to good old sd* (which will change with every reboot - will this confuse md?)

- S


More information about the linux-fai mailing list