Forum Discussion

Home_224's avatar
Home_224
Level 6
7 years ago

How to extend the volume

Dear All My current Solaris 9.0 using the VM 4.1 version.  I have the one mount point in 90 % usage, and need to extend the volume but there is no space usage.  Therefore I add the new disk space to...
  • Mouse's avatar
    7 years ago

    Solaris 9.0, YaY!

    Ok, here is what you need to do:

    You need one more disk. The reason why is because your original volume is mirrored. To extend a mirrored disk, you need to add two disks not one.

    Now once you have another disk that is went through vxdisksetup, vxdg -g rootdg adddisk <diskname> and visible in vxprint, you just run:

    vxassist -g rootdg maxgrow dctm

    This will give the max size you can grow the volume to

    Now you can refer to something like http://www.veritas.com/docs/100029279 if you have VxFS and it will be online, for other file systems you need to check whether the file system supports online resize

  • Mouse's avatar
    Mouse
    7 years ago

    if memory serves me well, something like

    vxresize -g rootdg dctm 106415296 alloc=rootdg03,rootdg04

    should do the trick, provided it's VxFS and it is mounted