(no commit message)
authorstephan48 <stephan48@web>
Sat, 25 Mar 2023 15:12:51 +0000 (16:12 +0100)
committerIkiWiki <ikiwiki.info>
Sat, 25 Mar 2023 15:12:51 +0000 (16:12 +0100)
posts/2023-03-25-resize-partition-backed-encrypted-mdadm-lvm-pv.mdwn

index 2e6ff2dcf395f63691e46eea9ee41ee9a7dfe8db..2d6bdb1468391b0dde28216243a96b738884c824 100644 (file)
@@ -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
+```