Date: Mon, 17 Apr 2006 15:15:21 -0500 From: James Riendeau <jtriende@wisc.edu> To: Grant Peel <gpeel@thenetnow.com> Cc: freebsd-questions@freebsd.org Subject: Re: Copying a disk. Message-ID: <F300E1DF-41F6-4612-8F92-0D848853FEA7@wisc.edu> In-Reply-To: <000501c66256$90f01340$6401a8c0@GRANT> References: <000501c66256$90f01340$6401a8c0@GRANT>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F300E1DF-41F6-4612-8F92-0D848853FEA7>