欢迎加入IT云增值在线QQ交流群:342584734
分类:
2008-05-19 22:47:38
东方蜘蛛2008-05-19 23:15:27
The vxreattach Command The vxreattach utility reattaches disks to a disk group and retains the same media name. This command attempts to find the name of the drive in the private region and to match it to a disk media record that is missing a disk access record. This operation may be necessary if a disk has a transient failure, for example, if a drive is turned off and then back on, or if the Volume Manager starts with some disk drivers unloaded and unloadable. vxreattach tries to find a disk
东方蜘蛛2008-05-19 23:13:52
To reattach disks to a disk group: /etc/vx/bin/vxreattach [-bcr] [dm_name] -b Performs reattachment in the background -c Checks to determine if reattachment is possible No operation is performed. -r Attempts to recover stale plexes by invoking vxrecover Used if disk has a transient failure, such as drive is turned off and then turned back on
东方蜘蛛2008-05-19 22:52:21
如果磁盘发生完全故障并且不可能进行热重定位,或 VxVM 是在某些磁盘驱动程序已卸载 或不可装载 (导致磁盘进入故障状态)的情况下启动的,可执行重新挂接操作。如果问题 已修复,则可以使用 vxreattach 命令重新挂接磁盘,而不会将 plex 标记为 STALE。但 是,重新挂接必须在磁盘上的所有卷启动之前进行。 作为磁盘恢复的一部分,从 vxdiskadm 菜单和在引导进程中调用 vxreattach 命令。如 果可能, vxreattach 将故障磁盘介质记录重新挂接到具有相同设备名的磁盘上。重新挂 接将磁盘置于其以前所属的同一磁盘组中,并且将保留其原来的磁盘介质名称。 发生重新挂接后,便可能不再需要恢复操作。如果磁盘故障的初始 (或其它)原因仍然存 在,则重新挂接将失败。 命令 vxreattach -c 将检查重新挂接是否可能,而不执行任何操作。它显示可以重新挂 接磁盘的磁盘组和磁盘介质名称。 有关 vxreattach 命令的更多信息,请参阅 vxreattach(1M) 帮助手册。