Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2002 19:00:49 -0700
From:      "Corey Snow" <corey@snowpoint.com>
To:        freebsd-questions@freebsd.org
Subject:   Adding hard drive, moving /usr/src
Message-ID:  <3D0B8EE1.6924.A196528@localhost>

next in thread | raw e-mail | index | archive | help
Here's the situation. I have a machine that has a 540 MB hard drive. 
I'm running out of room on the /usr slice (partition?). It's fine as 
long as I don't try and download any of the source, but in order to 
make this box a headless one (cf my previous postings) I need to 
recompile the loader, and maybe even have to do a "make world" (I'm 
still researching that part. I hope not, because it would probably 
take days on this 486).

Problem is I can't download the all the sources I need because the 
/usr partition is running out of space. Lucky me, I've got some extra 
hard drives around. I can toss a second drive in, around 800 MB or 
so, and add it to the system. Then I can store my /usr/src files 
there.

So here's the questions:

1) How do you add a drive to a FreeBSD machine? Does the kernel have 
to be recompiled?

2) When I have the new drive in and set up, how can I relocate my 
/usr/src files to the new larger slice on the second drive? My 
thought was this: mv the files currently in /usr/src to a temp 
directory, like /usr/srctemp. Then edit fstab to mount the new slice 
to /usr/src and mv the files from srctemp into the new src directory. 
Is this the right approach?

Thanks and regards,

Corey Snow





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?3D0B8EE1.6924.A196528>