mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
CX11 -> CX22: Same price and better specs! CX21 -> CX22: Cheaper price and same specs! CX31 -> CX32: Cheaper price and better specs! CPX11 -> CX22: Same price and similar spec! (for consistency) CPX21 -> CX32: Cheaper price and better specs! CPX41 -> CX42: Cheaper price and similar specs! Some of the CX11 servers are not rescaled as they are on older, cheaper grandfathered plans. [1] https://www.hetzner.com/news/new-cx-plans/
25 lines
544 B
Markdown
25 lines
544 B
Markdown
# Growing (partitioned) Disks
|
|
|
|
Our VPS are provisioned with 20G as CX22 by default. When one is resized the disk size usually changes.
|
|
To use the additional space, one needs to grow the partition and the filesystem.
|
|
|
|
## Resizing partition
|
|
|
|
Grow the partition with a tool called growpart
|
|
|
|
growpart /dev/sdX <partnum>
|
|
|
|
So for most of our machines this is:
|
|
|
|
growpart /dev/sda 1
|
|
|
|
## Resizing filesystem
|
|
|
|
This is straight forward
|
|
|
|
btrfs fi res max <mountpoint>
|
|
|
|
For most of our setups, being in the root homedir:
|
|
|
|
btrfs fi res max .
|