免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1080 | 回复: 0
打印 上一主题 下一主题

Basic Setup Tasks [复制链接]

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-13 21:46 |只看该作者 |倒序浏览
It is assumed that the Veritas software has been installed and that rootdg has been setup by the installer with a minimum of one disk. If not, install the software now.
Use the "format" command to display available disks. If necessary, add new disks to the system and run "drvconfig; devlinks; disks" to configure the new disks. Do not partition disks to be used by Veritas.
To display disks setup for Veritas, use the command "vxdisk list".
To add more disks to the control of Veritas, use the following command:
vxdiskadd
The would be c2t0d0, for example, without the slice suffix. The vxdiskadd script will prompt for necessary information such as the name of the disk group, whether or not to initialize the new disk, etc. Rerun the command "vxdisk list" to view the new disk.
To designate an unused disk as a hot-spare disk, use the following command:
vxedit set spare=on
The would be the Veritas name for the disk, such as disk01. Use "vxdisk list" to confirm that the disk is now a dedicated hot-spare disk. To remove the disk from the dedicated hot-spare pool, use the following command:
vxedit set spare=off
By default, Veritas will name disks based on the name of the disk group. To rename a disk (for example, from disk01 to disk02), use the following command:
vxedit rename
To place a disk offline (for example, if the disk has become corrupted), run the following command:
vxdisk offline
The would be c2t0d0, for example, without the slice suffix.
To remove a disk from the diskgroup to which it belongs, run the following command:
vxdg [-g diskgroup name] rmdisk
To then remove that disk from Veritas control entirely, run the following command:
vxdisk rm
The same set of commands may be used to move disks from one diskgroup to another:
vxdg rmdisk
vxdg -g adddisk =
(For example, "vxdg -g testdg adddisk testdg01=c2t0d0".)
Alternatively, you can simply remove the disk from Veritas control and then reinitialize it with "vxdiskadd". Use "vxdisk list" to confirm the new affiliation.
Every disk group requires a minimum of one disk. The simplest way to add a new diskgroup is to run the "vxdiskadd" command on an unconfigured disk, and when prompted for the name of the diskgroup to use, enter the desired name of the new diskgroup.
To display information on disk groups, run "vxdg list" or "vxdg list".
To destroy a diskgroup and reuse the disks for other purposes, run the following command:
vxdg destroy
Failing or failed disks can be removed with the "vxdiskadm" menu command. To remove a failing disk, select choice 4, "remove a disk for replacement". To replace the disk later, select choice 5, "replace a failed or removed disk".


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/524/showart_84834.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP