From owner-freebsd-questions Tue Sep 28 16:14:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kg.ops.uunet.co.za (kg.ops.uunet.co.za [196.31.1.31]) by hub.freebsd.org (Postfix) with ESMTP id 9CABA157DA for ; Tue, 28 Sep 1999 16:14:20 -0700 (PDT) (envelope-from khetan@link.freebsd.os.org.za) X-Disclaimer: Contents of this e-mail are the writer's opinion X-Disclaimer2: and may not be quoted, re-produced or forwarded X-Disclaimer3: (in part or whole) without the author's permission. Received: from localhost (khetan@localhost) by kg.ops.uunet.co.za (8.9.3/8.9.3) with ESMTP id BAA02213; Wed, 29 Sep 1999 01:14:10 +0200 (SAST) (envelope-from khetan@link.freebsd.os.org.za) Date: Wed, 29 Sep 1999 01:14:10 +0200 (SAST) From: Khetan Gajjar X-Sender: khetan@kg.ops.uunet.co.za Reply-To: Khetan Gajjar To: Langa Kentane Cc: FreeBSD Subject: RE: adding another drive to supplement disk space In-Reply-To: <021901bf09ca$7463bb00$fba3f9cf@megared.net.mx> Message-ID: X-Mobile: +27 82 9907663 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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