On Mon, Mar 17, 2008 at 04:31:45PM +0100, Jonas Meurer wrote:

> and now the interesting part:
> # mount /dev/mapper/test1 /mnt/
> # df -h /dev/mapper/test1 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/test1     291M  6.1M  270M   3% /mnt
> # lvresize -L+100M /dev/vg00/test 
>   Extending logical volume test to 400.00 MB
>   Logical volume test successfully resized
> # cryptsetup resize test1 
> # resize2fs /dev/mapper/test1 
> resize2fs 1.40.8 (13-Mar-2008)
> Filesystem at /dev/mapper/test1 is mounted on /mnt; on-line resizing required
> old desc_blocks = 2, new_desc_blocks = 2
> Performing an on-line resize of /dev/mapper/test1 to 409084 (1k) blocks.
> The filesystem on /dev/mapper/test1 is now 409084 blocks long.
> # df -h /dev/mapper/test1 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/test1     388M  6.3M  362M   2% /mnt
> so for me online resizing of luks partitions works quite well. could you
> verify that it doesn't for you?

I finally had the need of doing it.  I followed your steps exactly, and
indeed it worked perfectly.

Thank you!

Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to