simple question

2024-07-02 Diskussionsfäden Harald Baumgartner
Hello, hope it's the correct list. OS ubuntu 22.04 LTS or higher is it possible to choose automatically the smaller disk? In my case there is a Dell Server with RAID-Controller, configured: sda = ca. 5 TB SSD for data - during install shall be not touched/formatted... sdb = ca. 900 GB SAS

Re: simple question

2024-07-02 Diskussionsfäden Thomas Lange
Hi in FAI 6.2 I've indroduced some helper functions to define a customized list of disks. This includes grepv_disks() grep_disks() notmatchdisks() matchdisks() smallestdisk() largestdisk() all_disks_by_size() all_disks_and_size() once_only() checkdisk()

Re: simple question

2024-07-02 Diskussionsfäden Diego Zuccato
I'm using this /srv/fai/config/class/99-disklist.sh based on the one linked by Thomas: -8<-- #! /bin/bash mydisks() { find $* -type l -printf "%f %l\n" | grep -Pv '^md|-part\d|^wwn-|^nvme-eui|^nvme-nvme' | egrep '^scsi|^ata|^nvme' | sed -e 's#.*/##g'| tr '\n' ' ' } # This is really impo