TSM database expand

iKnow-IT banner

# cfgmgr

# lsvpcfg
you can see that 'vpath14' not yet assigned to a volume group.
...
vpath13 (Avail pv vg04) 60012376 = hdisk19 (Avail ) hdisk32 (Avail )
vpath14 (Avail ) 00A17350 = hdisk20 (Avail ) hdisk21 (Avail )
vpath17 (Avail pv vg05) 10017350 = hdisk33 (Avail ) hdisk34 (Avail )

17350 = the ESS storage box number
00A = which the storage group has distributed...

# extendvg4vp -f 'vg02' 'vpath14'

# </home/root> # df | grep db
/dev/lvtsm_db   19464192    416480   98%       18     1% /tsm001/db
..

# chfs -a size=+19464192 /tsm001/db
Filesystem size changed to 38928384

# df -kI | grep db
/dev/lvtsm_db    19464192   9828296   9635896   51% /tsm001/db
..

tsm: TSMSERVER>q db
Available     Assigned       Maximum       Maximum        Page         Total          Used       Pct      Max.
    Space     Capacity     Extension     Reduction        Size        Usable         Pages      Util       Pct
     (MB)         (MB)          (MB)          (MB)     (bytes)         Pages                              Util
---------     --------     ---------     ---------     -------     ---------     ---------     -----     -----
    9,000        9,000             0         1,232       4,096     2,304,000     1,988,020      86.3      86.3

tsm: TSMSERVER>q dbvol
Volume Name          Copy       Volume Name          Copy       Volume Name          Copy
(Copy 1)             Status     (Copy 2)             Status     (Copy 3)             Status
----------------     ------     ----------------     ------     ----------------     ------
/tsm001/db/-         Sync'd                          Undef-                          Undef-
db01                                                 ined                            ined

# /usr/tivoli/tsm/server/bin/dsmfmt -m -db /tsm001/db/db02 9000
  by
AIX Server DSMFMT Extent/Volume Formatting Program

Licensed Materials - Property of IBM

5698-ISE (C) Copyright IBM Corporation 1990, 2002.  All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

Actual allocation for /tsm001/db/db02 will be 9001 MB
Allocated space for /tsm001/db/db02: 9438232576 bytes

tsm: TSMSERVER> def dbv /tsm001/db/db02
ANR2240I Database volume /tsm001/db/db02 defined.

tsm: TSMSERVER>extend db 9000
ANR2248I Database assigned capacity has been extended.

tsm: TSMSERVER>q db

Available     Assigned       Maximum       Maximum        Page         Total          Used       Pct      Max.
    Space     Capacity     Extension     Reduction        Size        Usable         Pages      Util       Pct
     (MB)         (MB)          (MB)          (MB)     (bytes)         Pages                              Util
---------     --------     ---------     ---------     -------     ---------     ---------     -----     -----
   18,000       18,000             0        10,232       4,096     4,608,000     1,990,690      43.2      43.2

tsm: TSMSERVER>q dbvol

Volume Name          Copy       Volume Name          Copy       Volume Name          Copy
(Copy 1)             Status     (Copy 2)             Status     (Copy 3)             Status
----------------     ------     ----------------     ------     ----------------     ------
/tsm001/db/-         Sync'd                          Undef-                          Undef-
db01                                                 ined                            ined
/tsm001/db/-         Sync'd                          Undef-                          Undef-
db02                                                 ined                            ined