- 论坛徽章:
- 0
|
Before merging 2 disk groups, I did a verification by adding “-o verify”. However, the merge took place. Please refer to my steps:\r\n\r\n# vxdg import gwarpttempdg\r\n# vxdg -o verify join gwarpttempdg freedg\r\nVxVM vxdg INFO V-5-1-13416 Disk group freedg: Alignment will be reduced to 1 sector(s)\r\n# vxdg list\r\nNAME STATE ID\r\nrootdg enabled 1238487528.6.abcdev15\r\nfreedg enabled 1258092873.273.abcdev15\r\n# vxprint -htg freedg\r\nDG NAME NCONFIG NLOG MINORS GROUP-ID\r\nST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT\r\nDM NAME DEVICE TYPE PRIVLEN PUBLEN STATE\r\nRV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL\r\nRL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK\r\nCO NAME CACHEVOL KSTATE STATE\r\nVT NAME RVG KSTATE STATE NVOLUME\r\nV NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE\r\nPL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE\r\nSD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE\r\nSV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE\r\nSC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE\r\nDC NAME PARENTVOL LOGVOL\r\nSP NAME SNAPVOL DCO\r\nEX NAME ASSOC VC PERMS MODE STATE\r\nSR NAME KSTATE\r\n\r\ndg freedg default default 100000 1258092873.273.sjcitdev15\r\n\r\ndm xyzdevwms100-1-C0-152-RG16 c4t24d152s2 auto 38399 26880000 -\r\ndm xyzdevwms100-1-C0-170-RG18 c4t24d170s2 auto 38399 26880000 -\r\ndm xyzdevwms100-1-C0-188-RG20 c4t24d188s2 auto 38399 26880000 -\r\ndm xyzdevwms100-1-C0-206-RG22 c4t24d206s2 auto 38399 26880000 -\r\ndm xyzdevwms100-1-C0-223-RG24 c4t24d223s2 auto 38399 284620800 -\r\ndm xyzdevwms100-1-C0-224-RG24 c4t24d224s2 auto 38399 26880000 -\r\ndm xyzdevwms100-1-C1-009-RG01 c4t24d9s2 auto 2048 284695296 -\r\n\r\nv archive - DISABLED ACTIVE 80640000 SELECT - fsgen\r\npl archive-01 archive DISABLED ACTIVE 80640000 CONCAT - RW\r\nsd xyzdevwms100-1-C0-188-RG20-01 archive-01 xyzdevwms100-1-C0-188-RG20 0 26880000 0 c4t24d188 ENA\r\nsd xyzdevwms100-1-C0-206-RG22-01 archive-01 xyzdevwms100-1-C0-206-RG22 0 26880000 26880000 c4t24d206 ENA\r\nsd xyzdevwms100-1-C0-152-RG16-01 archive-01 xyzdevwms100-1-C0-152-RG16 0 26880000 53760000 c4t24d152 ENA\r\n\r\nv data01 - DISABLED ACTIVE 284620800 ROUND - fsgen\r\npl data01-01 data01 DISABLED ACTIVE 284620800 CONCAT - RW\r\nsd xyzdevwms100-1-C0-223-RG24-01 data01-01 xyzdevwms100-1-C0-223-RG24 0 284620800 0 c4t24d223 ENA\r\n\r\nv home - DISABLED ACTIVE 26880000 ROUND - fsgen\r\npl home-01 home DISABLED ACTIVE 26880000 CONCAT - RW\r\nsd xyzdevwms100-1-C0-170-RG18-01 home-01 xyzdevwms100-1-C0-170-RG18 0 26880000 0 c4t24d170 ENA\r\n\r\nv redo - DISABLED ACTIVE 26880000 ROUND - fsgen\r\npl redo-01 redo DISABLED ACTIVE 26880000 CONCAT - RW\r\nsd xyzdevwms100-1-C0-224-RG24-01 redo-01 xyzdevwms100-1-C0-224-RG24 0 26880000 0 c4t24d224 ENA\r\n\r\n# modinfo | grep vx\r\n 35 13486f8 3e830 51 1 vxdmp (VxVM 5.0MP3RP1_HF3: DMP Driver)\r\n 37 7be00000 20ba98 53 1 vxio (VxVM 5.0MP3RP1_HF3 I/O driver)\r\n 39 7bfeb3b0 c80 54 1 vxspec (VxVM 5.0MP3RP1_HF3 control/stat)\r\n184 7b6e5338 cb0 56 1 vxportal (VxFS 5.0_REV-5.0MP3RP1k_sol por)\r\n185 7aa00000 1d8f48 21 1 vxfs (VxFS 5.0_REV-5.0MP3RP1k_sol Sun \r\n\r\nPart of “vxdg” manpage:\r\nvxdg [-o {verify|override}] join sourcedg targetdg\r\n join Moves all objects from the imported source disk\r\n group, sourcedg, to the imported target disk\r\n group, targetdg. At the conclusion of the move,\r\n sourcedg is removed.\r\n\r\n The source disk group and target disk group to be\r\n joined must both be either private or shared. If\r\n one disk group is private and the other is shared,\r\n deport and reimport the private disk group as\r\n shared before performing the join.\r\n\r\n The -o verify and -o override options modify the\r\n default behavior of a move, split or join opera-\r\n tion that includes disks from an EMC array. Usu-\r\n ally, if the EMC license is present, the EMC disk\r\n compatibility check is performed for each disk\r\n that is involved in a move. If the compatibility\r\n check succeeds, the normal operation takes place.\r\n An internal check is made to ensure the configura-\r\n tion has not changed since the compatibility check\r\n was performed. If it was changed, the entire pro-\r\n cess is retried.\r\n\r\n If -o verify is specified, the access names of the\r\n disks to be moved are returned but the operation\r\n does not take place.\r\n\r\n If -o override is specified, the operation is per-\r\n formed without any EMC checking. |
|