I have a compressed image of a 73 GB drive in solaris 10. I need to ensure the image is identical to the compressed image. The drive is unmounted and at c1t1d0s2 . The image was created using; dd if=/dev/rdsk/c1t1d0s2 | gzip > /mnt/storage1/image1.gz
I've computed md5sum using; digest -a md5 /mnt/storage/image1.gz > /mnt/storage/image-md5
I need to compare this to the drive itself to ensure it is the same.
Here is an idea I have:
digest -a md5 | gzip -dc /dev/rdsk/c1t1/d0s2 > /mnt/storage/drive1-md5
Also, I'm working at the command line and can't install more apps/utilities on this server.