Re: Identify disks for setup-storage

Thomas Roth <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Thank you all - I have managed to get a hold on my disks, much in the described way.
Cheers
Thomas

On 09/01/2023 22.22, andrew bezella wrote:
> On Sun, 2023-01-08 at 11:26 +0100, Thomas Lange wrote:
>> 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:
> 
> we use a similar strategy inspired by a 2013 discussion[1].  with
> batches of homogeneously-built hosts we can use the information in
> `/dev/disk/by-path` to walk through a known disk layout in our
> preferred order (see attached).
> 
> hth,
> 
> 	andy
> 
> 1. https://lists.uni-koeln.de/pipermail/linux-fai/2013-November/010229.html
> 

-- 
--------------------------------------------------------------------
Thomas Roth
Department: Informationstechnologie
Location: SB3 2.291



GSI Helmholtzzentrum für Schwerionenforschung GmbH
Planckstraße 1, 64291 Darmstadt, Germany, www.gsi.de

Commercial Register / Handelsregister: Amtsgericht Darmstadt, HRB 1528
Managing Directors / Geschäftsführung:
Professor Dr. Paolo Giubellino, Dr. Ulrich Breuer, Jörg Blaurock
Chairman of the Supervisory Board / Vorsitzender des GSI-Aufsichtsrats:
State Secretary / Staatssekretär Dr. Volkmar Dietz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.