Re: Cloning to different disks.
>> Each machine only has 1 hard disk, but they all have a CD ROM and USB >> available. >> >> I have built a pristine system with all packages and ports installed >> that I need. >> >> I am now wanting to clone this to all the machines. The dificulty being >> that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, >> etc). >> > there is no difficulty. > > tar up your set to file, on disk or available on network (NFS for example) > > boot from live CD, make disklabels, do newfs and untar your set on each > machine, then change /etc/rc.conf - like hostname and IP If he set up the original on the box with the smallest drive really he need only make an image with dd on to a usb drive, boot to a live disk on the new machine, and write the image to the new disk. On disks with compatible interfaces you could temporarily install the drive and skip the usb portion. After the write he'll need to mount the new drive and modify rc.conf and fstab to the correct settings -- other then that he should be good. No disk(re)labeling needed. Sure you might be out some space if the other drives are substantially bigger but you can always add the partitions later. Depends if time is of the essence or not I guess. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cloning to different disks.
Grant Peel wrote: > Thanks Sir! > > > What is the easiest way to make sure the new disk is bootable. > > Also, it just occured to mewe have a few different versions of > SCSI drives SCSI-2 SAS etc. > > Can I assume the the da driver will handle all these OK...ie. should > not see any fstab problems? > > -Grant > > For fstab, I would consider labelling the partitions (see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html esp. the example at the end of the section). I am not very familiar with SCSI disks, but all should appear as 'da', the only problem is whether the drivers for the specific SCSI adapters are already in GENERIC. Otherwise, you would need to load them as modules or compile them in a custom kernel. To make sure your new disk is bootable: # fdisk -B -b /boot/boot0 /dev/da0 (use actual device name of course) or if you just need a standard MBR (no custom F1 ... F2 boot menu at start): # fdisk -B -b /boot/mbr /dev/da0 Then install boot1 and boot2 in your boot slice: # bsdlabel -B /dev/da0s1 For more information, see this handbook section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cloning to different disks.
What is the easiest way to make sure the new disk is bootable. bsdlabel -B disk (or disks1 and fdisk -B disk if you use MBR partitions at all). Also, it just occured to mewe have a few different versions of SCSI drives SCSI-2 SAS etc. this is no difference Can I assume the the da driver will handle all these OK...ie. should not see any fstab problems? just put right device names in fstab. nothing more ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cloning to different disks.
Each machine only has 1 hard disk, but they all have a CD ROM and USB available. I have built a pristine system with all packages and ports installed that I need. I am now wanting to clone this to all the machines. The dificulty being that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, etc). there is no difficulty. tar up your set to file, on disk or available on network (NFS for example) boot from live CD, make disklabels, do newfs and untar your set on each machine, then change /etc/rc.conf - like hostname and IP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cloning to different disks.
Thanks Sir! What is the easiest way to make sure the new disk is bootable. Also, it just occured to mewe have a few different versions of SCSI drives SCSI-2 SAS etc. Can I assume the the da driver will handle all these OK...ie. should not see any fstab problems? -Grant - Original Message - From: "Manolis Kiagias" To: "Grant Peel" Cc: Sent: Wednesday, July 01, 2009 3:40 PM Subject: Re: Cloning to different disks. Grant Peel wrote: Hi all, I have serveral machines that are running different versions of FreeBSD. Each machine only has 1 hard disk, but they all have a CD ROM and USB available. I have built a pristine system with all packages and ports installed that I need. I am now wanting to clone this to all the machines. The dificulty being that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, etc). I am wondering how everyone else might handle this situation. BTW, The new build uses a standard Generic kernel, i386 build. I was thinking of: Booting with a live CD, refdisking, labeling, then using dumps from memory stick. Comments please, -Grant Done that and it works. Don't forget also to install the boot blocks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cloning to different disks.
Grant Peel wrote: > Hi all, > > I have serveral machines that are running different versions of FreeBSD. > > Each machine only has 1 hard disk, but they all have a CD ROM and USB > available. > > I have built a pristine system with all packages and ports installed that I > need. > > I am now wanting to clone this to all the machines. The dificulty being that > they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, etc). > > I am wondering how everyone else might handle this situation. BTW, The new > build uses a standard Generic kernel, i386 build. > > I was thinking of: > > Booting with a live CD, refdisking, labeling, then using dumps from memory > stick. > > Comments please, > > -Grant > Done that and it works. Don't forget also to install the boot blocks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Cloning to different disks.
Hi all, I have serveral machines that are running different versions of FreeBSD. Each machine only has 1 hard disk, but they all have a CD ROM and USB available. I have built a pristine system with all packages and ports installed that I need. I am now wanting to clone this to all the machines. The dificulty being that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, etc). I am wondering how everyone else might handle this situation. BTW, The new build uses a standard Generic kernel, i386 build. I was thinking of: Booting with a live CD, refdisking, labeling, then using dumps from memory stick. Comments please, -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"