DISK Setup RAID0

Marc Hoppins marc.hoppins at eset.com
Thu Mar 23 15:52:23 CET 2023


Hi all,

I am learning to use FAI and have been checking our existing disk configurations.

We have similar to:

disk_config /dev/sdb fstabkey:uuid
raw-disk /mnt/data01 1M-   xfs  rw,defaults

disk_config /dev/sdc fstabkey:uuid
raw-disk /mnt/data02 1M-   xfs  rw,defaults

The above examples mount using the entire disk.
NAME          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda             8:0    0  3.7T  0 disk /mnt/data01
sdb             8:16   0  3.7T  0 disk /mnt/data02

For a RAID config, the documentation only specifies pre-sized partitions which I do not want. I currently have:
The following devices are SSD.

disk_config /dev/sda fstabkey:uuid align-at:1M
raw-disk -  -  -  -

disk_config /dev/sdb fstabkey:uuid align-at:1M
raw-disk -  -  -  -

disk_config /dev/sdc fstabkey:uuid align-at:1M
raw-disk -  -  -  -

disk_config /dev/sdd fstabkey:uuid align-at:1M
raw-disk -  -  -  -

disk_config raid fstabkey:uuid align-at:1M
raid0 /mnt/data sda,sdb,sdc,sdd    xfs    rw,defaults

which is not working.  I would greatly appreciate some correction here.

Marc Hoppins

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20230323/f8d4b026/attachment.html>


More information about the linux-fai mailing list