Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3155033
  • 博文数量: 443
  • 博客积分: 11301
  • 博客等级: 上将
  • 技术积分: 5678
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-08 12:30
个人简介

欢迎加入IT云增值在线QQ交流群:342584734

文章分类

全部博文(443)

文章存档

2022年(1)

2021年(1)

2015年(2)

2014年(1)

2013年(1)

2012年(4)

2011年(19)

2010年(32)

2009年(2)

2008年(4)

2007年(31)

2006年(301)

2005年(42)

2004年(2)

分类:

2006-03-13 21:46:11

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".

阅读(1675) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~