meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:fs:zfs:shrink [2021/12/03 12:48] – niziak | linux:fs:zfs:shrink [2024/02/16 07:49] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== ZFS: resize zpool ====== | ||
| + | |||
| + | ===== extend pool ===== | ||
| + | |||
| + | Get device name used in pool: | ||
| + | <code bash> | ||
| + | zpool status nvmpool | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | # resize / | ||
| + | parted / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | resizepart 3 | ||
| + | End ? [X.XGB]? | ||
| + | quit | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | zpool online -e nvmpool nvme0n1p3 | ||
| + | </ | ||
| + | |||
| ====== ZFS: shrink zpool ====== | ====== ZFS: shrink zpool ====== | ||