Hello Proxmox Community,
I’m currently running a Proxmox VE setup on a Hetzner AX161 server.
I need to replace my current SSDs with larger ones to gain more space. However, I don’t have any additional slots to add the new SSDs without removing the old ones first. I recently upgraded my HDDs (which store backups), but since they aren’t bootable, it was a simpler process.
Current Setup:
Boot Disk:
Purpose: Hosting the Proxmox system, root filesystem, and subvolumes for containers (CTs).
Configuration: 2 SSDs, mirrored ZFS pool (rpool)
Partitions: Each SSD has partitions for BIOS boot, EFI, and ZFS.
Data Disk:
Purpose: Used primarily for storing VZDump backups.
Configuration: 2 HDDs, mirrored ZFS pool (backup)
proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with legacy bios
A1EA-B59D is configured with: uefi (versions: 5.3.18-3-pve, 5.4.60-1-pve, 5.4.78-2-pve), grub (versions: 5.13.19-6-pve, 5.15.158-1-pve, 5.15.158-2-pve)
A1EB-05FB is configured with: uefi (versions: 5.3.18-3-pve, 5.4.60-1-pve, 5.4.78-2-pve), grub (versions: 5.13.19-6-pve, 5.15.158-1-pve, 5.15.158-2-pve)
My plan:
Enable autoexpand:
zpool set autoexpand=on rpool
Detach the old SSD:
zpool detach rpool /dev/disk/by-id/OLD-DEVICE-ID
Shutdown the server before Hetzner change SSD:
shutdown -h now
Partition the new SSD:
sgdisk /dev/disk/by-id/EXISTING-DEVICE-ID -R /dev/disk/by-id/NEW-DEVICE-ID
sgdisk -G /dev/disk/by-id/NEW-DEVICE-ID
Attach the new SSD:
zpool attach rpool /dev/disk/by-id/EXISTING-DEVICE-ID /dev/disk/by-id/NEW-DEVICE-ID
Monitor Resilvering:
zpool status
Rewrite Bootloader:
proxmox-boot-tool format /dev/disk/by-id/NEW-DEVICE-ID-part2
proxmox-boot-tool init /dev/disk/by-id/NEW-DEVICE-ID-part2
proxmox-boot-tool status
Clean up old entries:
proxmox-boot-tool refresh
proxmox-boot-tool clean
Questions:
Is this approach correct?
Are there any risks I should be aware of?
How can I ensure the first new SSD is bootable before replacing the second SSD?
Are there any checks I can perform before removing the second SSD to avoid system failure? My CTs are critical.
I’m currently running a Proxmox VE setup on a Hetzner AX161 server.
I need to replace my current SSDs with larger ones to gain more space. However, I don’t have any additional slots to add the new SSDs without removing the old ones first. I recently upgraded my HDDs (which store backups), but since they aren’t bootable, it was a simpler process.
Current Setup:
Boot Disk:
Purpose: Hosting the Proxmox system, root filesystem, and subvolumes for containers (CTs).
Configuration: 2 SSDs, mirrored ZFS pool (rpool)
Partitions: Each SSD has partitions for BIOS boot, EFI, and ZFS.
Data Disk:
Purpose: Used primarily for storing VZDump backups.
Configuration: 2 HDDs, mirrored ZFS pool (backup)
proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with legacy bios
A1EA-B59D is configured with: uefi (versions: 5.3.18-3-pve, 5.4.60-1-pve, 5.4.78-2-pve), grub (versions: 5.13.19-6-pve, 5.15.158-1-pve, 5.15.158-2-pve)
A1EB-05FB is configured with: uefi (versions: 5.3.18-3-pve, 5.4.60-1-pve, 5.4.78-2-pve), grub (versions: 5.13.19-6-pve, 5.15.158-1-pve, 5.15.158-2-pve)
My plan:
Enable autoexpand:
zpool set autoexpand=on rpool
Detach the old SSD:
zpool detach rpool /dev/disk/by-id/OLD-DEVICE-ID
Shutdown the server before Hetzner change SSD:
shutdown -h now
Partition the new SSD:
sgdisk /dev/disk/by-id/EXISTING-DEVICE-ID -R /dev/disk/by-id/NEW-DEVICE-ID
sgdisk -G /dev/disk/by-id/NEW-DEVICE-ID
Attach the new SSD:
zpool attach rpool /dev/disk/by-id/EXISTING-DEVICE-ID /dev/disk/by-id/NEW-DEVICE-ID
Monitor Resilvering:
zpool status
Rewrite Bootloader:
proxmox-boot-tool format /dev/disk/by-id/NEW-DEVICE-ID-part2
proxmox-boot-tool init /dev/disk/by-id/NEW-DEVICE-ID-part2
proxmox-boot-tool status
Clean up old entries:
proxmox-boot-tool refresh
proxmox-boot-tool clean
Questions:
Is this approach correct?
Are there any risks I should be aware of?
How can I ensure the first new SSD is bootable before replacing the second SSD?
Are there any checks I can perform before removing the second SSD to avoid system failure? My CTs are critical.