I'm having a small issue with a Github Repository that I created. The intent of the Repository was to automatically install Ubuntu 24.04 on a ZFS RAID 10. I chose ZFS RAID 10 as this is meant to eventually become a cloudstack host, so I require the data read/write speeds a little higher(double) than that of a raidz1 or raidz2. Now this repository is meant to be run from a LiveCD environment. It can be as simple as a single command to get something up and running, or customizable via the performance of a git clone and a few file edits(Your own netplan config, a changed /etc/default/grub). Now the Repository I created was based on the mashup of two guides from OpenZFS(Debian/Ubuntu).
You can find the Repository here: https://github.com/Reddimes/ubuntu-zfsraid10
Now running ZFS requires you to be a little more specific about what drives you are using. For example, using /dev/sda is unreliable as the disks connected could change if you are in a degraded state. That is why I chose to use /dev/disk/by-id/.
However, that is where I hit a bit of a snag. Now, I've included screenshots of the commands I use to list disk drives in both the LiveCD environment and the installed Ubuntu 24.04 environment. Basically, the scsi disks that were listed in the LiveCD are no longer present in the Ubuntu 24.04 Installation. Does anyone know how I can fix this issue? Am I missing a dependency or is there a configuration error?
The command I use is:
ls -A /dev/disk/by-id/ | sed '/-part/d;/usb/d'
LiveCD:LiveCD
ubuntu-server@ubuntu-server:~$ ls -A /dev/disk/by-id/ | sed '/-part/d;/usb/d'ata-ST12000VN0007-2GS116_ZJV42Y5Xata-ST12000VN0007-2GS116_ZJV4HRM7ata-ST12000VN0007-2GS116_ZJV4Q8GGata-ST12000VN0007-2GS116_ZJV58DGKscsi-0ATA_ST12000VN0007-2G_ZJV42Y5Xscsi-0ATA_ST12000VN0007-2G_ZJV4HRM7scsi-0ATA_ST12000VN0007-2G_ZJV4Q8GGscsi-0ATA_ST12000VN0007-2G_ZJV58DGKscsi-1ATA_ST12000VN0007-2GS116_ZJV42Y5Xscsi-1ATA_ST12000VN0007-2GS116_ZJV4HRM7scsi-1ATA_ST12000VN0007-2GS116_ZJV4Q8GGscsi-1ATA_ST12000VN0007-2GS116_ZJV58DGKscsi-35000c500b51c2231scsi-35000c500b5de35c9scsi-35000c500b6656d48scsi-35000c500b6682eefscsi-SATA_ST12000VN0007-2G_ZJV42Y5Xscsi-SATA_ST12000VN0007-2G_ZJV4HRM7scsi-SATA_ST12000VN0007-2G_ZJV4Q8GGscsi-SATA_ST12000VN0007-2G_ZJV58DGKwwn-0x5000c500b51c2231wwn-0x5000c500b5de35c9wwn-0x5000c500b6656d48wwn-0x5000c500b6682eef
Ubuntu 24.04 Installation:Ubuntu 24.04 Installation
jeff@cloudstack:~$ ls -A /dev/disk/by-id/ | sed '/-part/d;/usb/d'ata-ST12000VN0007-2GS116_ZJV42Y5Xata-ST12000VN0007-2GS116_ZJV4HRM7ata-ST12000VN0007-2GS116_ZJV4Q8GGata-ST12000VN0007-2GS116_ZJV58DGKwwn-0x5000c500b51c2231wwn-0x5000c500b5de35c9wwn-0x5000c500b6656d48wwn-0x5000c500b6682eef
I don't have enough reputation points to post my images only links to the images, so upvotes are appreciated.