how to resize an encrypted logical volume?
- by Nirmik
I installed Ubuntu with encryption and LVM on my entire haddisk...
Now I want to resize it.
How do I do This...
Following this link gave me errors on step 2 -
How to resize a LVM partition?
error
ubuntu@ubuntu:~$ sudo e2fsck -f /dev/sda5
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sda5
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193
what do I do?