Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2004 15:38:42 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Sven Willenberger <sven@dmv.com>
Cc:        Konstantin 'Kosta' Welke <damaker@fillibach.de>
Subject:   Re: moving /usr to another partition
Message-ID:  <Pine.BSF.4.21.0407051538190.66234-100000@InterJet.elischer.org>
In-Reply-To: <40E9CDE8.4050803@dmv.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0407051538190.66234-100000>