From b3f44f497a1f4d51a8b32ba19860a5321fb5242d Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 9 Aug 2019 22:34:49 +0200 Subject: [PATCH] Add setup notes on resizing an LVM LV --- notes/nixos-setup.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/notes/nixos-setup.txt b/notes/nixos-setup.txt index 76c1e84..3936b0b 100644 --- a/notes/nixos-setup.txt +++ b/notes/nixos-setup.txt @@ -36,3 +36,9 @@ curl https://git.cryto.net/joepie91/morph-rc/raw/master/data/dummy-configuration nixos-install # NOTE: Don't forget to set a better root password over SSH after restarting + + +################################# + +# Resize LV to maximum available space: +lvresize --resizefs -l +100%FREE /dev/vg_main/lv_root