Created
February 20, 2022 21:06
-
-
Save egeneralov/46d918389a0f1fb6b58fdf97da1e95af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -xe | |
for disk in /dev/sd{c,d,e,f}; do | |
sgdisk \ | |
-og \ | |
-N 1 \ | |
-c 1:"r0" \ | |
-t 1:fd00 \ | |
"${disk}" | |
done | |
mdadm --create /dev/md128 --level=0 --raid-devices=4 --name r0 --assume-clean /dev/sd{c,d,e,f}1 | |
mkfs.xfs -m rmapbt=1 -m bigtime=1 -L r0 -f -K /dev/md128 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UUID=aace1bdf-28e0-4851-be25-0a87c4677288 /data xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 2