From owner-freebsd-current@FreeBSD.ORG Mon Jul 5 22:38:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6845D16A4CE for ; Mon, 5 Jul 2004 22:38:46 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 146A043D4C for ; Mon, 5 Jul 2004 22:38:46 +0000 (GMT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004070522384401200041c7e>; Mon, 5 Jul 2004 22:38:45 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA52590; Mon, 5 Jul 2004 15:38:43 -0700 (PDT) Date: Mon, 5 Jul 2004 15:38:42 -0700 (PDT) From: Julian Elischer To: Sven Willenberger In-Reply-To: <40E9CDE8.4050803@dmv.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: Konstantin 'Kosta' Welke Subject: Re: moving /usr to another partition X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 22:38:46 -0000 On Mon, 5 Jul 2004, Sven Willenberger wrote: > > > Konstantin 'Kosta' Welke wrote: > > Hi! > > > > Diskspace is running low, so I'd like to move my /usr to another > > disk. I was told that cp -Rv is not a good idea and i should use > > dump instead. The problem is: That disk is big and half-full and > > I don't want to empty it. Is it possible to let restore work to > > a directory instead of a disk? Im not sure after reading the man > > page, google doesnt know either and I dont want to find out "the > > hard way". So i guessed it couldn't hurt to ask... > > > > If you have any hints or alternatives, please let me know! > > > I have done the following in the past: > > mount [new device] /usr2 > cd /usr > find . -print | cpio -pdumv /usr2 use -depth to ge tcorrect timestamps on directories.. > (perhaps do an fsck at this point) > modify /etc/fstab to point to new /usr partition and reboot > > Sven > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >