When you setup multiple disks, for example to create a RAID 1 in Solaris, you may want to create one disk and copy exactly the same layout in another disk, you could do it with the format utility or you could create just the partitions in one disk and propagate it to another:
fmthard -s /tmp/disk1.txt -n "" /dev/rdsk/c1d1s2
fmthard -i -n "" /dev/rdsk/c0d1s2 > /tmp/disk1.txt














1 user commented in " Propagate the disk layout in Solaris "
Follow-up comment rss or Leave a Trackbacki think that way would be more elegant:
prtvtoc /dev/rdsk/c0d1s2 | fmthard -s - /dev/rdsk/c1d1s2
Leave A Reply