This will create same disk partition on second disk.
My choice would be to use ufsdump. If you plan to boot from second disk, install boot loader on second disk using installboot command.
Now when i try to install a secondary scsi disk to clone (c1t1d0). I have the next problem, when do format i get the next:
# format
Searching for disks...Oct 20 22:50:31 beto scsi: WARNING: /pci@1f,0/pci@1/scsi@8/sd@1,0 (sd1):
Oct 20 22:50:31 beto offline
done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,0/pci@1/scsi@8/sd@0,0
1. c1t1d0 <drive type unknown>
/pci@1f,0/pci@1/scsi@8/sd@1,0
Specify disk (enter its number):1
AVAILABLE DRIVE TYPES:
0. Auto configure
1. Quantum ProDrive 80S
2. Quantum ProDrive 105S
3. CDC Wren IV 94171-344
4. SUN0104
5. SUN0207
6. SUN0327
7. SUN0340
8. SUN0424
9. SUN0535
10. SUN0669
11. SUN1.0G
12. SUN1.05
13. SUN1.3G
14. SUN2.1G
15. SUN2.9G
16. Zip 100
17. Zip 250
18. SUN36G
19. other
Specify disk type (enter its number): 18 <--- the disk: 36 gb
selecting c1t1d0
[disk unformatted]
When i try to make a format:
format> format
Ready to format. Formatting cannot be interrupted.
Continue?
Beginning format. The current time is Tue Oct 20 23:03:21 2009
Reserve failed
failed
I don't know why i can't format the second disk. Somebody help me?
go to /dev/dsk and dev/rdsk,
rm c1t1d*
devfsadm -Cv -c disks
then do format, make sure you see the second disk online, then choose the disk, choose option 0-Autoconfigure