1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-02-22 10:24:47 +01:00

Structure:

- main wiki folder added
- removed partition into software-types
- thinking about partition by software/general
This commit is contained in:
TiynGER
2020-10-22 20:13:26 +02:00
parent 8b26722073
commit f04a6752f7
45 changed files with 31 additions and 35 deletions

19
wiki/disk-management.md Normal file
View File

@@ -0,0 +1,19 @@
# Disk Management
## Grow non-LVM ext4 partition
ATTENTION: Please note that the partition to enlarge has to be the last one with the free space after it.
SSH into the VM.
- run `lsblk` check if the disk size has changed
- if not `reboot` the virtual machine
In the following it is assumed that the partition to enlarge is `/dev/sda2`
- change the size of the partition with `parted /dev/sda`
- inside of parted run `print free` and check where the free space after your partition ends
- run `resizepart` and follow the instructions; End is the number you checked in the last step
- `quit` parted
Now you need to resize the filesystem with `resize2fs /dev/sda2`.