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 1Ll65E-0001wL-KK for garchives@archives.gentoo.org; Sat, 21 Mar 2009 18:38:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EED80E0110; Sat, 21 Mar 2009 18:38:10 +0000 (UTC) Received: from mail-fx0-f169.google.com (mail-fx0-f169.google.com [209.85.220.169]) by pigeon.gentoo.org (Postfix) with ESMTP id 973BBE0110 for ; Sat, 21 Mar 2009 18:38:10 +0000 (UTC) Received: by fxm17 with SMTP id 17so1137766fxm.34 for ; Sat, 21 Mar 2009 11:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HRzFJrQbst3SgbhW7CHT3s9/TQaFp/DOYkvxoXt80Xo=; b=t29mjLipjww6hJTO4UeQcqtMV2Qtpjg0dWluQztrkmMXo9+QyUV86u5oh7htJSbbxq ONCm3LGLs7yzHz+Q7XNDY54wfNdqImNLWp9010VHS8XVRy6JCtKySktgW1JGbYsq/94u YCdVxxeGP9mLeOjTor6gm2L1V70bZc70pT9dg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jSkUvCfDYU6G/o1c7BCi/dXRwOuPlzAyuEcR2RkAg43UbTZ8oZYFTwvMLq91nP+cjb HjLQGn+QifYa9OKij5v4wz+tc9yEcu+7o08gUsg9SjfXmQGDKZhoqvIl1Qcev/1brmFD gwvrOPClD97sZ7FU80mUJ4x33RM7/pGAI5lag= Received: by 10.86.95.20 with SMTP id s20mr2346588fgb.4.1237660690048; Sat, 21 Mar 2009 11:38:10 -0700 (PDT) Received: from ?192.168.1.20? (91-114-218-146.adsl.highway.telekom.at [91.114.218.146]) by mx.google.com with ESMTPS id 4sm974161fgg.5.2009.03.21.11.38.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Mar 2009 11:38:09 -0700 (PDT) Message-ID: <49C5344C.501@gmail.com> Date: Sat, 21 Mar 2009 19:39:08 +0100 From: Jarry User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] extending /usr partition... References: <49C52C76.4030609@gmail.com> <200903212012.57099.alan.mckinnon@gmail.com> In-Reply-To: <200903212012.57099.alan.mckinnon@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 2decc1e2-74d1-4786-84cf-5911178ff625 X-Archives-Hash: 93723ed6f5c6b43d09cf7cec706938d3 Alan McKinnon wrote: >> cp -a /mnt/gentoo/backup/var /mnt/gentoo/var >> cp -a /mnt/gentoo/backup/usr /mnt/gentoo/usr > > Um, no. This gives you new usr and var directories like so: > /usr/usr/ > /var/var > > You want: > cp -a /mnt/gentoo/backup/var /mnt/gentoo/ > cp -a /mnt/gentoo/backup/usr /mnt/gentoo/ Thanks for correction! > With lvm, this becomes a breeze. I remember having lvm2 a few years ago, and despite of that I could not extend any partition, which was being used. What is then lvm2 good for, if I can not extend partitions on-the-fly? I can not unmount /usr before extending... And one more counter-argument: with traditional partitions I can select where a certain partition is (physically). Those partitions accessed frequently I put to the beginning of the disk with higher transfer-rate. In my case, it makes quite difference: obelix ~ # hdparm -t /dev/md2 Timing buffered disk reads: 252 MB in 3.02 seconds = 83.23 MB/sec obelix ~ # hdparm -t /dev/md9 Timing buffered disk reads: 150 MB in 3.02 seconds = 49.72 MB/sec Jarry -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.