[dm-crypt] expanding encrypted volume/growing the volume

Robert Nichols rnicholsNOSPAM at comcast.net
Wed Sep 10 03:59:03 CEST 2014


On 09/09/2014 04:52 PM, Ross Boylan wrote:
>   The FAQ advises wipeing it, though the
> only explicit reasons seem not much of a concern for space in a volume
> group (but later there are references to attacks available if the
> attacker can determine which sectors are unused).  As far as I know
> there is no way to access the unused area of the volume group ...

Easy.  Create a new LV in that VG and use "--extents 100%FREE" as
its size.  Fill that LV with whatever variety of random data you
choose, then delete that LV and use the space to expand your active
LV.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.



More information about the dm-crypt mailing list