prtvtoc command

If i have diks layout like below

  0       root    wm       0 -  634      471.29MB    \(635/0/0\)

965200
1 var wm 635 - 2014 1.00GB (1380/0/0)
2097600
2 backup wm 0 - 2732 1.98GB (2733/0/0)
4154160
3 swap wu 2015 - 2704 512.11MB (690/0/0)
1048800
4 unassigned wm 2705 - 2718 10.39MB (14/0/0)
21280
5 unassigned wm 2719 - 2732 10.39MB (14/0/0)
21280
6 unassigned wm 0 0 (0/0/0)
0
7 unassigned wm 0 0 (0/0/0)
0

And i Want to make disk cloning.

First command is by prtvtoc.

What slice that i have to point in using prtvtoc ?

Regards,

tpx

If you want to copy the partition table to another disk, perform
prtvtoc /dev/rdsk/cxtxdxs2 | fmthard -s - /dev/rdsk/cxtxdxs2
1st controller, target and disk should be the source and the 2nd cxtxdxs2 should be your dest disk.
Then newfs the slices accordingly.
After that, you can use ufsdump to copy the data into the relevant partitons.:b: