I don't know. If the source & destination slices aren't identical in size, maybe I wouldn't use dd...But, not sure I understand what you are trying to do here.
________________________________ From: hadi motamedi <motamed...@gmail.com> To: Solaris-Users mailing list <solaris-users@filibeto.org> Sent: Sat, July 3, 2010 6:34:04 AM Subject: Re: [Solaris-Users] /dev/rdsk/c0t0d0s2 ? df -k . >> It will tell you which filesystem to which /usr/local belongs. >> >> >> >> >> >> >> > Sorry. I want to make image from the solaris8 /opt that resides in /dev/dsk/c0t0d0s3 . Because of lack of sufficient free space on the disk, I want to implement it like the following : #dd if=/dev/dsk/c0t0d0s3 bs=512 count=1966080 |gzip -c>/tmp/opt8.disk-pt1 #dd if=/dev/dsk/c0t0d0s3 bs=512 count=1966080 skip= 3932160 |gzip -c>/tmp/opt8.disk-pt2 #dd if=/dev/dsk/c0t0d0s3 bs=512 count=1966080 skip= 5898420 |gzip -c>/tmp/opt8.disk-pt3 And so on (until the next dd won't get through) . Can you please confirm if the overall logic behind the above procedure is correct on the numbers defined for count & skip ? Am I missing some blocks this way ? _______________________________________________ Solaris-Users mailing list Solaris-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/solaris-users _______________________________________________ Solaris-Users mailing list Solaris-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/solaris-users