top | item 45981109

(no title)

ronniefalcon | 3 months ago

Lots of fun with this and lots of possibilities.

Had great experience using PXE to boot HPC farms, mounting the OS from a NAS and using only a local disk in the machine for tmp and other writable locations. I am not sure how 'diskless' linux works these days on rocky flavours but was solid in centos 5 through 7.

discuss

order

ahepp|3 months ago

I've had issues using root-on-nfs now that dnf uses a sqlite database. However, root-on-iscsi has been working really well for me.

At first I was PXE booting a kernel and custom initramfs over TFTP, and having the initramfs initiate the iscsi session. More recently I have been PXE booting iPXE, which then has support iscsi. iPXE initiates the iscsi session, reads the kernel and initramfs off the "disk", then once the kernel and initramfs have loaded, the initramfs uses some magic called iBFT to "rediscover" the session that the firmware initiated.

The nice part about that second approach is I don't need to set up any hooks to transfer a new kernel and initramfs to my server whenever they're updated on the machine.

ronniefalcon|3 months ago

Ive always used the feature(?) allowing you to mount parts of the fs read-write persistent on the local disk which might help the sqlite issue, though not sure if thats a read/write issue or something else.

Have never used scsi for this. i suspect it's faster?