FAI install with huge JBODs present - disk/by-id?
Steffen Grunewald
steffen.grunewald at aei.mpg.de
Tue Dec 17 16:57:24 CET 2024
Hi Andrew,
On Tue, 2024-12-17 at 22:34:04 +1300, Andrew Ruthven wrote:
> My provided script is in:
> https://lists.uni-koeln.de/pipermail/linux-fai/2024-January/013143.html
Now that I dug this out of the archive, I remember having seen it before ;)
Part of this went into the latest version of FAI, right?
I like the "host_disks()" approach, but found that in this particular case
it might make more sense to use /dev/disk/by-path because of the inherent
sorting - when setting up a RAID one wants to know where to find the parts
in case a replacement was necessary ;)
> https://lists.uni-koeln.de/pipermail/linux-fai/2024-January/013136.html
> https://lists.uni-koeln.de/pipermail/linux-fai/2024-January/013149.html
Now that I checked those, I'm wondering whether it would make sense to
add some "alias" feature (so one could identify a disk like
/dev/disk/by-path/pci-0000:06:00.0-ata-1.0
either in disk_config (and use that alias like "disk1"), or write some
mapping (to additional.var?) to later reference the disk under the new name.
No matter how many helpers (like "smallest/biggest disk" etc.) there are,
for the next machine one would need yet another one...
> Good luck!
Getting closer, thanks for your wishes ;)
- Steffen
--
Steffen Grunewald, Cluster Administrator
Max Planck Institute for Gravitational Physics (Albert Einstein Institute)
Am Mühlenberg 1 * D-14476 Potsdam-Golm * Germany
~~~
Fon: +49-331-567 7274
Mail: steffen.grunewald(at)aei.mpg.de
~~~
More information about the linux-fai
mailing list