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 <gentoo-user+bounces-131451-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RTWry-0003NI-OV for garchives@archives.gentoo.org; Thu, 24 Nov 2011 10:49:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35EA321C03D; Thu, 24 Nov 2011 10:49:21 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id ADD8DE0459 for <gentoo-user@lists.gentoo.org>; Thu, 24 Nov 2011 10:48:31 +0000 (UTC) Received: by yenm3 with SMTP id m3so3178224yen.40 for <gentoo-user@lists.gentoo.org>; Thu, 24 Nov 2011 02:48:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=Kr97he7Km+wkkKl7MP9gdtwe6NEC99eK2P6RvFdeeQA=; b=cXhMY/wd2QRyJB+MEg8oEfAgyVSQQ80+EpFOQAVmSYIS/VXdXaSCPtqg5lkeUwLy9R aoBgelS5YzAhvYj4XwMMxzMAYw+SloG1DMg/d/mvpjprjAjg5h9uuFWwrigeDn1rOiSQ cmO1R4+yeAKa23r7+H4FA6u5Qfkx/dN5WUXP4= Received: by 10.236.181.225 with SMTP id l61mr40266845yhm.131.1322131711245; Thu, 24 Nov 2011 02:48:31 -0800 (PST) Received: from [192.168.2.5] (adsl-65-0-66-118.jan.bellsouth.net. [65.0.66.118]) by mx.google.com with ESMTPS id m33sm57004607ann.4.2011.11.24.02.48.29 (version=SSLv3 cipher=OTHER); Thu, 24 Nov 2011 02:48:30 -0800 (PST) Message-ID: <4ECE20FC.1070207@gmail.com> Date: Thu, 24 Nov 2011 04:48:28 -0600 From: Dale <rdalek1967@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111022 Firefox/7.0.1 SeaMonkey/2.4.1 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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] LVM and LABELS in fstab References: <4EC47700.2060707@gmail.com> <4ECC8990.7080106@gmail.com> <20111123133116.5cf32784@hactar.digimed.co.uk> <4ECD448B.3050603@gmail.com> <20111123211729.62c264cd@digimed.co.uk> <4ECD9D9A.4030908@gmail.com> <4ECDB9F8.30006@gmail.com> <4ECDC266.1040101@wonkology.org> <4ECDC9EC.1090404@gmail.com> In-Reply-To: <4ECDC9EC.1090404@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: d55fdd72-b7df-475e-973a-6a5f5ea4f958 X-Archives-Hash: 788efadd82654ab30d57a7c32c96ff2d Dale wrote: > > So, the commands is something like this: > > resize2fs /dev/mapper/data-data1 400G < this should make the VG a > absolute size of 400Gbs which leaves a little room left over. If I > used a - in front, it would reduce by that amount. > > lvreduce -L 400G /dev/data/data1 < I assume I can make this the same > size as above? > > pvmove -v /dev/sdb1 > pvremove /dev/sdb1 > For some poor soul that is as new to LVM as I am. Here is the commands I ended up using: umount /data e2fsck -f /dev/mapper/data-data1 resize2fs /dev/mapper/data-data1 400G lvreduce -L 400G /dev/data/data1 pvmove -v /dev/sdb1 I did have to unmount it first. It just wouldn't proceed without that one. It then told me I had to run fsck on it too. Other than that, it seems to have worked fine. Now to figure out a few other things. I may be back. o_O Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!