Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 22:50:38 +0200
From:      Willem Brown <willem@brwn.org>
To:        "Richard E. Hawkins" <hawk@fac13.ds.psu.edu>
Cc:        "Alain G. Fabry" <fabry@panam.edu>, FreeBSD-questions@FreeBSD.ORG
Subject:   Re: Beginner's question
Message-ID:  <20000622225038.L36643@snoopy.brwn.org>
In-Reply-To: <200006221949.PAA04196@fac13.ds.psu.edu>; from hawk@fac13.ds.psu.edu on Thu, Jun 22, 2000 at 03:49:41PM -0400
References:  <016801bfdc7b$efb507d0$5531d5c6@coserve.org> <200006221949.PAA04196@fac13.ds.psu.edu>

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

I think this might be a better way of doing it.

cd /usr
tar cf - * | (cd /mnt; tar xvpf -)

Make the changes to the /etc/fstab so that /usr gets mounted on the
new slice. Reboot and then do what you like with the old one.

Regards
Willem Brown

On Thu, Jun 22, 2000 at 03:49:41PM -0400, Richard E. Hawkins wrote:
> > I've just installed a new HD, mounted it to /mnt. I've got an old drive /usr
> > (92% full)
> > What do I need to do to "map" the new drive (lots of space) to /usr and
> > create some more space on /usr?
> 
> I don't think I"ve seen an answer, so . . .
> 
> I'd boot as single user, or otherwise make sure no daemons, etc.
> are running.
> 
> Then 
> 
>   cd /usr
>   mv * /mnt
>   cd /
>   mount /dev/whatever /usr
> 
> then edit /etc/fstab to reflect that mounting, and you should be
> in business
> 
> hawk
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

-- 
 /* =============================================================== */
 /*      Linux, FreeBSD, NetBSD, OpenBSD. The choice is yours.      */
 /* =============================================================== */

Nothing is ever as simple as it seems.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000622225038.L36643>