Commit 821a821e authored by Heather Ellsworth's avatar Heather Ellsworth
Browse files

Add note about partition to be resized

parent 3dcd376e
Pipeline #1726 passed with stage
in 41 seconds
......@@ -77,6 +77,8 @@ Expanding the Filesystem
The qcow2 image is built such that with a simple command, you can resize the root filesystem to fill the partitioned space.
.. note:: In this example, the filesystem to be resized is /dev/vda2 but it will depend on your host (could be /dev/sda2 or something similar).
Before the rootfs is resized, `df -h` will show you that /dev/vda2 has a size of 3.1Gb. To grow the partition, resize the /dev/vda2 partition and then check `df -h` again to see that it is now 31Gb::
purism@pureos:~$ sudo resize2fs /dev/vda2
......@@ -85,16 +87,9 @@ Before the rootfs is resized, `df -h` will show you that /dev/vda2 has a size of
old_desc_blocks = 1, new_desc_blocks = 4
The filesystem on /dev/vda2 is now 8172342 (4k) blocks long.
purism@pureos:~$ df -h
purism@pureos:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
udev 985M 0 985M 0% /dev
tmpfs 200M 1020K 199M 1% /run
/dev/vda2 31G 2.2G 28G 8% /
tmpfs 999M 0 999M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 999M 0 999M 0% /sys/fs/cgroup
/dev/vda1 172M 45M 114M 29% /boot
tmpfs 200M 15M 186M 8% /run/user/1000
Now your additional space on /dev/vda2 is immediately ready for use without any need to reboot.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment