Forum Discussion

mokkan's avatar
mokkan
Level 6
11 years ago

Windows File System Increase

Hello,

In Unix and Linux after we extended the Volume on Diskgroup, we need to resize the filesystem.  How about in Windows, after we increase the volume, do we need to resize the file system? If so, how do we do it? Thanks in advance.

 

  • Yes you can increase volume online (while filesystem is mounted) either using CLI (vxassist growby) or "expand volume" from VEA.  

    "vxassist growby" is an alternative to using GUI, but if this or the VEA expand volume fails to increase the filesystem properly then you can use "vxvol growfs" and you can do this online too as note in  "vxvol growfs" command, as in "vxassist growby" , you can specify the drive letter to increase the volume and if a drive letter is assigned, then this means the filesystem is mounted.

    Mike

  • Yes you can increase volume online (while filesystem is mounted) either using CLI (vxassist growby) or "expand volume" from VEA.  

    "vxassist growby" is an alternative to using GUI, but if this or the VEA expand volume fails to increase the filesystem properly then you can use "vxvol growfs" and you can do this online too as note in  "vxvol growfs" command, as in "vxassist growby" , you can specify the drive letter to increase the volume and if a drive letter is assigned, then this means the filesystem is mounted.

    Mike

  • Thank you very much Wally. Can we increase the volume while filesystem is mounted? Like we do it in unix.

     

  • Hi Mokkan,

    If everything was done successfully in SFW then the Filesystem should have been grown by SFW when the volume size was increased.  The commands mentioned by Mike should only need to be run if the was a problem growing the volume.  Those types of problems are rare on Windows but they do happen from time to time.  You should be fine growing the volume in VEA with the sizes that you mentioned.

    Thank you,

    Wally

  • Thank you very much. We would like to do via VEA, we already have 300GB and adding another 100GB.

    Once we added 100GB to VG, if we extend the volume, would it automatically increase the file system as well? Or is there any option to increase the FS seprately?

    I have never done in Windows and I just need to make sure it.

     

     

  • You should use vxresize in both UNIX/Linux and Windows - this resizes both Volume and filesystem.

    EDIT:

    Apologies - looks like another inconsistency between UNIX and Windows - there doesn't seem to be a vxresize for Windows and in Windows, unlike UNIX, vxassist growby extends the filessytem as well as the volume - see extract from SFW admin guide:

    vxassist growby
    vxassist [-b] [-o notrackalign] [-g<DynamicDiskGroupName>] growby
    <VolumeName | DriveLetter |VmName|DrivePath> <Length>
    [<alloc_attributes...>] [[!]<DiskName|p#c#t#l#>]...

    Extends the usable space of an NTFS or unformatted volume by the amount
    specified in <Length>. 

    But also see "vxvol resize":

    vxvol growfs
    vxvol [-g<DynamicDiskGroupName>] growfs <VolumeName | DriveLetter
    |<VmName|DrivePath> [<length>]
    Grows the file system if a volume is resized but the file system fails to resize
    correctly. If the optional parameter [<length>] is not used, the command would
    try to grow the file system size to the full volume size.

     

    Mike