Tks a lot. Really interesting & useful.
I prefer to keep per-host configs in their own subdir (like 94-disklist-order.d/testserver1 so I don't have to touch a working script, but that's mostly "cosmetic".

Diego

Il 19/01/2024 13:29, Andrew Ruthven ha scritto:
On Sat, 2024-01-20 at 01:27 +1300, Andrew Ruthven wrote:
On Fri, 2024-01-19 at 09:48 +0100, Thomas Lange wrote:


I use this script to manipulate the disklist:
http://fai-project.org/download/misc/99-disklist.sh

Attached is the script which I wrote to do this. It goes in the class
directory.

Some of our servers have NVMe drives that should be used for operating
system disks, which is why they can be skipped.

Although I see a stale comment in there now about the NVMe disks. Ah well.



--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786

Antwort per Email an