From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dingo.eclaireurs.org (dingo.eclaireurs.org [91.121.140.153]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 2 Sep 2009 12:12:48 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by dingo.eclaireurs.org (Postfix) with ESMTP id 72F08299F7 for ; Wed, 2 Sep 2009 12:12:47 +0200 (CEST) Received: from dingo.eclaireurs.org ([127.0.0.1]) by localhost (dingo.eclaireurs.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q2Woa4vHgIuh for ; Wed, 2 Sep 2009 12:12:47 +0200 (CEST) Received: from [81.220.96.181] (ip-181.net-81-220-96.nantes.rev.numericable.fr [81.220.96.181]) by dingo.eclaireurs.org (Postfix) with ESMTPSA id E3B4129A46 for ; Wed, 2 Sep 2009 12:12:46 +0200 (CEST) Message-ID: <4A9E451C.5010101@gilouweb.com> Date: Wed, 02 Sep 2009 12:12:44 +0200 From: Gilles PIETRI MIME-Version: 1.0 References: <7020fd000909011814m147b1d15xb0219d34d33d31f1@mail.gmail.com> In-Reply-To: <7020fd000909011814m147b1d15xb0219d34d33d31f1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] cryptsetup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 02/09/2009 03:14, solarflow99 wrote: > can anyone say if this command is needed when resizing a partition? > What if I just used resize2fs? how could it know about the change of > size? Also its a shame information like this has to be a secret, no one > seems to know or say anything about it. > > Thanks, > I have a question myself that is somehow related.. I do not know much about the internals of the payload alignment (--align-payload option of luksFormat), but I thought about something.. Say I have a RAID device of 6 disks, that I have a stripe size of 64K, and that I use --align-payload (stripe width is 512 blocks here). Fine, should be aligned with the stripes. Now, say that I add a disk there and migrate the array over it, the stripe width will increase to 640 blocks.. but how can I tell luks about it? Should I? Maybe newly written data could benefit from being aligned to the new stripe width (and let us say it won't be optimal for older data, but so be it)? I know that xfs can then deal with the swidth growth by specifying the info in the mount options, so once cryptsetup knows about the geometry change, it should be fine.. Cheers, Gilou