- 0
- 0
- 约5.46千字
- 约 7页
- 2017-05-27 发布于河南
- 举报
SOLARIS 的ghost
Label Multiple Disks by Using the prtvtoc and fmthard CommandsUse the prtvtoc and fmthard commands to label multiple disks with the same disk geometry.Use this for loop in a script to copy a disk label from one disk and replicate it on multiple disks.# for i in x y z do prtvtoc /dev/rdsk/cwtxdysz | fmthard -s - /dev/rdsk/cwt${i}d0s2 done
# prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2c0t0d0为源,
用一条命令就可以
#prtvtoc /dev/rdsk/c0t0d0s2(原盘) | mfthard -s - /dev/rdsk/c0t1d0s2(目标盘)
将目标盘和源盘的分区表复制为一致.
ufsdump?and?ufsrestore?,刚开始用的时候都以为他就是用来备份的(到TAPE),最近由于我们公司有几十台服务器要装,由于HDD又不一
原创力文档

文档评论(0)