this post was submitted on 29 Apr 2024
12 points (100.0% liked)

homelab

6693 readers
2 users here now

founded 4 years ago
MODERATORS
 

I have installed Debian with software RAID1 (and installed Proxmox on it) on 2 256GB SSD and I now want to move to 2 500GB SSD, how do I proceed?

Edit: the RAID is of the OS disks.

you are viewing a single comment's thread
view the rest of the comments
[–] xrun_detected@programming.dev 2 points 7 months ago

I've recently done this on one of my machines, these were the steps I as far as i remember:

  • backup!
  • add the new disks to the machine
  • partition them like the smaller disks
  • add the new disks to the array(s) (as members, not just spares)
  • take care of bootloader things while the raid is syncing
  • your raid should have 4 devices in sync now
  • fail and remove the smaller disks from the raid one by one
  • resize the partitions on the bigger disks to maximum
  • grow the MD raid to the new size

If you use luks and/or lvm some additional steps will be needed to grow them as well.

If your system can hotplug disks there's a chance to pull this off with little to no downtime. :)