Step 4 - Delete Dead Volume Group/Volumes and Create New Volume Group/Volumes - Parallel Upgrade Tool (PUT)

Parallel Upgrade Tool (PUT) Reference

Product
Parallel Upgrade Tool (PUT)
Release Number
3.09
Published
February 2020
Language
English (United States)
Last Update
2020-02-24
dita:mapPath
ows1493317469465.ditamap
dita:ditavalPath
ows1493317469465.ditaval
dita:id
B035-5716
Product Category
Software
Teradata Tools and Utilities

Now that the disks have been replaced, in order to re-create the Volumes using those disks, it is necessary to delete the current Volume Group and Volumes on that drive group and create new ones in their place.

Note that this is a destructive operation and care must be taken to specify the proper device information or you can inadvertently delete existing data. If you have any doubts about the device information gathered during the previous steps (or how to interpret that information), stop the procedure at this point and seek further assistance before continuing.

To continue the example from above to delete the Volume Group and Volume, enter the following:

  1. Delete volume group 23:
    SMcli -n DAMC001-2-2 -c 'delete volumeGroup ["23"];'
  2. Delete volume 22:
    SMcli -n DAMC001-2-2 -c 'delete volume ["22"];'
  3. Recreate the Volume Group using the command found in the array configuration file from Step 3:
    SMcli -n DAMC001-2-2 -c 'create volumeGroup drives=(1,11 3,11) RAIDLevel=1 userLabel="23" securityType=enabled dataAssurance=none;'

    Enclose the string parameter to the -c option in single quotes and terminate it with a semi-colon.

  4. Re-create the Volume from the command found in the array configuration file:
    SMcli -n DAMC001-2-2 -c 'create volume volumeGroup="23" userLabel="22" owner=A segmentSize=1936 dssPreAllocate=false dataAssurance=enabled mapping=none;'

    This command may take from 10 minutes to an hour to complete, depending on the number of Volumes being created and the size of the disks being used.