From bb3325c87856778c0d334d77413a09d3e6f1524f Mon Sep 17 00:00:00 2001 From: stephan48 Date: Sat, 25 Mar 2023 16:13:42 +0100 Subject: [PATCH] --- ...-25-resize-partition-backed-encrypted-mdadm-lvm-pv.mdwn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 2d6bdb1..f8dfe1b 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 @@ -67,16 +67,21 @@ Number Start End Size Type File system Flags (parted) ``` + - Resize the Partitions (do this on all raid disks) ``` $ parted /dev/nvme1n1 GNU Parted 3.4 (parted) resizepart 2 1000G -- Reisze the RAID +``` + +- Resize the RAID + ``` $ mdadm --grow --size=max /dev/md127 ``` + - Resize cryptsetup volume ``` -- 2.30.2