Date: Wed, 29 Sep 1999 01:14:10 +0200 (SAST) From: Khetan Gajjar <khetan@link.freebsd.os.org.za> To: Langa Kentane <evablunted@earthling.net> Cc: FreeBSD <Freebsd-questions@FreeBSD.ORG> Subject: RE: adding another drive to supplement disk space Message-ID: <Pine.BSF.4.10.9909290110450.2091-100000@kg.ops.uunet.co.za> In-Reply-To: <021901bf09ca$7463bb00$fba3f9cf@megared.net.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Sep 1999, Alejandro Ramirez wrote: >> How would I go about doing this. Do I just mkfs on the drive and copy >over >> everything in the /usr partition with all the file permission. Then what? >> Do I just mount it under /usr? > >AFAIK Yes. I've done this so often, it's scary. You need to boot into single-user mode for this. Use sysinstall to partition and label the disk (choose the custom install, create / edit the partition, label the disk, specify some arbitrary mount point, and write the changes). Then, check to see if the disk is mounted. If it is, just type cp -R /usr /mount_point_you_specified. Check the new drive/partition, and check that everything looks ok. If it does, edit your /etc/fstab, and either mount your old /usr somewhere else or hash it out (DON'T DELETE IT). Then, mount the new drive/partition in /usr. I wouldn't recommend trashing the old usr until you're 100% sure that everything is ok; I haven't ever had problems, but you never know. All of this is necessary (IMHO) even if you have made recent backups, and essential if you haven't. --- Khetan Gajjar (!kg1779) * khetan@iafrica.com ; khetan@os.org.za http://www.os.org.za/~khetan * Talk/Finger khetan@chain.freebsd.os.org.za FreeBSD enthusiast * http://www2.za.freebsd.org/ Stupidest quote heard : Who is this BSD, and why should we free him ? 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?Pine.BSF.4.10.9909290110450.2091-100000>