From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 20:15:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A51BA16A504 for ; Mon, 17 Apr 2006 20:15:28 +0000 (UTC) (envelope-from jtriende@wisc.edu) Received: from smtp6.wiscmail.wisc.edu (fafner.doit.wisc.edu [144.92.197.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50E4243D5D for ; Mon, 17 Apr 2006 20:15:25 +0000 (GMT) (envelope-from jtriende@wisc.edu) Received: from avs-daemon.smtp6.wiscmail.wisc.edu by smtp6.wiscmail.wisc.edu (iPlanet Messaging Server 5.2 HotFix 2.08 (built Sep 22 2005)) id <0IXV00H3XUXNJG@smtp6.wiscmail.wisc.edu> for freebsd-questions@freebsd.org; Mon, 17 Apr 2006 15:15:23 -0500 (CDT) Received: from [128.104.10.240] by smtp6.wiscmail.wisc.edu (iPlanet Messaging Server 5.2 HotFix 2.08 (built Sep 22 2005)) with ESMTPSA id <0IXV00MNRUXLSD@smtp6.wiscmail.wisc.edu>; Mon, 17 Apr 2006 15:15:21 -0500 (CDT) Date: Mon, 17 Apr 2006 15:15:21 -0500 From: James Riendeau In-reply-to: <000501c66256$90f01340$6401a8c0@GRANT> To: Grant Peel Message-id: MIME-version: 1.0 X-Mailer: Apple Mail (2.749.3) Content-type: text/plain; format=flowed; delsp=yes; charset=US-ASCII Content-transfer-encoding: 7BIT X-Priority: 3 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 X-Spam-PmxInfo: Server=avs-6, Version=5.1.2.240295, Antispam-Engine: 2.3.0.1, Antispam-Data: 2006.4.17.125104, SenderIP=0.0.0.0 References: <000501c66256$90f01340$6401a8c0@GRANT> Cc: freebsd-questions@freebsd.org Subject: Re: Copying a disk. 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: Mon, 17 Apr 2006 20:15:28 -0000 It really depends on your setup, but you should be able to run sysinstall to partition the disk (See: http://www.freebsd.org/doc/ handbook/install-steps.html ) Then, run something like: mount /dev/ad4s1a /mnt dump -L -0 -f- / | (cd /mnt; restore -r -v -f-) mount /dev/ad4s1b /mnt/var dump -L -0 -f- /var | (cd /mnt/var; restore -r -v -f-) mount /dev/ad4s1c /mnt/usr dump -L -0 -f- /usr | (cd /mnt/usr; restore -r -v -f-) mount /dev/ad4s1d /mnt/home dump -L -0 -f- /home | (cd /mnt/home; restore -r -v -f-) mount /dev/ad4s1e /mnt/tmp dump -L -0 -f- /tmp | (cd /mnt/tmp; restore -r -v -f-) &c. until all the partitions are copied. Note that the partition names under /dev will be different from the above depending on how you laid out the disk. Look at your fstab file located under /etc/ fstab and the output of the df command. That should give you a good idea on how to layout the new disk. You can make any of the partitions larger than the original, but you should probably avoid making them smaller unless your sure that your data will fit. James Riendeau MMI Computer Support Technician 1300 University Ave Rm. 436, Dept. of MedMicro Madison, WI 53706 Phone: (608) 262-3351 After-hours Phone: (608) 260-2696 Fax: (608) 262-8418 Email: jtriende@wisc.edu On Apr 17, 2006, at 2:38 PM, Grant Peel wrote: > Hi All, > > I finaly have a complete server disk (blank one). > > I was wondering what 'copy' strategy people would recomend. > > i.e how to copy a completly bootable server disk (75Gig SCSI) to > another identical disk. I have lots of server connections and SCSI > connections, so thats not an issue. > > I have a Copy of Norton Ghost (Systemworks 2003), or I can use > rsync (?). > > Any step by step would be appreciated. > > -Grant > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org"