Im having a demo lab atm and try to autogrow a zfs single disk, does someone know how to do this? (zfs is NOT used for boot atm, its a separate disk)
# physical disk shown in lsblk with new size
How can I expand the zfs file system? zpool list still shows old size and EXPANDSIZE is strangely only 8G.
Code:
apt update && apt install cloud-guest-utils
zpool set autoexpand=on zroot
growpart /dev/sda 4
# physical disk shown in lsblk with new size
Code:
root@custom-hw-image:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 223.6G 0 disk
|-sda1 8:1 0 260M 0 part
|-sda2 8:2 0 512K 0 part
|-sda3 8:3 0 8G 0 part
`-sda4 8:4 0 215.3G 0 part
How can I expand the zfs file system? zpool list still shows old size and EXPANDSIZE is strangely only 8G.
Last edited: