Re: Making sure to partition the right disk(s)

Andrew Ruthven <[email protected]> Sat, 20 Jan 2024 01:27:29 +1300
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
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.

> In the next FAI version 6.2 (the release may come in the next few
> days) there are more functions to change the order of the disks, like
> smallestdisk or matchdisks which can match to a certain serial number.

Nice!

Cheers,
Andrew

-- 
Andrew Ruthven, Wellington, New Zealand
[email protected]         |
Catalyst Cloud:           | This space intentionally left blank
 https://catalystcloud.nz |
94-disklist-order (application/x-shellscript, 2.8 KB) - not displayed