How to resize an encrypted LVM in RAID 1 in Linux?

Posted by user28712 on Super User See other posts from Super User or by user28712
Published on 2011-01-13T13:18:01Z Indexed on 2011/01/13 13:55 UTC
Read the original article Hit count: 243

Filed under:
|
|
|

Hi,

I am running 3 partitions in RAID 1.

Partition : Mountpoint : Filesystem : Encrypted : LVM
------------------------------------------------------
1         : /boot      : ext2       : No        : No
2         : /          : ext3       : Yes       : No
3         : /home      : xfs        : Yes       : Yes

It now happens that I have given the root of the system too few gigs; i would like to shrink the LVM (3) and give the root(2) more space. How can I do this safely without messing up the system? In what order do I have to resize the raid partitions, encryption, lvm, file systems?

Any help would be greatly appreciated.

Adriaan

© Super User or respective owner

Related posts about encryption

Related posts about resize