From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MCSj2-0001if-4e for garchives@archives.gentoo.org; Fri, 05 Jun 2009 06:16:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83913E051E; Fri, 5 Jun 2009 06:16:22 +0000 (UTC) Received: from smtp-relay2.uniserve.ca (smtp-relay2f.uniserve.ca [216.113.194.204]) by pigeon.gentoo.org (Postfix) with ESMTP id 63914E051E for ; Fri, 5 Jun 2009 06:16:22 +0000 (UTC) Received: from ip-144.83.126.206.dsl-cust.ca.inter.net ([206.126.83.144] helo=ca.inter.net) by smtp-relay2.uniserve.ca with smtp (Exim 4.69) (envelope-from ) id 1MCSiy-0006nE-Ob for gentoo-user@lists.gentoo.org; Thu, 04 Jun 2009 23:16:21 -0700 Received: by ca.inter.net (sSMTP sendmail emulation); Fri, 05 Jun 2009 02:16:20 -0400 Date: Fri, 5 Jun 2009 02:16:20 -0400 From: Philip Webb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] lvm2 questions Message-ID: <20090605061620.GB4753@ca.inter.net> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <1244156408.11916.7.camel@centar> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Sender-Info: purslow@ca.inter.net X-Scanner: OK. Scanned. X-Uniserve-Spam-Score: 0.1 1 (/) X-Uniserve-Spam-Report: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 RDNS_DYNAMIC Delivered to trusted network by host with dynamic-looking rDNS X-Archives-Salt: de475db5-4aef-4e58-8ebe-5f8833625369 X-Archives-Hash: b8df2ce16e1ebebfb5b36feae8844205 090604 Maxim Wexler wrote: > why give the logical volumes any size at all ? > If they can be expanded at will, > why not just the let the files fill them up as much as they need ? That's not how it works: you need to create the LVs with enough space for your likely needs & LVM then assigns them in its own way to the PVs; later, if you made an LV too small, you can increase it (you also have to extend the file system after you've done that, but of couse don't simply reformat the whole LV); if you want to decrease an LV -- rather unlikely in real life -- , the problem is that you may risk losing data, if that part is dropped: I would imagine the correct procedure is to copy everything somewhere -- another LV, another partition, a USB stick -- , then delete the LV & recreate it with the smaller size. When I set up LVM in my newly-built machine in Nov 2007 , I tried to estimate what each LV would need based on experience. Recently, I added a whole new LV & extended another, but otherwise LVM has worked flawlessly (even SystemRescue recognises it). -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca