Forum Discussion

GeorgeEP's avatar
GeorgeEP
Level 3
13 years ago

Problem resizing volume VXVM

Hi guys.

 

I have this problem when i try to grow any volume:

 

root@cgestion2 # /etc/vx/bin/vxresize    -t taskid_110 -g datadg oracle15  +500M 

VxVM vxresize ERROR V-5-1-7231 Problem running mkfs command for volume oracle15, in diskgroup datadg

/dev/vx/rdsk/datadg/oracle15: cannot open

 

Actually this volume is UFS and have 94% of used size.

/dev/vx/dsk/datadg/oracle15    81G    75G   5.0G    94%    /global/oracle15

 

The machine is a Solaris 10 and before to this problem we update the solaris and applied patches on operative system. This file system is a cluster resource. 

 

Thank's.

7 Replies

  • Have you tried to add '-F ufs' to specify the filesystem type?

    Please share SF version and patch level as well as current volume layout: vxprint -htr -g datadg oracle15

  • Hi Marianne.

    I show this information with the command:

     

    root@cgestion2 # vxprint -htr -g datadg oracle15
    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         NVOLUME      KSTATE   STATE
    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
     
    dm fabric_7     Disk_15      auto     2047     2971225020 -
     
    v  oracle15     -            ENABLED  ACTIVE   171966464 SELECT   -        fsgen
    pl oracle15-02  oracle15     ENABLED  ACTIVE   171966464 CONCAT   -        RW
    sd fabric_7-14  oracle15-02  fabric_7 1245657956 167772160 0      Disk_15  ENA
    sd fabric_7-52  oracle15-02  fabric_7 289403470 4194304 167772160 Disk_15  ENA
     
     
    The syntax for -F ufs is:
     
    # /etc/vx/bin/vxresize  -F ufs  -t taskid_110 -g datadg oracle15  +500M   ?
  • Marianne.

    I ran the command and i get the same error.

    # /etc/vx/bin/vxresize  -F ufs  -t taskid_110 -g datadg oracle15  +500M  

     

    VxVM vxresize ERROR V-5-1-7231 Problem running mkfs command for volume oracle15, in diskgroup datadg

    /dev/vx/rdsk/datadg/oracle15: cannot open

  • You forgot to mention your SF version and patch level? Please post output of 'modinfo | grep -i vx'

    Have you tried to run fsck on the filesystem to verify it's health?

  • was looking at this technote

    http://www.symantec.com/docs/TECH58813

     

    wondering if the volume is created with -T option , can u also paste the "mkfs -m" output for this volume

     

    Gaurav

  •  

    The problem was that there should be a small amount of filesystem available for the resize to take place.
     
     
     
    Please df -kl "data_dg"
     
     
    vxassist -g "data_dg" maxsize
     
     
  • we still have 6G free space, I would believe that would be sufficient for this resize .. issue is something else, may be George can tell if he got this solved by now or if any suggestion above helped ..

     

    G