linux:scribble
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
linux:scribble [2014/11/21 12:24] – Add git stybla | linux:scribble [2015/11/26 04:40] – how to resize loop-AES partition stybla | ||
---|---|---|---|
Line 223: | Line 223: | ||
multilibs from time to time), so that might be the issue behind error above. But libvirt | multilibs from time to time), so that might be the issue behind error above. But libvirt | ||
is long gone, replaced and forgotten now. | is long gone, replaced and forgotten now. | ||
+ | |||
+ | ===== loop-AES ===== | ||
+ | |||
+ | ==== Resize encrypted LVM backed partition ===== | ||
+ | |||
+ | < | ||
+ | root@foo:# umount /encrypted | ||
+ | |||
+ | root@foo:# lvextend -L +1T / | ||
+ | |||
+ | root@foo:# losetup -F /dev/loop3 | ||
+ | Password: | ||
+ | |||
+ | root@foo:# fsck -f /dev/loop3 | ||
+ | fsck from util-linux 2.22.1 | ||
+ | e2fsck 1.42.6 (21-Sep-2012) | ||
+ | Pass 1: Checking inodes, blocks, and sizes | ||
+ | Pass 2: Checking directory structure | ||
+ | Pass 3: Checking directory connectivity | ||
+ | Pass 4: Checking reference counts | ||
+ | Pass 5: Checking group summary information | ||
+ | /dev/loop3: 1065215/ | ||
+ | |||
+ | root@foo:# resize2fs / | ||
+ | resize2fs 1.42.6 (21-Sep-2012) | ||
+ | Resizing the filesystem on /dev/loop3 to 506573824 (4k) blocks. | ||
+ | The filesystem on /dev/loop3 is now 506573824 blocks long. | ||
+ | |||
+ | root@foo:# mount /encrypted | ||
+ | </ | ||
+ | |||
+ | Funny thing is, it seems much harder to resize encrypted partition via cryptsetup/ | ||
===== OpenOffice/ | ===== OpenOffice/ |
linux/scribble.txt · Last modified: 2022/07/06 17:27 by stybla