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

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



ok, I have this in fstab:

/dev/evms/store         /store          xfs 
defaults,noatime,noauto,loop=/dev/loop0,encryption=AES256 0 0

Yes I got

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

so I guess Ill try it with the swap device first to try or somthing

So it is no risk if the crypted device is disabled and I resize ?

thx alot

thx alot


Jari Ruusu wrote:

>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@pp.inet.fi>
>  
>


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