Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3158701
  • 博文数量: 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)

分类:

2008-05-19 22:47:38

盘阵:ST6130
VxVM:4.0
 
状态:
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
SUN6130ARRAY0_0 auto:cdsdisk    -            -            online
SUN6130ARRAY0_1 auto:cdsdisk    -            -            online
SUN6130ARRAY0_2 auto:cdsdisk    npmdg02      npmdg        online
SUN6130ARRAY0_3 auto:cdsdisk    -            -            online
SUN6130ARRAY0_4 auto:cdsdisk    -            -            online
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
-            -         npmdg01      npmdg        failed was:SUN6130ARRAY0_0
-            -         npmdg03      npmdg        failed was:SUN6130ARRAY0_1
 
# vxprint -ht
v  npm2g005     -            DISABLED ACTIVE   4194304  SELECT    -        fsgen
pl npm2g005-01  npm2g005     DISABLED NODEVICE 4194304  CONCAT    -        RW
sd npmdg03-05   npm2g005-01  npmdg03  16777216 4194304  0         -        NDEV
v  npm2g006     -            DISABLED ACTIVE   4194304  SELECT    -        fsgen
pl npm2g006-01  npm2g006     DISABLED NODEVICE 4194304  CONCAT    -        RW
sd npmdg03-06   npm2g006-01  npmdg03  20971520 4194304  0         -        NDEV
v  npm2g007     -            DISABLED ACTIVE   4194304  SELECT    -        fsgen
pl npm2g007-01  npm2g007     DISABLED NODEVICE 4194304  CONCAT    -        RW
sd npmdg03-07   npm2g007-01  npmdg03  25165824 4194304  0         -        NDEV
 
format状态全部正常
 
解决方法:
# vxdctl enable
# vxreattach
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
SUN6130ARRAY0_0 auto:cdsdisk    npmdg01      npmdg        online
SUN6130ARRAY0_1 auto:cdsdisk    npmdg03      npmdg        online
SUN6130ARRAY0_2 auto:cdsdisk    npmdg02      npmdg        online
SUN6130ARRAY0_3 auto:cdsdisk    -            -            online
SUN6130ARRAY0_4 auto:cdsdisk    -            -            online
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
 
卷状态还是有disable
v  npm20g074    -            DISABLED ACTIVE   41943040 SELECT    -        fsgen
pl npm20g074-01 npm20g074    DISABLED RECOVER  41943040 CONCAT    -        RW
sd npmdg01-207  npm20g074-01 npmdg01  1595932672 41943040 0       SUN6130ARRAY0_0 ENA
 
# vxvol -g npmdg -f startall
卷状态全部正常
 
v  npm2g005     -            ENABLED  ACTIVE   4194304  SELECT    -        fsgen
pl npm2g005-01  npm2g005     ENABLED  ACTIVE   4194304  CONCAT    -        RW
sd npmdg03-05   npm2g005-01  npmdg03  16777216 4194304  0         SUN6130ARRAY0_1 ENA
v  npm2g006     -            ENABLED  ACTIVE   4194304  SELECT    -        fsgen
pl npm2g006-01  npm2g006     ENABLED  ACTIVE   4194304  CONCAT    -        RW
sd npmdg03-06   npm2g006-01  npmdg03  20971520 4194304  0         SUN6130ARRAY0_1 ENA
v  npm2g007     -            ENABLED  ACTIVE   4194304  SELECT    -        fsgen
pl npm2g007-01  npm2g007     ENABLED  ACTIVE   4194304  CONCAT    -        RW
sd npmdg03-07   npm2g007-01  npmdg03  25165824 4194304  0         SUN6130ARRAY0_1 EN
阅读(4550) | 评论(4) | 转发(0) |
给主人留下些什么吧!~~

lxh36032010-08-15 15:11:08

用“vxrecover -bs -g dg_name”应该就可以了吧。

东方蜘蛛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) 帮助手册。