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 1Q7o3j-0005Lw-KV for garchives@archives.gentoo.org; Thu, 07 Apr 2011 12:11:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7AC21C059; Thu, 7 Apr 2011 12:10:04 +0000 (UTC) Received: from smtpq3.gn.mail.iss.as9143.net (smtpq3.gn.mail.iss.as9143.net [212.54.34.166]) by pigeon.gentoo.org (Postfix) with ESMTP id 95CE21C059 for ; Thu, 7 Apr 2011 12:10:04 +0000 (UTC) Received: from [212.54.34.146] (helo=smtp15.gn.mail.iss.as9143.net) by smtpq3.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Q7o2F-0004MM-Qb for gentoo-user@lists.gentoo.org; Thu, 07 Apr 2011 14:10:03 +0200 Received: from 5353c7ed.cm-6-4d.dynamic.ziggo.nl ([83.83.199.237] helo=data.antarean.org) by smtp15.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Q7o2B-0006rY-2Z for gentoo-user@lists.gentoo.org; Thu, 07 Apr 2011 14:09:59 +0200 Received: from localhost (localhost [127.0.0.1]) by data.antarean.org (Postfix) with ESMTP id 930BC2962 for ; Thu, 7 Apr 2011 14:10:10 +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 5xFynGoubQK1 for ; Thu, 7 Apr 2011 14:10:10 +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 48CCA1390 for ; Thu, 7 Apr 2011 14:10:10 +0200 (CEST) From: Joost Roeleveld To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] LVM for data drives but not the OS Date: Thu, 07 Apr 2011 14:09:58 +0200 User-Agent: KMail/4.6 beta4 (Linux/2.6.36-gentoo-r5; KDE/4.6.2; x86_64; ; ) In-Reply-To: <4D9D9C28.9070403@gmail.com> References: <4D9D9071.2050504@gmail.com> <20110407104936.635DD2962@data.antarean.org> <4D9D9C28.9070403@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: <20110407121010.930BC2962@data.antarean.org> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Q7o2B-0006rY-2Z 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: abf8a154eac2e47453919557a02a4def On Thursday 07 April 2011 06:12:40 Dale wrote: > Joost Roeleveld wrote: > > On Thursday 07 April 2011 05:22:41 Dale wrote: > > You will need to do it in the following steps though: > > - create PV, LVM and LV on the new drive > > - copy data over > > - create PV on old drive and add it to LVM > > Contact me or list if you need help with the actual commands and syntax. > > (There are plenty of howtos around) > > I was reading the howto on a couple sites and it sounded like this could > be done. Glad to know I would have to copy the files over to a LVM > drive tho. That info was something I didn't know. I was hoping for > some magic. lol As far as I know, there is no "automatic conversion tool" for most of these. Switching from non-raid to RAID-1 (mirroring) is the only one I think that might work. > >> I want to do it this way because I don't trust LVM enough to put my OS > >> on. Just my personal opinion on LVM. > > > > Interesting argument. You don't trust LVM, so you put your personal > > files on there, but not the easily replacable stuff like OS? :) > > I like my OS setup and don't want to have to reinstall. Although Gentoo > has never let me down yet, I don't want to add to the confusion. If I > can boot and get to my email, I can get help to fix LVM if needed. I > also keep a backup of my personal files. I could recover the things I > don't backup tho. Most of my concern is my lack of experience with > LVM. If I was a guru on it, I might feel better about it. Worst case I had: the metadata was incorrect. This was back with 2.6.18 kernels though. That was also easily recovered as all the LVM-tools, with default configuration, backup the metadata to a text-file before/after making any chances. You can then easily recover if anything goes wrong :) > > Please note, I have not lost data related to issues with LVM. I have, in > > the distant past, lost data related to issues with filesystems. > > Because of the latter, I rely on a combination of RAID-subsystems with > > LVM on top and reliable backups :) > > > > -- > > Joost Roeleveld > > Unless someone has a better idea, I think LVM is about all I can find > that would do this. The drives won't be even close to each other. I > hope I can find a nice 2Tb drive that I can afford. ;-) Maybe that > will last a while. The 750Gb drive did last a pretty good while. I'm > not sure after that tho. I've got 6 * 1.5TB drives in RAID-5 for documents and media and we have about 2TB left. But with our usage, I'll probably have to look into extending that later this year. > Thanks for the info. It did add to my knowledge and settle one of my > questions. Always glad to help. -- Joost