From: stephan48 Date: Sat, 25 Mar 2023 15:12:51 +0000 (+0100) Subject: (no commit message) X-Git-Url: https://blog.stejau.de/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ed96eb054c783ec367bc4b83854ad8eeef1872b;p=stejau-blog.git --- diff --git a/posts/2023-03-25-resize-partition-backed-encrypted-mdadm-lvm-pv.mdwn b/posts/2023-03-25-resize-partition-backed-encrypted-mdadm-lvm-pv.mdwn index 2e6ff2d..2d6bdb1 100644 --- a/posts/2023-03-25-resize-partition-backed-encrypted-mdadm-lvm-pv.mdwn +++ b/posts/2023-03-25-resize-partition-backed-encrypted-mdadm-lvm-pv.mdwn @@ -6,6 +6,8 @@ I have a couple of systems which have a variation of the following "stack": - dm-crypt luks - lvm or partition +I want to resize them online, without shutting down the system or components at all. This is the documentation how i normally do this. + We need some infos: - Identify the relevant vg to extend @@ -96,3 +98,9 @@ $ pvs /dev/mapper/frey-fast-crypt frey-fast-vg lvm2 a-- 837.11g 159.11g ... ``` + +If you don't have a LVM on/inside the LUKS/cryptsetup you can just use your filesystems resize mechanism: + +``` +resize2fs /dev/mapper/frey-fast-crypt +```