From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 22:38:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45FE9106564A for ; Thu, 8 Apr 2010 22:38:17 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-158.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 171D08FC1D for ; Thu, 8 Apr 2010 22:38:16 +0000 (UTC) Received: (qmail 14275 invoked by uid 0); 8 Apr 2010 22:38:16 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy2.bluehost.com with SMTP; 8 Apr 2010 22:38:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:X-Enigmail-Version:Content-Type:X-Identified-User; b=UUg5PVxQEzP5HHCXy7HvggPb7qvuYtVFwfZPH7CNANc40mLdFzY8zyNSPy5/XN1Htw/yFlfYnejX0e6pR2N9te6Adsrumj/FoRhwcirvyo2Oe7St1yC98mRkrHTmAECC; Received: from [206.74.86.236] (helo=[192.168.1.101]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1O00MZ-0006M7-Qs for freebsd-questions@freebsd.org; Thu, 08 Apr 2010 16:38:16 -0600 Message-ID: <4BBE5ACB.3010601@joseph-a-nagy-jr.us> Date: Thu, 08 Apr 2010 17:38:03 -0500 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.8) Gecko/20100324 Thunderbird/3.0.3 MIME-Version: 1.0 To: FreeBSD Questions X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFC5C8D394975F6E19A9D242C" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Adding a Disk and Changing Mountpoints X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2010 22:38:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFC5C8D394975F6E19A9D242C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Saturday I'll be adding a second 40GB and a tertiary 6GB disk to the system (in favor of adding a CD-RW to a system that already has a DVD super multi-format drive). I'd like to rearrange my mount points a bit. Here is my current fstab. # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /mnt/cdrom cd9660 ro,noauto 0 0 linproc /usr/compat/linux/proc linprocfs rw 0 0 Specifically I would like to move /usr/home to the 40GB drive and possibly move /var to the 6GB drive (depending on how the drive behaves). I know it should be as easy as moving the relevant directories to the new drives once the file systems have been finalized. I'm just curious as to any issues I might need to be on the watch for (obviously I'll be editing fstab before moving the directories, then issuing the mount command as appropriate). I'm doing this move specifically for space issues. My current drive (40GB) is nearly full (I only have 2.5GB left on /usr). I wish I wouldn't have deleted this mornings reports so I can give a run down on specifically how much is left everywhere, but it's getting pretty full. Once I've moved /var and /usr/home to their own disks, how can I reclaim what has already been allocated for them? Or will that happen automatically? Any specific concerns about that? Or would gparted and not fdisk be my friend here? By the way, the above is the default configuration for my system. I did nothing to modify the default values calculated when I did the install (I also plan on attacking my problem with jpeg that day too, running ldd left me with a 40+KB file to sort through). --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscrib= ed. --------------enigFC5C8D394975F6E19A9D242C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLvlrRAAoJEENZQ8DH7rW08D0H/338o1By/5EH7D4QcRqrE+49 TOHrNQLecj8mCebaLPuOAV8E2SYw/yNYiFsQ7lpOeUaeQeaJ9yuI5HuB7obesNzj /8VvYsoswqgaV4/8/FddvogcOhB21kMz23jqH692WrEG+n+PfJA86SsHlhYS+rCW WQniHfxtCWlT70n5VpLD7dglBLij4zrXta9as86tTVXIPeLxQDAutdwaeMaF++4l EQQR3JrdwDUdnpY/9Dpo146ENtGM3+I2blcFf4ZMri39tOxJCNfSh8Kz05on6L5H 9UQj5Fy6pHSBwEKshkKuORPXCtL5WKnVIFw1demhLv8xuAMLAKLFwYaVtv2BHi4= =eGgA -----END PGP SIGNATURE----- --------------enigFC5C8D394975F6E19A9D242C--