Re: Ok to resize XFS Volume with EVMS , loop AES256 crypted ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christophe Zwecker wrote:
> I run gentoo 1.4RC2 with a 430 GB Volume with EVMS and crypted with
> AES256  version 1.7b.
> 
> It is a Hardware raid5 (3ware). Now I want to add another HD, expand the
> RAID5 and expand the partition via EVMS and then expand the XFS
> Filesystem. I wonder if I will get problems because the partition is a
> loop AES256 partition ?
> 
> Im kinda scared I might loose data :-)

Resizing of loop devices while they are active is not supported. If your
setup is:

    XFS filesystem -> loop -> EVMS -> raid5 disks

Then resizing may succeed if you do:

    1) Unmount your XFS filesystem
    2) Detach loop device with 'losetup -d ....'
    3) Do EVMS magic to expand size
    4) Setup loop device again to expanded device
    5) Mount your XFS filesystem
    6) Resize your XFS filesystem

Steps 2 and 4 are not necessary if you have
'loop=/dev/loop?,encryption=AES256' mount options in your /etc/fstab.

Regards,
Jari Ruusu <jari.ruusu@xxxxxxxxxx>

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux