%3CLINGO-SUB%20id%3D%22lingo-sub-1333170%22%20slang%3D%22en-US%22%3EMy%20storage%20is%20running%20out%20of%20space%20because%20of%20FSLogix!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1333170%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20guys%2C%20Gonzalo%20here.%20Today%20I%20want%20to%20talk%20with%20you%20about%20one%20common%20issue%20that%20we%20see%20here%20in%20the%20support%20center%3A%20your%20profile%20disks%20are%20taking%20lot%20of%20space%20in%20your%20storage.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20start%20troubleshooting%20this%20issue%2C%20you%20realize%20that%20you%20VHDs%20for%20both%20Profile%20and%20Office%20containers%20are%20big.%20You%20look%20in%20deep%20to%20the%20Profile%20container%20disk%20and%20while%20inspecting%20the%20disk%20content%20you%20discover%20that%20data%20store%20there%20is%20way%20smaller%20compared%20to%20the%20disk%20size.%20If%20you%20inspect%20the%20Office%20container%20disk%20your%20OST%20file%20is%20basically%20consuming%20all%20the%20disk.%20You%20think%20about%20increasing%20the%20size%20of%20the%20VHDs%20(we%20will%20discuss%20the%20options%20about%20this%20at%20the%20end%20of%20this%20blog)%2C%20but%20you%20are%20not%20sure%20if%20that%20is%20the%20best%20solution%20and%20the%20question%20remains.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22diskspace.png%22%20style%3D%22width%3A%20766px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F186263i7815B0A598E9F68B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22diskspace.png%22%20alt%3D%22diskspace.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFirst%2C%20let%E2%80%99s%20discuss%20some%20of%20the%20defaults%20for%20FSLogix.%20Default%20disk%20size%20is%2030%20GB%20for%20both%20Profile%20and%20Office%20containers%20and%20that%20means%20that%20you%20are%20expecting%20to%20have%20for%20each%20user%20up%20to%2060%20GB%20of%20data%20if%20you%20are%20using%20both%20profiles.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20second%20default%20value%20that%20we%20need%20to%20discuss%20is%20Disk%20Type%20and%20we%20set%20this%20to%20dynamic.%20When%20a%20dynamic%20disk%20is%20created%2C%20initial%20size%20will%20be%20close%20to%20the%20data%20that%20is%20stored%20and%20as%20you%20add%20more%20data%2C%20disk%20will%20keep%20growing%20till%20it%20reaches%20the%20maximum%20size.%20The%20%E2%80%9Cproblem%E2%80%9D%20comes%20when%20that%20data%20is%20deleted%20because%20the%20file%20disk%20size%20will%20remain%20the%20same%20and%20that%20previously%20used%20space%20will%20not%20be%20reclaimed.%20This%20is%20not%20an%20FSLogix%20issue%20and%20that%20is%20part%20of%20the%20maintenance%20that%20you%20need%20do%20with%20any%20application%20that%20uses%20Dynamic%20disks%20in%20order%20to%20remove%20empty%20blocks%20from%20a%20dynamically-expanding%20virtual%20hard%20disk%20file.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%20various%20ways%20for%20you%20to%20address%20this%20situation.%20If%20you%20want%20to%20do%20this%20for%20a%20few%20users%2C%20you%20can%20use%20frx%20command%20tool%20with%20the%20migrate-vhd%20modifier%20and%20you%20can%20find%20more%20information%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Ffslogix%2Fcommand-line-utility-reference%23migrate-contents-of-current-vhd-to-a-new-vhd%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20Another%20alternative%20is%20by%20using%20diskpart%20and%20the%20instructions%20on%20how%20to%20do%20it%20are%20%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2Fwiki%2Fcontents%2Farticles%2F8043.how-to-compact-a-dynamic-vhd-with-diskpart.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20But%20if%20you%20need%20to%20do%20this%20in%20a%20more%20robust%20way%2C%20our%20friend%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F534813%22%20target%3D%22_blank%22%3E%40JimMoyle%3C%2FA%3E%26nbsp%3Bpublished%20a%20great%20script%20that%26nbsp%3Byou%20can%20use%20and%20will%20take%20care%20of%20the%20whole%20directory%20where%20you%20store%20your%20FSLogix%20profiles.%20You%20can%20download%20this%20script%20here.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%2C%20let%E2%80%99s%20talk%20about%20Office%20containers.%20As%20you%20are%20troubleshooting%20this%20issue%2C%20you%20realize%20that%20user%E2%80%99s%20OST%20is%20taking%20most%20of%20the%20space.%20A%20few%20things%20you%20can%20be%20done%20here%20is%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EReduce%20the%20amount%20of%20mail%20that%20will%20be%20synced.%20By%20default%2C%20Outlook%20will%20sync%2012%20months%20to%20users'%20local%20mailbox%20cache%20(.ost).%20You%20can%20find%20more%20information%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foutlook%2Ftroubleshoot%2Fdeployment%2Fcached-exchange-mode%23configure-cached-exchange-mode-for-outlook-2016%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3ELimit%20the%20size%20of%20the%20local%20mailbox%20cache%20file.%20You%20can%20find%20more%20information%20about%20this%20and%20side%20effects%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F832925%2Fhow-to-configure-the-size-limit-for-both-pst-and-ost-files-in-outlook%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ESo%20far%20we%20have%20discussed%20some%20of%20solutions%20to%20address%20this%20situations%20when%20you%20are%20hit%20by%20any%20of%20them%2C%20but%20the%20best%20solution%20is%20to%20actually%20plan%20your%20FSLogix%20deployment.%20We%20previously%20mentioned%20that%20default%20disk%20size%20is%2030%20GB%2C%20but%20if%20you%20don%E2%80%99t%20really%20need%20your%20users%20to%20have%20a%20disk%20that%20can%20potentially%20grow%20that%20big%20or%20you%20can%E2%80%99t%20allocate%20that%20for%20all%20your%20users%2C%20you%20seriously%20need%20to%20consider%20reduce%20the%20size%20of%20the%20disk%20and%20configure%20the%20desired%20one%20%3CSTRONG%3E%3CU%3Ebefore%3C%2FU%3E%3C%2FSTRONG%3E%20deploying%20FSLogix%20for%20your%20users.%20If%20you%20are%20in%20the%20situation%20that%20you%20already%20deployed%20FSLogix%20and%20you%20need%20to%20reduce%20the%20size%20of%20the%20disks%2C%20changing%20the%20value%20for%20Size%20in%20MBs%20will%20not%20impact%20existing%20profiles%20and%20you%20will%20need%20to%20move%20the%20data%20to%20an%20smaller%20disk%20as%20we%20discussed%20earlier.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1333170%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20successfully%20deployed%20FSLogix%20and%20everything%20is%20working%20fine%20till%20the%20moment%20you%20start%20running%20out%20of%20space%20at%20the%20designated%20storage%20location.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

