Upgrading Disks to bigger ones in zfs raid

stefluik

Member
Jan 20, 2021
13
0
6
56
Hello I just changed my disks with bigger ones. I just want to communicate, which commands I needed.
This is made with Ubuntu 20.04. I think, this will also work on similar linux systems.

Upgrade disk in zfs raid ( for each disk):
change disk (old disk is going offline, raid is going degraded)
replace disk: zpool replace data 'old-name(find in zpool status)' 'new-name(in /dev/disk/by-id/)'
check in zfspool status
sync
check fs size with df -h

That's enough
Stefan
 
In theory yes. Maybe you also need to set the autoexend zpool property, but you have to try.

If you're already running PVE, just create a new VM with two disks, install PVE inside of it and play around with disk resizing until you're familiar with everything. Then proceed to your live system.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!