Professional Geek
RSS icon Email icon Bullet (black)
  • Missing Server Disk Space

    Yesterday we got an alert from a client’s server that it was a running low on disk space.

    This particular server has a data partition that is about 44GB but in the past they have never got anywhere near this much data

    I logged onto the server and yes indeed they were pretty low on space. I did a bit of house keeping and deleted some old backup/image files on the server to free up about 7GB

    While I was looking at the folders something didn’t quite add up

    I selected all the folders and checked the properties and the size totaled to about 9GB.

    Strange. The server was reporting 35GB had been used.

    I’d come across a similar probably in the past where you have to allow for the space used by shadow copies but on checking this it was only using about 2GB…where had the other 25GB gone?

    I’ve used TreeSize Free a couple of times in the past and this told the same story (just in a nice graphical fashion!)

    So I did a bit of searching and found the DIRUSE utility and used the following

    DIRUSE /s /m /, E:\ > c:\sizelog.txt

    This gave me a text file with a complete a list of every folder on the partition with usage in megabytes with larger figures nicely separated by a comma

    I was able to open the file in excel and sort by the file size with the largest at the top

    I spotted a couple of subdirectories that were quite large where Treesize and Explorer had reported the containing folder as being quite small

    The name of the folder gave it away for me: PROFILES

    On this particular server each user has a roaming profile so they can log onto any PC in the office.

    But the way this had been setup meant that as an administrator, by default I didn’t have permission to view those files…even to check the file size

    When your logged on as an administrator DIRUSE gives you the file sizes regardless of permissions and surprise, surprise the profiles directory was 25GB

    Looking down the list the it turns out that someone must of had this bright idea,

    “I’ll install iTunes and rip some music to the PC, that way I can listen to music no matter which PC i’m on”

    Then everyone else had caught on to the idea and the re-directed My Documents folders were full of MP3’s

    There was a little while where this had me completely stumped and all sorts of ideas running through my head about file corruption and similar nightmares. Thankfully it wasn’t anything of the sort but i learnt all about a very useful command!

  • Sharepoint Event – 29th April 2008

    I had such a busy day yesterday I didn’t get around to posting about this.

    I spent Tuesday afternoon travelling down to Microsoft’s offices in London (Victoria) with Vijay to attend an event he had organised with Combined Knowledge

    The idea behind the event is to help educate more about WSS (Windows SharePoint Services) as opposed to full blown MOSS (Microsoft Office SharePoint Server). Especially in the SBS area as it’s already installed with your SBS server!

    Something I certainly found out when first exploring SharePoint was finding WSS specific information wasn’t easy due to the fact that SharePoint – as a whole – generally means MOSS (or SharePoint Portal Server as it was!)

    This is understandable as SharePoint experts will be dealing with MOSS more on a day-to-day basis (and from a Microsoft perspective it’s the product that makes licensing money!)

    The event was kicked off by Craig Carpenter from Combined Knowledge who gave a demonstration of Search Server Express (eventually…as is always the way at these events someone’s demo usually does something unexpected and this time it happened to Craig but he managed to sort it out and do the full demo)

    I’d read about Search Server Express (specifically over on Dave Overton’s blog) but not looked into any further than that.

    The demo Craig gave showed how I do need to go back at look at it. The ability to ramp up WSS search capabilities is very compelling and features such as federated search (imagine including technet search results within your SharePoint results), custom search scopes and complete control over what is and isn’t crawled is all very http://humanrightsfilmnetwork.org/ambien cool

    After this Steve Smith, also from Combined Knowledge talked about Content Types and document management. Since content types is something I only recently get my head around it was good to reinforce some of the things I’d been working with and also also show me some things I hadn’t given enough consideration to

    The final speaker was Bill English. He’d flown in from the US to do a little bit of site seeing and speak at a couple of events about his product

    I was really looking forward to hearing Bill speak. When I first started looking at SharePoint the first book I picked up was one of his books (Microsoft SharePoint Products and Technologies Resource Kit). I learnt awful lot from this book so this was like seeing a SharePoint celebrity speak to me

    Bill was there to talk about his DeliverPoint product. The idea of the software is to give you a central location for managing SharePoint permissions. I can see on large installations how this could get out of hand so the product is certainly worth a look as it’s very easy to use and the feature list is very impressive. Take a look at the site for more information as I won’t do it just here!

    As well as the usual networking opportunities we also got some great pizza! On the whole I really enjoyed the event and even though I didn’t get home until 1am it was thoroughly worth the trip

     Their is a SharePoint user group in the Midlands so I’ll be looking out for upcoming events in the Midlands!

  • Really Deleting a Sharepoint User (WSS v2)

    Richard Tubb gave me a call a couple of days ago as he was having a problem with his user account in SharePoint (read about it here)

    He mentions I’d had a similar problem

    It was along the same lines but worthy of a blog post I think

    I have a client who uses an Infopath http://artsandhealth.ie/finasteride/ form as a time sheet. On the form is a drop down list with all the staff members names to identify who the time sheet belongs to. I’d gained access to the user list via one of the SharePoint web services (I posted about this technique here) 

    The problem was that some staff members had left the company and after I’d deleted their user accounts the names were still showing up in the Infopath form

    This entry on the WSSFAQ site pointed me in the right direction

    I had deleted the user from the SITE but not from the SITE COLECTION (e.g a site collection could be 10 sites but specific users only have access to 3 of them. Hence the need to remove them from both places – though I imagine deleting them from the site collection will sort out the other sites)

    To do this I did the following

    From the site at the top of the site collection click the Site Settings menu then Site Administration. In the “Site Collection Administration” section click  “View site collection user information “

    From here I was able to delete the user and they disappeared from the Infopath list