Quote:
Originally Posted by
hosney00ux
hi all;
if i want to full image from my hard disk and restore it again to another hard disk
what is the step to do that
this is my hard disk
/dev/dsk/c1d0s0 mount /
/dev/dsk/c1d0s1 mount swap
/dev/dsk/c1d0s7 mount /export/hoem
1. #format (check availability of HDD in system)
2. #prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/cxtxdxs2 (if they are in same size)
3. #newfs /dev/rdsk/cxtxdxs0 (setting up File system)
4. #mount /dev/dsk/cxtxdxs0 /mnt (mount corresponding sliice on which copying will accomplished)
5. #ufsdump 0f - /dev/rdsk/c1t0d0s0 | (cd /mnt && ufsrestore rf - )
6. #umount /mnt
Steps 3-6 will be repeated for each slice
7. # installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/cxtxdxs0
of course this is only one way u can do that. as DukeNuke2 said it depends on your requirements
thats all .. enjoy
)
good luck