I am currently running Ubuntu server on my main server at my homelab. As for now the main drive that contains everything is just an old 250gb HDD I pulled out from an workstation in 2007. Everything works perfectly but this week it started making some funny sounds so it is time to raid 1 before it is too late. I have bought 2 new 250gb SSDs and I would like to:
- 使用 2 个 SSD 设置软件 raid 1 阵列。
- 将整个 HDD 精确克隆到新的 raid 1 上
- 重新启动服务器并移除 HDD,一切都应该在 raid 1 阵列上运行
我对 btrfs 和数组概念有一些总体经验,但我对分区、GRUB(?) 等等感到非常困惑。截至目前,我的硬盘有以下分区:
$ sudo lsblk -f
sdc
├─sdc1
├─sdc2 ext4 ef0a29cc-... 711.8M 20% /boot
└─sdc3 LVM2_member RcHJGi-...
└─ubuntu--vg-ubuntu--lv ext4 87a8bc3b-... 81G 24% /