Date: Mon, 6 Sep 1999 21:29:33 -0500 (CDT) From: Jeffrey Lynn Jeffries <jeffries@jeffnet.net> To: questions@freebsd.org Subject: Moving Filesystems Message-ID: <Pine.BSF.4.10.9909062111460.7508-100000@corvus.jeffnet.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909062111460.7508-100000>
