Re-labeling a disk on Solaris
1) To redirect PRTVTOC output to a file
# prtvtoc /dev/dsk/c0t0d0s0 > /tmp/ab1
2) To copy the contents of VTOC from one disk to other
# fmthard -s /tmp/ab1 /dev/rdsk/c0t3d0s2
1) To redirect PRTVTOC output to a file
# prtvtoc /dev/dsk/c0t0d0s0 > /tmp/ab1
2) To copy the contents of VTOC from one disk to other
# fmthard -s /tmp/ab1 /dev/rdsk/c0t3d0s2
No comments:
Post a Comment