Grow / expand a ZFS volume

Hi, I need to expand a ZFS volume from 500GB to 800GB. I'd like to ask your help to confirm the following procedure:

Can I do it on the fly without bothering the users working on this volume?

Thank you in advance!

Yes, this can be done with the file system on line.

1 Like

Thanks. How about these two commands, correct or incorrect? What is requota?
By the way the pool has enough space. Nothing to worry about that.

# zfs set reservation=800G data/app1/u02

This one reserves 800G for u02 dataset from the available pool. So other zfs datasets will have only (total capacity of the pool - 800G) available for them. This is treated as the minimum capacity of u02 dataset and any decedent by default.

With quota you are setting the maximum value. So the dataset will not grow above 800G. That commands are good if this what you want!!

1 Like

Reservation is guaranteed minimum and quota is permitted maximum - I know this.

AFAIK, "requota" is not part of ZFS vocabulary or of any platform using it.

It might be a mistyped "repquota".

Done. Working well. Thanks!