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 1Q8Xem-0005A4-0i for garchives@archives.gentoo.org; Sat, 09 Apr 2011 12:52:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12FEDE041F; Sat, 9 Apr 2011 12:51:33 +0000 (UTC) Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) by pigeon.gentoo.org (Postfix) with ESMTP id CF022E041F for ; Sat, 9 Apr 2011 12:51:32 +0000 (UTC) Received: from [212.54.42.136] (helo=smtp5.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Q8XdP-0000HQ-91 for gentoo-user@lists.gentoo.org; Sat, 09 Apr 2011 14:51:27 +0200 Received: from 5ed02730.cm-7-1a.dynamic.ziggo.nl ([94.208.39.48] helo=data.antarean.org) by smtp5.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Q8XdO-0006vj-Jj for gentoo-user@lists.gentoo.org; Sat, 09 Apr 2011 14:51:26 +0200 Received: from localhost (localhost [127.0.0.1]) by data.antarean.org (Postfix) with ESMTP id 6BFCA38DC for ; Sat, 9 Apr 2011 14:51:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from data.antarean.org ([127.0.0.1]) by localhost (data.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sgAbqonWtYgD for ; Sat, 9 Apr 2011 14:51:33 +0200 (CEST) Received: from eve.localnet (eve.lan.antarean.org [10.20.13.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPS id 2B3531DE1 for ; Sat, 9 Apr 2011 14:51:33 +0200 (CEST) From: Joost Roeleveld To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] LVM for data drives but not the OS Date: Sat, 09 Apr 2011 14:51:25 +0200 User-Agent: KMail/4.6 beta4 (Linux/2.6.36-gentoo-r5; KDE/4.6.2; x86_64; ; ) In-Reply-To: <4D9FEE74.9060404@gmail.com> References: <4D9D9071.2050504@gmail.com> <4D9F9BFC.9020206@gmail.com> <4D9FEE74.9060404@gmail.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Message-Id: <20110409125133.6BFCA38DC@data.antarean.org> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Q8XdO-0006vj-Jj X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-0.928, vereist 5, BAYES_00 -1.90, RDNS_DYNAMIC 0.98, T_RP_MATCHES_RCVD -0.01) X-ZiggoSMTP-MailScanner-From: joost@antarean.org X-Spam-Status: No X-Archives-Salt: X-Archives-Hash: ef3814d1cecb7750350e75bf36ea2472 On Saturday 09 April 2011 00:28:20 Dale wrote: > OK. I learned something. Check this out: > > root@fireball / # df > Filesystem 1K-blocks Used Available Use% Mounted on > << SNIP >> > /dev/mapper/sdb--vg-test > 51606140 48910048 74652 100% /mnt/temp > root@fireball / # > > This is what I am doing here. As I posted a while ago, I created a 50Gb > LV. I attempted to copy about 75Gbs to it which filled it up but I > wanted to make sure it would. lol Then I used lvextend -L100G > /dev/mapper/sdb--vg-test to make it larger. I read I could do the same > thing with lvresize but the example I was reading showed lvextend. This > is what I got now: > > root@fireball / # lvdisplay > --- Logical volume --- > LV Name /dev/sdb-vg/test > VG Name sdb-vg > LV UUID mixhOb-La6D-BwG4-Uz3l-P0ci-oGg5-YI3mN8 > LV Write Access read/write > LV Status available > # open 1 > LV Size 100.00 GiB > Current LE 25600 > Segments 1 > Allocation inherit > Read ahead sectors auto > - currently set to 256 > Block device 254:0 > > root@fireball / # > > So, according to that it is 100Gbs which is what I wanted. Thing was, > it didn't work. So, hmmmm. Light bulb moment. Resize the file system > silly. After that, success. So, I created something that wasn''t big > enough, filled it up, made it bigger, fixed the file system and now it > is working. All while online too. That is the weird part. > > Still not comfy putting a OS on it but it is cool so far. Nice :) Btw, instead of specifying "final" size after resizing, you can actually tell it to "add" 20GB by doing: lvrextend -L+20G /dev/sdb-vg/test -- Joost