The best way I have found of cloning a disk is to use the tar command.
Login as root
#tar cvf /tmp/image.tar /
To explain the options
tar is the command
c Create a tar file
v verbose - you will see the names of the files included
f write to the named file
/tmp/image.tar The name of the file to write to
/ The directory to include. As you specify a directory it will include all files and directories. The operation will include all mounted filesystems.
You will then need to copy /tmp/image.tar to another location as it will be deleted if the machine is rebooted. If yoiu located it other than in /tmp this will not be necessary
To restore the image boot into single user mode. Assuming that the installation on the machine has been trashed from the put your Solaris CD in the drive and from the OK prompt
OK boot cdrom -s
This loads a copy of the OS into memory
Once booted mount all the file systems listed in /etc/vfstab
# mountall
then execute the tar command to extract the tar file and overwrite the corrupted files on the disk
# tar xvf /tmp/image.tar /
Reboot the machine to run level 3 and the image will have been restored. Any additional files that have been written since the tar file was created will still be there.
You have other options in the creation of the tar file. tar cvf /dev/rmt/0 / will write to the first tape device attached to the machine
For furhter information see the man page on tar
# man tar
Hope this helpsPeter