locked
storage space allocation space used incorrect- how to recalculate? RRS feed

  • Question

  •  I had an issue today where a developer was checking something for me and noticed that the storage quota area was misreporting space used in a site.  (This was in a mysite- site settings> storage space allocation.
    The information below for the Document Libraries, documents, lists, etc was correct, but the area at the top still showed the wrong amount for space used (number for space used was much less than the actual space used).
    I changed the quota on the site through central admin, and the bar at the top expanded to show a higher limit, but space used was still wrong. 
    My developer was able to go through the api and use a routine with RecalculateStorageUsed, but I want to be able to do this through central admin or through stsadm- is this possible?  If not, can someone let an MS developer know because this would be useful for an admin to be able to do...
    Tuesday, January 13, 2009 10:16 PM

Answers

  • Download the latest version of my stsadm extensions (http://stsadm.blogspot.com) - there's a command called "gl-recalculateusage" - I've not documented it yet but it should do what you need.
    Wednesday, January 14, 2009 3:45 AM
  •  

    Thanks for MVP: Gary Lapointe’s solution.

     

    We were aware of the issue, but currently we do not have a hotfix to resolve it.

     

    A workaround is using RecalculateStorageUsed in SharePoint OM as you know.

     

    You could ask the developer to develop a console / WinForm / WebForm solution for you by using RecalculateStorageUsed.

     

    Hope the information can be helpful.

    -lambert


    Posting is provided "AS IS" with no warranties, and confers no rights.
    • Marked as answer by Sara Porter Thursday, January 15, 2009 5:28 PM
    Thursday, January 15, 2009 2:53 AM

All replies

  • Download the latest version of my stsadm extensions (http://stsadm.blogspot.com) - there's a command called "gl-recalculateusage" - I've not documented it yet but it should do what you need.
    Wednesday, January 14, 2009 3:45 AM
  •  

    Thanks for MVP: Gary Lapointe’s solution.

     

    We were aware of the issue, but currently we do not have a hotfix to resolve it.

     

    A workaround is using RecalculateStorageUsed in SharePoint OM as you know.

     

    You could ask the developer to develop a console / WinForm / WebForm solution for you by using RecalculateStorageUsed.

     

    Hope the information can be helpful.

    -lambert


    Posting is provided "AS IS" with no warranties, and confers no rights.
    • Marked as answer by Sara Porter Thursday, January 15, 2009 5:28 PM
    Thursday, January 15, 2009 2:53 AM
  • Thanks for the info folks. 
    Thursday, January 15, 2009 5:28 PM