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 1Id8ax-0006kp-Gc for garchives@archives.gentoo.org; Wed, 03 Oct 2007 18:05:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l93Hrl5F004215; Wed, 3 Oct 2007 17:53:47 GMT Received: from alnrmhc14.comcast.net (alnrmhc14.comcast.net [206.18.177.54]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l93HltUp029466 for ; Wed, 3 Oct 2007 17:47:55 GMT Received: from spore.ath.cx ([24.245.14.14]) by comcast.net (alnrmhc14) with ESMTP id <20071003174754b1400ou43qe>; Wed, 3 Oct 2007 17:47:54 +0000 Received: from pascal.spore.ath.cx (pascal.spore.ath.cx [192.168.1.100]) by spore.ath.cx (Postfix) with ESMTP id C7AB1107B for ; Wed, 3 Oct 2007 12:47:53 -0500 (CDT) Date: Wed, 3 Oct 2007 12:47:53 -0500 From: Dan Farrell To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Migrating a system Message-ID: <20071003124753.16813cdd@pascal.spore.ath.cx> In-Reply-To: <4702ADE3.5040105@electronsweatshop.com> References: <4702ADE3.5040105@electronsweatshop.com> Organization: Spore, Ltd. X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.13; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 277f4a52-009b-4663-a841-fccd066dbf37 X-Archives-Hash: 879c3746bced1515a5f9a5ad72fdf9e5 On Tue, 02 Oct 2007 16:45:23 -0400 Randy Barlow wrote: > So I was an idiot when I set up my system and didn't use LVM. Now > that I'm out of disk space on one of my drives and kicking myself, I > want to do it without doing a reinstall. If I use tar -cvjpf > oldSystemThatShouldStillWorkWhenUnTarred.tar.bz2 /, then setup LVM, > then tar all that junk back to the new system via tar -xvpf > oldSystemThatShouldStillWorkWhenUnTarred.tar.bz2 with / as my working > directory, should that do the trick (with, of course, another go at > grub-install)? Is the -p flag to tar enough to store ALL the > necessary file system information? I just want to make sure I'm not > forgetting anything... > > P.S. And I'll have to build LVM support into the kernel too... > > R You could always just move a few very large or very critical pieces of the filesystem (like /home) over to a new drive. Then you'd have lots of extra space and you'd have a backup disk to use in case your primary went down. You could also back up the primary stuff on an unmounted backup partition on the second drive, effectively providing an almost-hot backup. BTW, I highly recommend not compressing the archive >...tar.bz2 because it will take a really long time. Just tar it and leave it at that. It might be a few hundred megs bigger, but it'll get done before december. -- gentoo-user@gentoo.org mailing list