none
How to resize the current VHD(x) in FSLogix RRS feed

  • General discussion

  • How to resize the current VHD(x) in FSLogix

    The standard size does not account for large mailboxes, to retain the data in a larger VHD(x), create a new VHD(x) and move the data into the new one. 

     

     Although various ways to resize a VHD(x) are available, these various methods have been untested with the FSLogix platform and remain unsupported.

    While FSLogix constantly recommends keeping valid, verifiable backups. (an invaluable suggestion for all admins, everywhere) Using a utility to increase the size of a VHD(x) could produce unexpected results within your fslogix environment.  

    Ultimately There is no easy way to expand a VHD(x), we recommend create a VHD(x) of the correct size and use the "frx moveto-VHD(x)" command to move the data to the new VHD(x). this is better than other solutions, because users that have fslogix installed already have the frx command installed.

     

    create-VHD(x)

    Creates a new VHD(x)(X) disk

     

    -filename=<VHD filename> (required)

    Full file path and name of the VHD(x) file to be created

    -size-mbs=<number> (optional)

    Size of the VHD(x) in number of MBs

    -vhdx-sector-size=<sector size> (optional)

    VHD(x)X only. Specifies the sector size to use.

    -dynamic=<0|1> (optional)

    Set to “1” for a dynamic sizing VHD(x), or “0” for a full allocation VHD(x)

    -src-parent=<Parent VHD filename> (optional)

    Path to a parent VHD(x). If specified, the new VHD(x) will be created as a differencing disk.

    -label=<label text> (optional)

    Label to assign to the new volume.

     

    moveto-VHD(x)

    Moves a folder along with all sub folders and files to a VHD(x) container.

     

    -filename=<VHD filename> (required)

    Full file path and name of the VHD(x) file to be created

    -src=<source folder> (required)

    Full path to source folder

    -size-mbs=<number> (optional)

    Size of the VHD(x) in number of MBs

    -vhdx-sector-size=<sector size> (optional)

    VHD(x)X only. Specifies the sector size to use.

    -dynamic=<0/1> (optional)

    Set to “1” for a dynamic sizing VHD(x), or “0” for a full allocation VHD(x)

    -src-parent=<Parent VHD filename> (optional)

    Path to a parent VHD(x). If specified, the new VHD(x) will be created as a differencing disk.

    -label=<label text> (optional)

    Label to assign to the new volume.

    frx moveto-VHD(x) -filename C:\mydisk.VHD(x) -src C:\data

    Please see: https://docs.microsoft.com/en-us/fslogix/command-line-utility-reference#create-new-vhd 

    Alternate methods for resizing VHD(x) files outside of FSLogix (not supported by the FSLogix team):

    https://docs.microsoft.com/en-us/powershell/module/hyper-v/resize-VHD(x)?view=win10-ps


    Monday, August 26, 2019 4:58 PM
    Owner