[zfs-discuss] Re: [osol-discuss] Cloning a disk w/ ZFS in it

2006-10-30 Thread Asif Iqbal
On 10/20/06, Darren J Moffat [EMAIL PROTECTED] wrote: Asif Iqbal wrote: On 10/20/06, Darren J Moffat [EMAIL PROTECTED] wrote: Asif Iqbal wrote: Hi I have a X2100 with two 74G disks. I build the OS on the first disk with slice0 root 10G ufs, slice1 2.5G swap, slice6 25MB ufs and slice7

Re: [zfs-discuss] Re: [osol-discuss] Cloning a disk w/ ZFS in it

2006-10-22 Thread Krzys
yeah disks need to be identical but why do you need to do prtvtoc and fmthard to duplicate the disk label (before the dd), I thought that dd would take care of all of that... whenever I used dd I used it on slice 2 and I never had to do prtvtoc and fmthard... Juts make sure disks are identical

Re: [zfs-discuss] Re: [osol-discuss] Cloning a disk w/ ZFS in it

2006-10-22 Thread Jonathan Edwards
you don't really need to do the prtvtoc and fmthard with the old Sun labels if you start at cylinder 0 since you're doing a bit - bit copy with dd .. but, keep in mind: - The Sun VTOC is the first 512B and s2 *typically* should start at cylinder 0 (unless it's been redefined .. check!) -

[zfs-discuss] Re: [osol-discuss] Cloning a disk w/ ZFS in it

2006-10-20 Thread Darren J Moffat
Asif Iqbal wrote: Hi I have a X2100 with two 74G disks. I build the OS on the first disk with slice0 root 10G ufs, slice1 2.5G swap, slice6 25MB ufs and slice7 62G zfs. What is the fastest way to clone it to the second disk. I have to build 10 of those in 2 days. Once I build the disks I slam

Re: [zfs-discuss] Re: [osol-discuss] Cloning a disk w/ ZFS in it

2006-10-20 Thread Richard Elling - PAE
minor adjustments below... Darren J Moffat wrote: Asif Iqbal wrote: Hi I have a X2100 with two 74G disks. I build the OS on the first disk with slice0 root 10G ufs, slice1 2.5G swap, slice6 25MB ufs and slice7 62G zfs. What is the fastest way to clone it to the second disk. I have to build 10

[zfs-discuss] Re: [osol-discuss] Cloning a disk w/ ZFS in it

2006-10-20 Thread Victor Latushkin
Darren J Moffat wrote: Asif Iqbal wrote: Hi I have a X2100 with two 74G disks. I build the OS on the first disk with slice0 root 10G ufs, slice1 2.5G swap, slice6 25MB ufs and slice7 62G zfs. What is the fastest way to clone it to the second disk. I have to build 10 of those in 2 days. Once I

Re: [zfs-discuss] Re: [osol-discuss] Cloning a disk w/ ZFS in it

2006-10-20 Thread Torrey McMahon
Victor Latushkin wrote: Darren J Moffat wrote: Asif Iqbal wrote: Hi I have a X2100 with two 74G disks. I build the OS on the first disk with slice0 root 10G ufs, slice1 2.5G swap, slice6 25MB ufs and slice7 62G zfs. What is the fastest way to clone it to the second disk. I have to build 10 of

Re: [zfs-discuss] Re: [osol-discuss] Cloning a disk w/ ZFS in it

2006-10-20 Thread Richard Elling - PAE
Victor Latushkin wrote: It seems that if you clone disks bit for bit you'll end up with the same hostid for all boxes and this may be confusing. Geez, just spoof them to something different, if you must. -- richard ___ zfs-discuss mailing list