blog.frals.se

random stuff

Manually expanding QNAP storage pool

If you like me just pulled drives from your QNAP when expanding instead of going through the “expand, pull one drive, wait for resync, pull another blabla” as the manual states, you can manually expand it by:

replace /dev/md0 with your md device from cat /proc/mdstat
mdadm --grow /dev/md0 --size=max
and then:
pvdisplay, grab the pv name for the storage pool you want to expand and pvresize /dev/drbd1

tada, all done!