Forum Discussion

manikrajan's avatar
manikrajan
Level 2
14 years ago

Extend volume in VCS

Please help with the procedure to extend a volume in VCS.The volume manager is vxvm

  • Cluster commands run common from one node, no need to run anything on multiple node.

    More information is on this blog : https://www-secure.symantec.com/connect/forums/resize-volume-or-file-system-partition

    Is it a normal filesystem or is this a CFS ?

5 Replies

  • You haven't mentioned which version (eg: 5.0? 5.1?) or platform (AIX? Solaris? HP-UX) - here is the Solaris 5.0MP3 manpage - if your version/platform is different, see the manual pages for the relevant version at https://vos.symantec.com/documents

    http://sfdoccentral.symantec.com/sf/5.0MP3/solaris/manpages/vxvm/man1m/vxresize.html

    fyi: also deleted duplicate comment in unrelated thread since you've already posted a separate discussion thread here.
  • Below is on assumption that you are using 5.0 and above version.

    1. freeze cluster service group which own the filesystem.

    # hagrp -freeze <service group> -persistent

    2. Verify filesystem size

    # df -h

    3. Verify from volume manager

    # vxprint -qhtg <diskgroup> <volumename>

    4.  If you have added disk in diskgroup already, Resize using vxresize which will exten volume as well as filesystem.

    # vxresize -g <diskgroup> <volumename> <newsize>                  ------ filesystem should be mounted.
    e.g vxresize -g testdg vol01 100g

    where 100g is 100gb a new size of filesystem.

    5. Verify from df -h and vxprint for new size.
  • Thanks Anoop
    Should not we do anything on other nodes.Should I just follow your steps in the node where the diskgroup is now online

  • Cluster commands run common from one node, no need to run anything on multiple node.

    More information is on this blog : https://www-secure.symantec.com/connect/forums/resize-volume-or-file-system-partition

    Is it a normal filesystem or is this a CFS ?