Hello guys, Gonzalo here. Today I want to talk with you about one common issue that we see here in the support center: your profile disks are taking lot of space in your storage.

 

When you start troubleshooting this issue, you realize that you VHDs for both Profile and Office containers are big. You look in deep to the Profile container disk and while inspecting the disk content you discover that data store there is way smaller compared to the disk size. If you inspect the Office container disk your OST file is basically consuming all the disk. You think about increasing the size of the VHDs (we will discuss the options about this at the end of this blog), but you are not sure if that is the best solution and the question remains.

 

diskspace.png

 

First, let’s discuss some of the defaults for FSLogix. Default disk size is 30 GB for both Profile and Office containers and that means that you are expecting to have for each user up to 60 GB of data if you are using both profiles.

 

The second default value that we need to discuss is Disk Type and we set this to dynamic. When a dynamic disk is created, initial size will be close to the data that is stored and as you add more data, disk will keep growing till it reaches the maximum size. The “problem” comes when that data is deleted because the file disk size will remain the same and that previously used space will not be reclaimed. This is not an FSLogix issue and that is part of the maintenance that you need do with any application that uses Dynamic disks in order to remove empty blocks from a dynamically-expanding virtual hard disk file.

 

There are various ways for you to address this situation. If you want to do this for a few users, you can use frx command tool with the migrate-vhd modifier and you can find more information here. Another alternative is by using diskpart and the instructions on how to do it are here. But if you need to do this in a more robust way, our friend @JimMoyle published a great script that you can use and will take care of the whole directory where you store your FSLogix profiles. You can download this script here.

 

Now, let’s talk about Office containers. As you are troubleshooting this issue, you realize that user’s OST is taking most of the space. A few things you can be done here is:

  • Reduce the amount of mail that will be synced. By default, Outlook will sync 12 months to users' local mailbox cache (.ost). You can find more information here.
  • Limit the size of the local mailbox cache file. You can find more information about this and side effects here.

So far we have discussed some of solutions to address this situations when you are hit by any of them, but the best solution is to actually plan your FSLogix deployment. We previously mentioned that default disk size is 30 GB, but if you don’t really need your users to have a disk that can potentially grow that big or you can’t allocate that for all your users, you seriously need to consider reduce the size of the disk and configure the desired one before deploying FSLogix for your users. If you are in the situation that you already deployed FSLogix and you need to reduce the size of the disks, changing the value for Size in MBs will not impact existing profiles and you will need to move the data to an smaller disk as we discussed earlier.