免费注册 查看新帖 |

Chinaunix

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

a bug with VxVM? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-19 10:43 |只看该作者 |倒序浏览
Before merging 2 disk groups, I did a verification by adding “-o verify”. However, the merge took place. Please refer to my steps:

# vxdg import gwarpttempdg
# vxdg -o verify join gwarpttempdg freedg
VxVM vxdg INFO V-5-1-13416 Disk group freedg: Alignment will be reduced to 1 sector(s)
# vxdg list
NAME         STATE           ID
rootdg       enabled              1238487528.6.abcdev15
freedg       enabled              1258092873.273.abcdev15
# vxprint -htg freedg
DG NAME         NCONFIG      NLOG     MINORS   GROUP-ID
ST NAME         STATE        DM_CNT   SPARE_CNT         APPVOL_CNT
DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE
RV NAME         RLINK_CNT    KSTATE   STATE    PRIMARY  DATAVOLS  SRL
RL NAME         RVG          KSTATE   STATE    REM_HOST REM_DG    REM_RLNK
CO NAME         CACHEVOL     KSTATE   STATE
VT NAME         RVG          KSTATE   STATE    NVOLUME
V  NAME         RVG/VSET/CO  KSTATE   STATE    LENGTH   READPOL   PREFPLEX UTYPE
PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
DC NAME         PARENTVOL    LOGVOL
SP NAME         SNAPVOL      DCO
EX NAME         ASSOC        VC                       PERMS    MODE     STATE
SR NAME         KSTATE

dg freedg       default      default  100000   1258092873.273.sjcitdev15

dm xyzdevwms100-1-C0-152-RG16 c4t24d152s2 auto 38399 26880000 -
dm xyzdevwms100-1-C0-170-RG18 c4t24d170s2 auto 38399 26880000 -
dm xyzdevwms100-1-C0-188-RG20 c4t24d188s2 auto 38399 26880000 -
dm xyzdevwms100-1-C0-206-RG22 c4t24d206s2 auto 38399 26880000 -
dm xyzdevwms100-1-C0-223-RG24 c4t24d223s2 auto 38399 284620800 -
dm xyzdevwms100-1-C0-224-RG24 c4t24d224s2 auto 38399 26880000 -
dm xyzdevwms100-1-C1-009-RG01 c4t24d9s2 auto 2048 284695296 -

v  archive      -            DISABLED ACTIVE   80640000 SELECT    -        fsgen
pl archive-01   archive      DISABLED ACTIVE   80640000 CONCAT    -        RW
sd xyzdevwms100-1-C0-188-RG20-01 archive-01 xyzdevwms100-1-C0-188-RG20 0 26880000 0 c4t24d188 ENA
sd xyzdevwms100-1-C0-206-RG22-01 archive-01 xyzdevwms100-1-C0-206-RG22 0 26880000 26880000 c4t24d206 ENA
sd xyzdevwms100-1-C0-152-RG16-01 archive-01 xyzdevwms100-1-C0-152-RG16 0 26880000 53760000 c4t24d152 ENA

v  data01       -            DISABLED ACTIVE   284620800 ROUND    -        fsgen
pl data01-01    data01       DISABLED ACTIVE   284620800 CONCAT   -        RW
sd xyzdevwms100-1-C0-223-RG24-01 data01-01 xyzdevwms100-1-C0-223-RG24 0 284620800 0 c4t24d223 ENA

v  home         -            DISABLED ACTIVE   26880000 ROUND     -        fsgen
pl home-01      home         DISABLED ACTIVE   26880000 CONCAT    -        RW
sd xyzdevwms100-1-C0-170-RG18-01 home-01 xyzdevwms100-1-C0-170-RG18 0 26880000 0 c4t24d170 ENA

v  redo         -            DISABLED ACTIVE   26880000 ROUND     -        fsgen
pl redo-01      redo         DISABLED ACTIVE   26880000 CONCAT    -        RW
sd xyzdevwms100-1-C0-224-RG24-01 redo-01 xyzdevwms100-1-C0-224-RG24 0 26880000 0 c4t24d224 ENA

# modinfo | grep vx
35  13486f8  3e830  51   1  vxdmp (VxVM 5.0MP3RP1_HF3: DMP Driver)
37 7be00000 20ba98  53   1  vxio (VxVM 5.0MP3RP1_HF3 I/O driver)
39 7bfeb3b0    c80  54   1  vxspec (VxVM 5.0MP3RP1_HF3 control/stat)
184 7b6e5338    cb0  56   1  vxportal (VxFS 5.0_REV-5.0MP3RP1k_sol por)
185 7aa00000 1d8f48  21   1  vxfs (VxFS 5.0_REV-5.0MP3RP1k_sol Sun      

Part of “vxdg” manpage:
vxdg [-o {verify|override}] join sourcedg targetdg
     join      Moves all objects from the  imported  source  disk
               group,  sourcedg,  to  the  imported  target  disk
               group, targetdg. At the conclusion  of  the  move,
               sourcedg is removed.

               The source disk group and target disk group to  be
               joined  must both be either private or shared.  If
               one disk group is private and the other is shared,
               deport  and  reimport  the  private  disk group as
               shared before performing the join.

               The -o verify and -o override options  modify  the
               default  behavior  of a move, split or join opera-
               tion that includes disks from an EMC array.   Usu-
               ally,  if the EMC license is present, the EMC disk
               compatibility check is  performed  for  each  disk
               that  is involved in a move.  If the compatibility
               check succeeds, the normal operation takes  place.
               An internal check is made to ensure the configura-
               tion has not changed since the compatibility check
               was performed.  If it was changed, the entire pro-
               cess is retried.

               If -o verify is specified, the access names of the
               disks  to  be moved are returned but the operation
               does not take place.

               If -o override is specified, the operation is per-
               formed without any EMC checking.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP