Cuddletech系列VERITAS教程之二(上)
13 Turn off the spare flag on a disk list List disk information
? Display help about menu ?? Display help about the menuing system q Exit from menus
Select an operation to perform:
加入一块新的磁盘,你需要选择出,哪一种方式更合适:“1”(初始化),或者“2”(封装)。对于我们即将使用的磁盘,我选择“初始化”。
在初始化之前,执行一下”list”操作是一个好主意,确认Veritas也能“看”到这些磁盘。只需要输入”list”,输出如下:
---------------------------------------------------------------- List disk information Menu: VolumeManager/Disk/ListDisk
Use this menu operation to display a list of disks. You can also choose to list detailed information about the disk at a specific disk device address.
Enter disk device or "all" [<address>,all,q,?] (default: all) all
DEVICE DISK GROUP STATUS c0t0d0 - - error c0t1d0 - - error c2t0d0 disk01 rootdg online c2t1d0 disk02 rootdg online c2t2d0 disk03 rootdg online c2t6d0 - - online
Device to list in detail [<address>,none,q,?] (default: none)
上面输出中,磁盘t0,t1,t2已经被初始化了,所以它们都有磁盘名。但是,我没有初始化c2t6d0.(再次重申,Veritas不关心分区情况,因此在设备名中没有sX)。下面是用”vxdiskadm”初始化磁盘的全部输出,选项1。这可能需要较长时间,但它是简洁有用的。
Add or initialize disks Menu: VolumeManager/Disk/AddDisks
Use this operation to add one or more disks to a disk group. You can add the selected disks to an existing disk group or to a new disk group that will be created as a part of the operation. The selected disks may also be added to a disk group as spares. The selected disks may also be initialized without adding them to a disk group leaving the disks available for use as replacement disks.
More than one disk or pattern may be entered at the prompt. Here are some disk selection examples:
all: all disks c3 c4t2: all disks on both controller 3 and controller 4, target 2 c3t4d2: a single disk
Select disk devices to add: [<pattern-list>,all,list,q,?] list
DEVICE DISK GROUP STATUS c0t0d0 - - error c0t1d0 - - error c2t0d0 disk01 rootdg online c2t1d0 disk02 rootdg online c2t2d0 disk03 rootdg online c2t6d0 disk04 rootdg online
Select disk devices to add:
Add or initialize disks Menu: VolumeManager/Disk/AddDisks
Use this operation to add one or more disks to a disk group. You can add the selected disks to an existing disk group or to a new disk group that will be created as a part of the operation. The selected disks may also be added to a disk group as spares. The selected disks may also be initialized without adding them to a disk group leaving the disks available for use as replacement disks.
More than one disk or pattern may be entered at the prompt. Here are |