From 8c54e4d02e9508cd30f0a0eef29cc41ec44344a6 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Wed, 14 Oct 2020 14:47:51 +0200 Subject: [PATCH] Implemented volume expand --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e21bb5f..f13d323 100644 --- a/README.md +++ b/README.md @@ -291,8 +291,16 @@ exit ssh-keygen -f "$HOME/.ssh/known_hosts" -R your_server_ip ssh root@your_server_ip ``` -## 7. Debugging -### 7.1 Login to System from Rescue System + +#### 7. Expand filesystem +:computer: : +```bash +lvresize -l +100%FREE /dev/vg0/root +btrfs filesystem resize max / +``` + +## 8. Debugging +### 8.1 Login to System from Rescue System :ambulance: : ```bash cryptsetup luksOpen /dev/md1 cryptroot @@ -303,7 +311,7 @@ mount --bind /sys /mnt/sys mount --bind /proc /mnt/proc chroot /mnt ``` -### 7.2 Logout from chroot environment +### 8.2 Logout from chroot environment :ghost: :ambulance: : ```bash exit @@ -313,7 +321,7 @@ sync reboot ``` -### 7.3 Regenerate GRUB and Arch +### 8.3 Regenerate GRUB and Arch :ghost: : ```bash mkinitcpio -p linux