Re: Online resizing LUKS? / cannot access volume

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

 



First of all, thanks for all your feedback!
Good to hear that you all did online resizing without problems, although
it puzzles me because chances for possibility 1) are now raising...

On Thursday 24 May 2007 14:04, Ma Begaj wrote:
>and as Dirk said, it should be:
>ext2online /dev/mapper/data0, not /data

Sorry, I forgot to mention that /dev/mapper/data0 is (ehm, was) mounted
on /data. According to the man page, it's possible to specify ext2online
{device|mountpoint}, and the resizing itself worked well (nice to see
how the free space comes part by part, instead of being enlarged at
once), at least on the fs level.

Henrik asked for a luksDump, here it is:

# cryptsetup luksDump /dev/vg0/data
LUKS header information for /dev/vg0/data

Version:        1
Cipher name:    aes
Cipher mode:    cbc-essiv:sha256
Hash spec:      sha1
Payload offset: 1032
MK bits:        128
MK digest:      74 5f 25 1f 6f 33 3a b2 d6 a5 66 27 5d 8e e7 d1 7a f9 c9 97
MK salt:        ab a8 0a 02 fa c6 0f 99 6f b4 9e 03 fd 65 43 15
                51 33 59 75 94 f3 0b f1 cb c1 8b c1 7c e0 9f fd
MK iterations:  10
UUID:           841ca606-1a6c-47bc-8913-4f8cab9fe065

Key Slot 0: ENABLED
    Iterations:             195605
    Salt:                   ae 39 47 5f 2b e0 b4 e3 17 d2 93 5e 8f f4 48 7d
                            b4 bc 09 d0 46 d0 a1 31 c6 10 2f 08 77 4a 80 e2
    Key material offset:    8
    AF stripes:             4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED

I don't think that resizing touches the part of the key unlocking data
(cannot imagine why it should need that), but in fact I know nothing
about what is done on resizing, and reading through the source is not my
first choice as I'm not really a developer.

I was just trying to compare ltrace outputs of luksOpen on data[01] to
see more in detail what's going on, but then I ran into a SIGSEGV after
a mlockall call. (?!? - I don't even know if this is ok or not...)
strace runs fine but the diff reveals nothing of interest.

I'm not yet willing to give up the data in this volume. Yes, I did a
backup, but it's from 2006 (duh) and there was quite some work in the
meantime. Yes, I will adjust backup frequency. ;-)

BTW, I'm using "Ubuntu 6.06.1 LTS" (kubuntu):
  cryptsetup-luks 1.0.3-0ubuntu1
  e2fsprogs       1.38-2ubuntu2
  lvm2            2.02.02-1ubuntu1.5

Best regards,
  Uwe

-- 
Uwe Menges, PGP Key ID 0x29F2841F
Encrypted e-mail preferred, see [http://gnupg.org] or [http://pgpi.org].

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux