From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IiqyN-0002Mu-IJ for garchives@archives.gentoo.org; Fri, 19 Oct 2007 12:29:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9JCHDd9002440; Fri, 19 Oct 2007 12:17:13 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9JCBup9027904 for ; Fri, 19 Oct 2007 12:11:57 GMT Received: by wr-out-0506.google.com with SMTP id 36so410732wra for ; Fri, 19 Oct 2007 05:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=IAphAxn3cE+/VjlCNwpENnYWneCHQNvPn38gho6H9cI=; b=UhjbEPDFLisfnAnN7xsbE/+TXWEKN/68NmX8nxgILUMwltxFypM6UrUOX5Q9g9tmUBdV7bejGysqoLfP8awWuB+utYXNbdHpbpGsIOr2kEwNoNVQtobK44XfNreRtXxGax5vfNTrPBT0gpebc3d7ap7dP0PNWA2zo9Y07CGPwP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qnfmbZF04+/YUMRfvuhOPzASsk6h2qW4rPZ1iZpYMhZhLfOQjdR5Z2YhhCdI/HvRAKK8ei43fcAD4kUjeh9HCzcsgQI7YET2qQFoMRQZNymDgRuun+mzQ7eMlSDSQtimNlUJ8W5bXwsQYwwsfai/gTmotAQL7JcRKrikwWjqxJc= Received: by 10.114.60.19 with SMTP id i19mr1960107waa.1192795915238; Fri, 19 Oct 2007 05:11:55 -0700 (PDT) Received: by 10.114.47.4 with HTTP; Fri, 19 Oct 2007 05:11:55 -0700 (PDT) Message-ID: <6dc3c33d0710190511h5717ce59nf2224e4bd53c46db@mail.gmail.com> Date: Fri, 19 Oct 2007 08:11:55 -0400 From: "Don Jerman" Sender: djerman3@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: migrating to LVM In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1192635313.8037.8.camel@localhost> <200710181026.49494.dirk.heinrichs.ext@nsn.com> X-Google-Sender-Auth: 8f81671016b91b85 X-Archives-Salt: 0e7f75b8-50fb-4c6e-9382-3022f05c13e0 X-Archives-Hash: 80fd543600b1e6a299e7b10e0a08b13d On 10/19/07, Thufir wrote: > On Thu, 18 Oct 2007 10:26:49 +0200, Dirk Heinrichs wrote: > > > hda1: Windows > > hda2: Linux (/boot) > > hda3: Linux (/) > > hda4: PV for LVM (PV = Physical Volume) > > hdb1: PV for LVM > > > > The two PVs will be assigned to one Volume Group (VG), inside which you > > want to create LVs (Logical Volumes) for /usr, /var, /home/, swap, > > ... > > > > Is this correct? > > > Yes. > > Looking at HOWTO_Install_Gentoo_on_an_LVM2_root_partition>, and the section of the > Gentoo Handbook it points to, critical system files would be on / > partition, the root partition? > Usually, yes. If /boot and /root are not members of the LVM volume group it's much simpler to manage and recover from problems. It's possible to put everything on LV's (apparently grub even supports /boot on LV) but it means you have to have an initrd that can perform the LVM initialization from the ramdisk and swap all the critical partitions before starting the "real" init process. If that initialization goes wrong somehow it's not going to boot at all (no "linux single" rescue mode) so you're stuck going back to a non-LV boot method (CD, or a "rescue partition" or something). Once you get the juggling act right the risk is fairly small, but it does add more complexity to the boot process so there's more errors that can break it. So / and /boot will be smallish physical partitions - I use the minimum size for /boot and around 10G for root, and LVM manages anything that gets dynamically large or uncertain like /home/, /opt/, and application directories like /var/lib/mythtv/ or /var/spool/mail/. Anything that starts to eat up a large part of my root partition is a candidate for copying over to a LV later on. -- gentoo-user@gentoo.org mailing list