Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Steffen Grunewald
Hi Thomas, On Tue, 2024-12-17 at 10:43:57 +0100, Thomas Lange wrote: > I wonder if you have a grub or a FAI problem? Until yesterday I had none of both... FAI worked perfectly installing my plan, but with the 120 disks now partitioned (something I didn't hand over to FAI, due to a lack of plannin

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Thomas Lange
> On Tue, 17 Dec 2024 13:52:22 +0100, Steffen Grunewald > said: > Can I use the full-fledged path, e.g. > /dev/disk/by-path/pci-:06:00.0-ata-..0 > in all places? This seems to work for the disk_config line itself, > but for mdraid definitions?! I never tried it, but

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Steffen Grunewald
On Tue, 2024-12-17 at 14:02:17 +0100, Thomas Lange wrote: > > On Tue, 17 Dec 2024 13:52:22 +0100, Steffen Grunewald > > said: > > > Can I use the full-fledged path, e.g. > > /dev/disk/by-path/pci-:06:00.0-ata-..0 > > in all places? This seems to work for the disk_config

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Andrew Ruthven
Hey Steffen, I can't really provide any insight into your issue with running out of memory with ZFS. But I can answer your question below... On Tue, 2024-12-17 at 10:07 +0100, Steffen Grunewald wrote: > I'm afraid I've got to go back to md raid, but with all disks connected, > how do I find the t

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Henning Glawe
Moin, are you booting via BIOS/legacy or UEFI (with the corresponding GRUB)? "out of memory" sounds like something more likely to hit in a BIOS/legacy boot. On Tue, Dec 17, 2024 at 10:07:56AM +0100, Steffen Grunewald wrote: > Good morning, > > after a very promising start, I experienced a set-b

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Thomas Lange
I wonder if you have a grub or a FAI problem? If it's a grub problem, I suggest to try Super Grub2 Disk which is a very sophisticated grub menu detecting all sorts of configurations. If this also fails, grub itself can't handle your environment (maybe because of bug in an edge case). Or is it only

FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Steffen Grunewald
Good morning, after a very promising start, I experienced a set-back yesterday with an otherwise proven-to-work FAI setup, and need an alternative now. Over the past years, I wrote, used, and improved, a scheme that would ignore disk_config completely and work with hooks, to create a ZFS root poo

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Steffen Grunewald
On Tue, 2024-12-17 at 16:45:56 +0100, Steffen Grunewald wrote: > On Tue, 2024-12-17 at 14:02:17 +0100, Thomas Lange wrote: > > But then try to modifiy the disklist variable (see > > class/20-hwdetect.sh for that) to get a well defined order and then use > > disk1, disk2,... But ... I'm apparently

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Steffen Grunewald
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

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Steffen Grunewald
On Tue, 2024-12-17 at 17:05:17 +0100, Steffen Grunewald wrote: > I had written to additional.var in a partition.* hook, is this too late? Apparently yes. > Do I have to do this in a class/* script? Hm... Done this - with /dev/ in front, resulting in Setting disklist

Re: FAI install with huge JBODs present - disk/by-id?

2024-12-17 Diskussionsfäden Steffen Grunewald
Hi Henning, On Tue, 2024-12-17 at 14:13:00 +0100, Henning Glawe wrote: > Moin, > > are you booting via BIOS/legacy or UEFI (with the corresponding GRUB)? UEFI, with the right GRUB. It's not the first time I'm doing this, and it works without the JBODs connected. I haven't even found a LEGACY se