Forum Discussion

allaboutunix's avatar
10 years ago

Issue while Extending file system in vxvm

Hi,

I have a case as below,

Please extend below file systems from 30G to 50G on server island.

/dev/vx/dsk/VRP_PRD_ora_data_dg/sapdata2    30G    15G    14G    52%    /oracle/VRP/sapdata2

/dev/vx/dsk/VRP_PRD_ora_data_dg/sapdata4    30G    15G    14G    51%    /oracle/VRP/sapdata4

/dev/vx/dsk/VRP_PRD_ora_data_dg/sapdata1    30G    14G    15G    49%    /oracle/VRP/sapdata1

/dev/vx/dsk/VRP_PRD_ora_data_dg/sapdata3    30G    27G   2.7G    91%    /oracle/VRP/sapdata3

 

root@myers# vxdisk -o alldgs -e list
DEVICE       TYPE      DISK         GROUP        STATUS       OS_NATIVE_NAME   ATTR
emcpower22s2 auto      VRP_PRD_sapcent_dg01  VRP_PRD_sapcent_dg online       emcpower22c  -
emcpower23s2 auto      emcpower23s2  VRP_PRD_ora_data_dg online       emcpower23c  -
emcpower24s2 auto      emcpower24s2  VRP_PRD_ora_data_dg online       emcpower24c  -
emcpower25s2 auto      emcpower25s2  VRP_PRD_ora_data_dg online       emcpower25c  -
emcpower26s2 auto      emcpower26s2  VRP_PRD_ora_data_dg online       emcpower26c  -
emcpower27s2 auto      emcpower27s2  VRP_PRD_ora_bin_dg online       emcpower27c  -
emcpower28s2 auto      VRP_PRD_ora_arch_dg01  VRP_PRD_ora_arch_dg online       emcpower28c  -

 

======================================================================================

These are the 4 new  luns of 30 GB assigned by Storage.

 57. emcpower29e <EMC-SYMMETRIX-5874 cyl 29158 alt 2 hd 15 sec 128>
          /pseudo/emcp@29
      58. emcpower30a <EMC-SYMMETRIX-5874 cyl 29158 alt 2 hd 15 sec 128>
          /pseudo/emcp@30
      59. emcpower33a <EMC-SYMMETRIX-5874 cyl 29158 alt 2 hd 15 sec 128>
          /pseudo/emcp@33
      60. emcpower34b <EMC-SYMMETRIX-5874 cyl 29158 alt 2 hd 15 sec 128>
          /pseudo/emcp@34

====================================================================

When I tried to label them they are giving errors as,

 57. emcpower29e <EMC-SYMMETRIX-5874 cyl 29158 alt 2 hd 15 sec 128>
          /pseudo/emcp@29
      58. emcpower30a <EMC-SYMMETRIX-5874 cyl 29158 alt 2 hd 15 sec 128>
          /pseudo/emcp@30
      59. emcpower33a <EMC-SYMMETRIX-5874 cyl 29158 alt 2 hd 15 sec 128>
          /pseudo/emcp@33
      60. emcpower34b <EMC-SYMMETRIX-5874 cyl 29158 alt 2 hd 15 sec 128>
          /pseudo/emcp@34
Specify disk (enter its number): 57
selecting emcpower29e
[disk formatted]
Disk not labeled.  Label it now? y
Warning: error writing VTOC.
Warning: no backup labels
Write label failed


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return

===========================================================================

There are 4 luns emcpower29e,emcpower30a,emcpower33a,emcpower34b which is require to initilize it and add them to the VRP_PRD_ora_data_dg    diskgroup to increase filesystem to 20 GB more.

 

Shall  I have to proceed with the disk initilization in vxvm without labeling it or Please help me to proceed step by step activities required for this.

 

 

Thanks,

 

 

  • sapdata1 is a striped volume across 2 disks :

    v  sapdata1     -            ENABLED  ACTIVE   62914560 SELECT    sapdata1-01 fsgen
    pl sapdata1-01  sapdata1     ENABLED  ACTIVE   62914560 STRIPE    2/128    RW
    sd emcpower23s2-01 sapdata1-01 emcpower23s2 0  31457280 0/0       emcpower23 ENA
    sd emcpower24s2-01 sapdata1-01 emcpower24s2 0  31457280 1/0       emcpower24 ENA

    (same disks used for sapdata3)

    As per my previous post, a resize needs to maintain the same volume layout.

    You will need to add a minimum of 2 disks to the diskgroup in order to grow this volume (and other volumes that are striped as well).