-   Slackware (
-   -   Can you shrink a LUKS-encrypted physical volume? (LVM2) (

piratesmack 12-28-2009 03:02 AM

Can you shrink a LUKS-encrypted physical volume? (LVM2)
I have a 160GB harddrive with 2 partitions:
1. /dev/sda1 ext2 100MB (this is my /boot partition)
2. /dev/sda2 LVM2 Remaining space (this is my physical volume and is LUKS-encrypted)

There is 1 volume group, slackvg, and 3 logical volumes:
1. swap 2GB
2. root jfs 10GB
3. home jfs 50GB

I would like to shrink /dev/sda2 to make room for another regular partition, is this possible?



Looks like this is what I need.

Sorry, everyone, I really should have done some more googling before posting this. It was easy to find once I found the right words to search...

archtoad6 11-12-2010 11:40 AM

Thanks for posting the solution. That's the LQ spirit.

A suggestion for the future: If you answer your own question, put the solution in a separate post; this does 2 good things:
  • It generates e-mail to anyone who subscribed to either the thread or the forum.
  • It avoids the creation of oxymoronic 0-reply solved threads.

All times are GMT -5. The time now is 01:33 AM.