From owner-freebsd-questions Mon Sep 6 19:26:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from corvus.jeffnet.net (jeffreyj3.directlink.net [216.0.230.43]) by hub.freebsd.org (Postfix) with ESMTP id 1E9CC14C97 for ; Mon, 6 Sep 1999 19:26:33 -0700 (PDT) (envelope-from jeffries@jeffnet.net) Received: from localhost (jeffries@localhost) by corvus.jeffnet.net (8.9.3/8.9.3) with ESMTP id VAA07550 for ; Mon, 6 Sep 1999 21:29:35 -0500 (CDT) (envelope-from jeffries@jeffnet.net) Date: Mon, 6 Sep 1999 21:29:33 -0500 (CDT) From: Jeffrey Lynn Jeffries To: questions@freebsd.org Subject: Moving Filesystems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all, When I installed FreeBSD, I originally allocated 1.5g to /usr and about 6.4g to /home. I don't have as many users as I had originally anticipated, and /usr is almost full (67 MB free). I want to "resize" these two filesystems, but don't want to mess up any of the others on the disc. Will the following work?: - shut down to single user mode - perform a level 0 dump of /usr and /home - use sysinstall's label editor to remove the current filesystems, create the new ones, and format them using newfs - restore /usr and /home from dump files - start back in multi user mode (or should I reboot?) The concerns I have are: 1. Once I unmount /usr, I will no longer have access to certain binaries (those in /usr/bin and /usr/sbin). Do I/will I need anything from there? 2. Dump and restore shouldn't care that the filesystems are now different sizes (and possibly different names), right? 3. Will disklabel will rewrite /etc/fstab, if necessary? Is there anything else I need to do? Am I making too big of a deal out of this? -Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message