From owner-freebsd-questions@FreeBSD.ORG Sun Jun 15 22:11:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03DFB37B401 for ; Sun, 15 Jun 2003 22:11:31 -0700 (PDT) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2FBE43F3F for ; Sun, 15 Jun 2003 22:11:28 -0700 (PDT) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip.stjohn.ac.th ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with ESMTP id MAA15138 for ; Mon, 16 Jun 2003 12:09:22 +0700 (ICT) Message-Id: <5.2.0.9.0.20030616120100.00a47500@127.0.0.1> X-Sender: stjohn.stjohn.ac.th:mcrogerm@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Mon, 16 Jun 2003 12:11:25 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Can I delete a partition (or is it a slice?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 05:11:31 -0000 I have a chance to get my hands on a 4-GB hard drive that's being replaced by a 40-GB drive. My other machine really needs more space (it also has a 4-GB drive), and I'd like to move the /usr/home slice (or is it partition?) to the new(er) HDD and delete the /usr/home slice from the older drive. I presume the space would then be available to the /usr partition (the two are adjacent and /usr/home was created after /usr). Would deleting the slice cause my partition table to be rewritten with disastrous results? Or would it be better to set up three slices, for /, /var, and /usr, on the new drive, transfer the data from the old drive with backup and restore, backing up the contents of /usr/home to a tarball on the new drive, then repartition the old drive with a single slice, /usr/home, and copy the backup tarball? Also, since these two drives would be on the same cable, would using tar to transfer the data be faster than backup and restore? -- Roger