Hello Proxmox Community,
I’m currently running a Proxmox VE setup on a Hetzner AX161 server and am planning to upgrade my storage. Here’s an overview of my current configuration and what I intend to do:
Ana
I’m currently running a Proxmox VE setup on a Hetzner AX161 server and am planning to upgrade my storage. Here’s an overview of my current configuration and what I intend to do:
Current Setup:
- Boot Disk: Mirrored SSDs (rpool):
- Purpose: Hosting the Proxmox system, root filesystem, and subvolumes for containers (CTs).
- Configuration: Mirrored ZFS pool (rpool), identified as SSDs.
- Datasets: rpool/ROOT/pve-1 is mounted as /, and several container subvolumes are under rpool/data.
- Data Disk: Mirrored HDDs (backup):
- Purpose: Used primarily for storing VZDump backups.
- Configuration: Mirrored ZFS pool (backup) with two 2 TB HDDs.
Planned Upgrade:
I want to replace the existing 2 TB HDDs in the backup pool with new 8 TB HDDs. I’m considering the following approach:- Add the First 8 TB HDD:
- Confirm there is available space or temporarily remove one 2 TB HDD to add the new 8 TB HDD.
- Add the new 8 TB HDD to the server.
- Replace One of the 2 TB HDDs:
- Use the ZFS replace command to replace the first 2 TB HDD with the new 8 TB HDD. (example: zpool replace backup /dev/sdd /dev/sdc)
- Monitor and complete the resilvering process. (via pool status backup)
- Remove the Replaced 2 TB HDD:
- Once resilvering is done, remove the old 2 TB HDD.
- Add the Second 8 TB HDD:
- Add the second 8 TB HDD to the server.
- Replace the Remaining 2 TB HDD:
- Use the ZFS replace command to replace the remaining 2 TB HDD with the second 8 TB HDD.
- Monitor and complete the resilvering process.
- Expand the ZFS Pool:
- After both drives are replaced and resilvering is complete, expand the backup pool to utilize the full 8 TB capacity using the ZFS autoexpand feature (example: zpool set autoexpand=on backup)
Questions:
- Is this step-by-step approach the best way to replace my existing 2 TB HDDs with 8 TB HDDs while ensuring data integrity and minimal downtime?
- Are there any risks or potential issues I should be aware of during this process?
- Do I need to manually set autoexpand=on before or after the drive replacement, or is it automatic?
- Given my current setup, is there anything else I should consider or prepare for before starting the upgrade?
Ana