From owner-freebsd-questions Fri Oct 6 9:51:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lasher.thario.com (lasher.thario.com [63.227.22.20]) by hub.freebsd.org (Postfix) with ESMTP id 3CD0E37B502 for ; Fri, 6 Oct 2000 09:51:19 -0700 (PDT) Received: from thario.com (ext-2059.rational.com [130.213.202.59]) by lasher.thario.com (8.11.0/8.11.0) with ESMTP id e96GpHR01881; Fri, 6 Oct 2000 10:51:18 -0600 (MDT) (envelope-from jim@thario.com) Message-ID: <39DE02FE.A802A4E0@thario.com> Date: Fri, 06 Oct 2000 10:51:10 -0600 From: Jim Thario X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: Moving partitions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi everyone. I have a 686 running FreeBSD 4.x with a 4 gigabyte hard disk. I'm going to add a 15 gigabyte disk to the machine and split the space on this disk between /var and /usr/home. Once the drive is installed, partitioned, formatted, ready and willing - is there anything special I need to consider when copying the directories and files over? Here is my process: mount the new /var parition as /newvar, for instance, and do a "cp -Rp" to copy everything over from /var to the /newvar partition. I will do the copy in single-user mode for extra safety. Next, I would add the entries into /etc/fstab for the new partition and restart the system. If that works, I will do the same for /usr/home. Am I missing anything? Is there a better or safer way to move this stuff? Thanks in advance! -- Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message