From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ric Wheeler Subject: Re: [dm-devel] generic wrappers for multi-device FS operations Date: Wed, 09 Mar 2011 10:13:50 -0500 Message-ID: <4D77992E.1020909@gmail.com> References: <4D766199.4010307@gmail.com> <20110308174308.GP10767@agk-dp.fab.redhat.com> <20110309142325.GA11312@agk-dp.fab.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: Wendy Cheng , Linux FS Devel , device-mapper development , Karel Zak , Jim Meyering Received: from mail-vw0-f46.google.com ([209.85.212.46]:36042 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757057Ab1CIPN5 (ORCPT ); Wed, 9 Mar 2011 10:13:57 -0500 Received: by vws12 with SMTP id 12so532968vws.19 for ; Wed, 09 Mar 2011 07:13:56 -0800 (PST) In-Reply-To: <20110309142325.GA11312@agk-dp.fab.redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 03/09/2011 09:23 AM, Alasdair G Kergon wrote: > On Tue, Mar 08, 2011 at 10:05:40AM -0800, Wendy Cheng wrote: >> So the "resize" is on the filesystem, not the volume ? The "grow" part >> is probably easy. Unfortunately, the "shrink" may not be easy for some >> of the filesystems: > The LVM situation today works both ways around. > > You can use 'lvresize' with an option to resize the filesystem too, > or use 'fsadm' with an option to resize the LV. We felt that 'fsadm' > was a more-natural approach: allow the user to resize their filesystem > and automatically adjust the things underneath as necessary. > > Long term, we'd like it to be possible to configure a system for resizing > entire device stacks both top down (fsadm) and bottom up (triggered by the > appropriate Unit Attention). > > (The current fsadm script was written as a proof-of-concept under the > constraint of just wrapping existing binaries. Of course there are cleaner > ways to do it when you allow filesystem-specific code.) > > Alasdair Is anyone actively looking at taken it beyond proof of concept? Ric