Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

To extend a mirrored concatenated disk layout

Created: 29 Aug 2012 • Updated: 30 Aug 2012 | 2 comments
This issue has been solved. See solution.

Hi,

I just registered in. I am not familiar with VxVM as the configuration was done by a third party.But i need to increase the disk space of NBU catalog mount point at master server.

Can anybody help me?

Here is my disk info:

# vxprint -htg nbudg
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 nbudg        default      default  38000    1242633128.7.S02BF071

dm nbudsk01     c40t0d0      auto     32768    104814464 -
dm nbudsk02     c48t0d0      auto     32768    104814464 -
dm nbudsk03     c40t0d7      auto     32768    209673344 -

v  nbuvol1      -            ENABLED  ACTIVE   104813568 SELECT   -        fsgen
pl nbuvol1-01   nbuvol1      ENABLED  ACTIVE   104813568 CONCAT   -        RW
sd nbudsk01-01  nbuvol1-01   nbudsk01 0        104813568 0        c40t0d0  ENA
pl nbuvol1-02   nbuvol1      ENABLED  ACTIVE   104813568 CONCAT   -        RW
sd nbudsk02-01  nbuvol1-02   nbudsk02 0        104813568 0        c48t0d0  ENA

the master server info as below:

# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    1015808  688448  324928   68% /
/dev/vg00/lvol1    1835008  331936 1491416   18% /stand
/dev/vg00/lvol7    12582912 6197056 6336584   49% /var
/dev/vg00/lvol6    41943040 12272024 29439400   29% /usr
/dev/vg00/lvol5    4194304 1948520 2232536   47% /tmp
/dev/vg00/lvol4    20480000 7649104 12739112   38% /opt
/dev/vx/dsk/nbulogdg/nbulogvol
                   104813568 23972814 75788308   24% /nbulogs
/dev/vg00/lvol8    1048576  444096  604480   42% /home
/dev/vx/dsk/nbudsudg/dsuvol1
                   2095612928 31540835 1935094251    2% /nbudsu1
/dev/vx/dsk/nbudg/nbuvol1
                   104813568 81233862 22111224   79% /nbucatalog (this is the one that I was trying to increase)
 

The new disk zoned is c40t0d7 (200GB in size) but when I tried to grow using vxassist -g nbudg maxgrow nbuvol1 cmd, I got the error as below :

# vxassist -g nbudg maxgrow nbuvol1
VxVM vxassist ERROR V-5-1-1178 Volume nbuvol1 cannot be extend within the given constraints

eventhough I can see the maxsize :

# vxassist -g nbudg maxsize
Maximum volume size: 209674240 (204760Mb)

Thanks.

 

 

Comments 2 CommentsJump to latest comment

mikebounds's picture

nbuvol1 is mirrored and so you need to add 2 disks to nbudg to be able to extend volume.  

You can tell nbuvol1 is mirrored as it has 2 data (non LOG) plexes on nbudisk01 and nbudisk02:

pl nbuvol1-01   nbuvol1      ENABLED  ACTIVE   104813568 CONCAT   -        RW
  sd nbudsk01-01  nbuvol1-01   nbudsk01 0        104813568 0        c40t0d0  ENA
pl nbuvol1-02   nbuvol1      ENABLED  ACTIVE   104813568 CONCAT   -        RW
  sd nbudsk02-01  nbuvol1-02   nbudsk02 0        104813568 0        c48t0d0  ENA

 

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

SOLUTION
syikin74's picture

Hi Mike,

Thanks for solution. After adding another same type of disk, I can now extend the volume..