Identify disks for setup-storage

2023-01-08 Diskussionsfäden Thomas Roth
Hi all, a rather old issue, one that I always only did crappy workarounds for: How to tell FAI which disks to use for installation? Currently I have a server with just 4 devices, two of which are supposed to become the target for FAI as a software-raid-1. (At other times I had boxes with a mer

Re: Identify disks for setup-storage

2023-01-08 Diskussionsfäden Thomas Lange
Hi Thomas, I use a script to reorder the variable $disklist, so setup-storage can mostly use disk1, but I can define the order of the disk depending on disk types or even the serial number of a disk. The script is class/99-disklist.sh: #! /bin/bash mydisks() { find $* -type l -printf "%f