前面有个我在sys上搭建的教程
今天又入手了一个 2x480gb ssd + 2x4tb 的sys机器 所以又要重新设置一次。
其他内容一样。
唯一不同的就是要挂载2个卷。
记录一下 免得以后自己忘记了。。。
参考来源
https://www.linuxbabe.com/linux-server/linux-software-raid-1-setup
和
https://plone.lucidsolutions.co.nz/linux/io/using-parted-to-create-a-raid-primary-partition
简介版命令
parted -a optimal /dev/sd_ mklabel gpt mkpart btrfs Start? 2048s End? -1 set 1 raid on align-check --> optimal
重复2次 给2个4tb硬盘分区 然后执行
mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sd_1 /dev/sd_1
创建软raid 创建lv跟以前一样。
The post SoYouStart独服通过Virtualizor创建KVM VPS的偷懒版教程 appeared first on VPS小组.