Df free space vs filelight freespace *solved*

output of df for /
bash-3.2$ df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 7566432 4967956 2214124 70% /
vs
Were is the extra 2.5 gigs coming from?
Which one is correct? I am assuming the filelight info is because just a few days ago df was reporting a lot less then it is now.
I have var and home on seperate partitions.
I use tempfs for /tmp.
edit: this is what KDirStat reports
Last edited by somairotevoli (2007-04-14 18:50:33)

The difference COULD be because filelight, by default, does not scan /root/, /sys/, /dev/, /prov, ...whether those are enough to account for the difference or not I can't answer.

Similar Messages

  • How to create a partition using the free space of an existing[SOLVED]

    Hi Guys,
    Since I could not install fifa 09 using wine on linux, I need to create a partition where I can install windows first in order to install fifa 09 on it. How can I create a partition using the rest free space of my , for example, /home partition?How can I do it in a secure way (meaning without doing something to my existing archlinux installation files and system files) ?
    Thanks.
    Please see this post:
    https://bbs.archlinux.org/viewtopic.php?id=109402
    Last edited by Archie_Enthusiasm (2010-12-08 19:23:46)

    Use Parted Magic. But you *should* backup any important files just in case, regardless of method you use. You never know. Someone could unplug your computer, a power surge might happen, etc. A cousin of mine actually did something similar while I was gaming, the extension cord has a red button which he "accidentally" pressed. I would've cracked his skull had he done it while resizing a partition.
    Anyway, the partitioning scheme should be the first thing you do when you decide go this route (dual booting). I remember about a year ago I forced myself to use Linux by formatting the entire drive to ext4, except for the 2 GB + 20 GB ntfs partitions. It was what kick-started me on this path. Here's my partitioning scheme for both computers, maybe you'll get an idea and do something similar:
    Older computer:
    2 GB ntfs - MicroXP
    8 GB ext4 - Arch Linux + Home dir (to keep the dot files organized in one place)
    20 GB ntfs - games partition
    Rest is for media, formatted as ext3 with inode 128 (so it can be loaded as Read-Only in Windows too via Ext2fsd so they won't be affected in case of a virus infection)
    New computer:
    20 GB Windows 7
    10 GB Arch Linux + home dir
    50 GB games partition
    Rest of the space is ext4 mounted to /media
    Note that they're all primary partitions for remembering easier (sda1, sda2, sda3, sda4) instead of a combination of primary and extended which would probably look like sda1, sda5, sda6, sda7, etc.
    Last edited by DSpider (2010-12-03 13:02:26)

  • HARD TO SOLVE - User account free space and HD free space do not match

    Hello.
    I just upgraded my iMac from a 320Gb to a 1Tb, so as to have more space (obviously). The APR did install the HD since I did not want to mess myself with the hardware (I'm clumsy). I then reset the data via TimeMachine since all my files are in a filevault protected account.
    I now have a problem they cannot solve. My user account (there's only one account on the whole computer, let's call it XYZ) is protected by filevault. In the user account XYZ there are only about 100Gb of space left, whereas the LocalHD clearly shows that there are more than 475Gb left on the LocalHD. I cannot turn off filevault as it keeps saying that I am missing about 370Gb of free space to turn off filevault.
    And I need more space in my user account XYZ for various reasons, one of them being synchronisation over internet et caetera. Does anyone have a solution which does not consist in moving every single file manually to a new user account?
    My guess was that the filevault account XYZ is limited by size since it comes from the old HD which was only 320Gb, but even that makes no solution, as it occupies a lot more than 320Gb at this point (my iTunes lib is bigger). As I said, the Luxembourg APR have no idea how to solve this issue, I would be more than glad if one of you had a solution to trick the filevault account XYZ into believing it had more space allocated (I'm not that used to the terminal, it may be the key to the problem).
    Thank you so much in advance,
    Laurent

    Hi,
    My guess was that the filevault account XYZ is limited by size since it comes from
    the old HD which was only 320Gb,
    Yes, I think this is what happened - see
    *Mac OS X: FileVault-protected Home shows less capacity than what's available on the hard disk*
    http://support.apple.com/kb/TA24068
    but even that makes no solution, as it occupies a lot more than 320Gb at this
    point (my iTunes lib is bigger).
    At least in Snow Leopard, when you create a FileVault account the "potential capacity" of the FileVault volume contained in the sparsebundle is twice the size of the underlying HD! Obviously that capacity could never be realized, since the sparsebundle could not grow larger than the HD that contains it. So for example, my startup HD volume capacity is 320GB. If I create a test Filevault account named "fv" and Get Info on the FileVault mounted volume (the icon in the sidebar), it shows an apparent capacity of 640GB! The reported Used space is apparently artificially inflated so as to make the actual available space seem correct:
    The normal fix for your situation is to turn off Filevault and then optionally turn it on again, but you currently don't have enough free space on the HD to do this. The FileVault sparsebundle is supposed to self-compact when you log out of FileVault, and so compacting it manually may not help. If you do try this via a Terminal command, I think you will have to do it as root - I could not directly access a FileVault sparsebundle from a different admin account.
    The support article above suggests:
    If you do not have sufficient free space on your hard disk, you will need to temporarily reduce the size of your home directory, for example by copying a large amount of data in your home directory to an external hard disk, then deleting the stuff that you moved from your Home. After copying, log out or restart so that FileVault can reclaim the unused space.
    This seems safe, though time-consuming.
    An alternative approach would be to try to directly resize the FileVault sparsebundle and its contained volume. This can apparently be done, but is obviously risky since if something goes wrong you could easily lose everything in the Filevault account. I did some experimenting and was able to increase the size of my test FileVault home volume to 1T by logging out of the Filevault account, logging into a different admin account, and then using this Terminal command:
    sudo hdiutil resize -size 1000g /Users/username/username.sparsebundle
    Here <username> is the name of the FileVault account. I was asked first for the current logged-in admin account password (for the sudo) and then for the password to access the sparsebundle, which is the password for the FileVault account. This seemed to work (it took some time to complete), and I was then able to re-log into the Filevault account. The sidebar Filevault icon Get Info now showed a capacity of 1.07 TB.
    But again, this seems risky - I can't recommend trying it except perhaps on a backup clone.
    Message was edited by: jsd2

  • Strange calculation of free space

    Hi!
    I can't understand how size of free space is calculated.
    For example:
    in my mailbox i have 3 folders
    Incoming  40.4 Mb
    Sent 13.1 Mb
    Junk 302 Kb
    In total about 55 Mb
    but in Statistic writtent, that ocupied 161.7 Mb
    Same situation3 with Documents and Application data:
    My Measures  252.5 Mb
    Mail                160.1 Mb
    Pages              22.6 Mb
    Numbers          14.6 Mb
    Keynote           13.4 Mb
    All other in sum less than 1 Mb
    In total should be less than 500 Mb
    ps: I deleted all photos and turned off PhotoStream.
    How to solve this problem?

    I have the same issue. I have just 68.5MB of documents in iCloud and it says it's full. I tried to delete photos from photo stream. I have no backups in iCloud and I don't sync my mail to iCloud.
    https://www.evernote.com/shard/s24/sh/a8fc9ce7-0b24-4b24-a306-617a824b9333/5bbc8 d18d8fb43ef713088057c8d830e
    https://www.evernote.com/shard/s24/sh/58447450-8089-4bc6-8a0f-d133747d05ff/17fc6 e9d31b5d68242ea2f8f1024ac73

  • Can't save file on iOS device with low free space available

    Hi,
    I was using SharedObject to save settings in my game. However, recently I discovered on one of our devices it doesn't work. I've found somewhere on this forum discussion that air can't save sharedobject when available space is lower than about 300mb (link here: Bug#3711301 - sharedobjects fail when available storage is low). On my iphone it's about 40mb, but file, which I want to save is just 2 variables.. persistenceManager doesn't work too (well i've looked at source and it's just using SharedObject). So i've decided to just write file by myself:
    declarations:
    public var mute:Boolean = false;
    public static var fullId:String = "";
    then in constructor:
    flash.net.registerClassAlias("Settings", GameSettings);
    load();
    and finally save() and load() functions:
    public function save():void
      try {
      log("begin save()");
      var file:File = File.applicationStorageDirectory.resolvePath("settings.txt");
      var stream:FileStream = new FileStream();
      stream.open(file, FileMode.WRITE);
      var settings:GameSettings = new GameSettings();
      settings.fullId = fullId;
      settings.mute = mute;
      stream.writeObject(settings);
      stream.close();
      log("end save()");
      catch (error:Error) {
      log("[ERROR] " + error.name + ": " + error.message + "\n" + error.getStackTrace());
      public function load():void
      try {
      log("begin load()");
      var file:File = File.applicationStorageDirectory.resolvePath("settings.txt");
      if(!file.exists){
      log("settings.txt does not exist, created new one..");
      save();
      return;
      var stream:FileStream = new FileStream();
      stream.open(file, FileMode.READ);
      var settings:GameSettings = stream.readObject() as GameSettings;
      mute = settings.mute;
      fullId = settings.fullId;
      log("loaded mute = " + mute);
      log("loaded fullId = " + fullId);
      stream.close();
      log("end load()");
      catch (error:Error) {
      log("[ERROR] " + error.name + ": " + error.message + "\n" + error.getStackTrace());
    My GameSettings class:
    package
      public class GameSettings
      public var fullId:String;
      public var mute:Boolean;
      public function GameSettings()
    This works on desktop, android. Works on my ipad too, which has 10gb of free space. However, like I said, it doesn't work on iphone5s with 40mb free memory.
    Here's a log:
    begin load()
    settings.txt does not exist, created new one..
    [ERROR] Error: Error #0
         at Autumn/save()
         at Autumn/load()
         at Autumn()
    It's clear that AIR can't open or write to 'settings.txt' file. What can I do to solve that issue (other than making more free space on iphone)? Is there any workaround for that?

    Any help please?

  • 'erase free space' not secure - it doesn't seem to work?

    Just wanted to point out that the erase free space option in Mountain Lion does not seem to work, at all.
    A week ago I ran erase free space on my primary data drive then later, out of curiosity, I ran an inexpensive third party recovery program on the disk just to see what happened. Interestingly enough the recovery software was able to find and restore files that I had deleted over a year ago.
    This has me thinking, so today I tried it again, only with a 7 pass erase this time. Nope, same thing. After a 7 pass erase (erase free space) this low end, less than $35 recovery software turns up tons of files, everything from stuff I just deleted a few days ago to stuff from over a year ago.
    If I'm doing something wrong I would love for someone to point it out to me. Not that I'm toting state secrets or anything on my mac, but still - my privacy is important to me and I assume it is to others.
    I'd encourage folks to try this out for themselves.
    My set up is a 2011 macbook pro with an SSD as the boot drive, I've got a second harddrive installed in the optical bay and this is where my home folder lives. The secondary drive is the drive where I'm running erase free space.
    The only thing that I can think of is that, even though the button is not greyed out, maybe I need to be booted to recovery in order to succesfully run erase free space on system drives?
    Any input would be greatly appreciated, otherwise this seems like a pretty ugly security lapse on the part of Apple. Imagine if you're selling your machine and secure erasing before turnign it over to its new owner - and the new owner can run a $35 dollar recovery program and access everything on your machine.
    Not good. 

    Thanks for your response, William.
    I think that the issue may have to do with being booted to the system while trying to erase free space. I ran a 7 pass erase free space on a 1TB external Lacie drive this afternoon, the operation took a bit over 6 hours to complete and recovery sofatware is turning up nothing.
    This is in contrast to the main drive, which my original post referenced, which is a 500gb 7200 rpm internal drive. A 7 pass secure erase took less than 5 minutes to complete - so, even though the drive is 1/2 the size, there's obviously something not right with the 7 minutes time to complete.
    Tomorrow I'm going to try either booting to another account (which doesn't utilize this partcular disk) or booting to recovery and seeing what happens.
    I have a feeling that this will solve the problem - I'll post back tomorrow evening. 

  • I upgraded to iOS 5 and I went from having about 15GB of free space to being 4 GB over capacity.  Any solutions which save me from having to re-organize all of my apps?

    After I upgrded to iOS 5, the category of other is taking up 15.3 GB of space.  Prior to the upgrade, I had approx. 15GB of free space on my 64 GB iPad.  My concern is that the only solution to this problem that occurred from the "upgrade" is that I have to do a factory reset.  If I do a factory reset, there are two big pain points.
    1) The amount of time that it will take to get all of my stuff back onto the iPad.  When I first got the iPad, it took about 2 days for the music, videos, and photos to load.
    2) Re-organizing my apps.  I currently have my 229 apps organized into 11 folders and 8 screens.  I know this is a lot of apps, but I don't want to have to go through the struggle of getting it all organized as it is today.  Is there any way to get all of the apps organized the same way post-reset that will not involve a whole lot of work by me?
    I have tried to call Apple support to get help on this, but I have gone through 4 phone calls with hold times averaging 45 minutes before speaking to someone.  After all of this time and effort, their solution is a factory restore and do all the work myself.

    Hi again
    The problem isn´t solved but we now know what it is.
    Because I couldn´t upgrade the last 1-2 times with iTunes I though the problem was my iPod touch 3. generation, so when I heard that Apple couldn´t find or re-create the problem(s), then I flipped out. Sorry about that.
    Because it looks as the problem belong to the Philips speakersystem (real name is DCM 580).
    So when I received my touch back today and after speaking with Apple - DK, I looked at Philips support and found a firmware upgrade to the speakersystem from Sept. 23, 2011. Did upgrade my speakersystem and after that the rechargesystem through the dockconnection worked again. And at this afternoon on the homepage of my speakersystem, Philips tells us, that they have created a firmware update that only needs approval and then will be released at the homepage. So it looks at the whole problems was to some compatibility problems with the speakersystem after upgrading to iOS 5.0.
    Its not easy to know where to start when 2 or more units are involved these days
    Looked in the mirrow then I ofcourse know very well that we allways shall look for firmware and drive updates before anything else. This time I missed that because I have upgraded several time since February and uptil the day before upgrading to iOS 5.0 and none of thise upgrades had any needs for speakersystem upgrades.
    Friendly regards
    Bear

  • Not Enough Free Space on NetBoot Image Partition

    Since the NetBoot server isn't all that popular, I'm going to explain how it works a bit before I get into my problem.
    I assume everyone knows how it works on the client end. You choose an image and your Mac boots that image over the network. Quick, easy, painless. It's a cool system. So on the server/admin side…
    Every version of OS X Server comes with it's own System Imaging Utility. So lets say you want to make a netboot image with some utilities on it. So you take an external hard drive. Make two partitions on it. On one partition, you set it up to be the netboot image. So you install all of the utilities you want installed. You configure all of the preferences just the way you want them. Set your background image, etc, etc. On the other image, you just do a quick clean plain installation of your OS. And you also install your OS X Server Admin tools (or in case of 10.8, the Server app). So once your image-to-be is configured, you boot the second partition, and run the imaging utility. This utility will turn your volume into a netboot image. A netboot image is basically just a folder with some .plists in it, a read-only disk image of your initial volume, and a kernel or two (10.5).
    NetBoot images are read-only. So when you boot them, you can make as many changes as you want. But once you shut down, all changes are lost. Every time any mac boots a netboot image, it is booting the image exactly as it was when you made it. The changes you make are stored in shadow files on the server that you can periodically toss, since they are only used during the current active session. Once you reboot, the shadow files are useless.
    So here is the problem: When you make a netboot image from a real volume, the utility only leaves a small amount of free space on the volume. Even though the disk image is read only, the amount of free space matters because that's still all you get to use. In other words, if the .dmg file in the netboot image i just made only has 900 MB of free space in the volume, then that's all I get for free space on any machine I boot off that image. Even though the image is read only, and all of the "free space" is actually being stored as shadow files on the server, that limit is still applied. And 900 MB is not very much free space. So you can boot a utilities volume and if a program eats up a lot of ram, that virtual memory can eat up what little free HD space you have, and suddenly your netboot image is not very functional.
    Now being the clever fellow that I am, I came up with a solution to this problem last time around. I used the following command to resize the partition (and only the partition) of the .dmg file, inside the netboot image (netboot images are just folders).
    hdiutil resize -size 60g -partitiononly NetBoot.dmg
    This resized the volumes to 60 GB. But it was all blank space, so the .dmg file's size did not change. It would just mount as a read only volume with 40 GB of free space instead of a few hundred MB. This little trick worked very well. But it's not working any more. I can't figure out why. But every time I try to run this command on the .dmg file, I get an error very similar to the following:
    hdiutil: resize request 125829120 is above maximum size 18005952 allowed.
    hdiutil: resize: failed. Invalid argument (22)
    I get this error while running 10.8, 10.7, or 10.6. I get this error whether I'm trying to resize an image containing 10.8, 10.7, 10.6, 10.5, 10.4 or 10.3. I get this error whether I convert the image to a read/write image first, or even a spare image first. I get this error whether the original hard drive that volumes were on, is partitioned as APM or GUID.
    The "maximum size" listed in the error message is different for each image I try to resize. It's as if the tool is trying to fit the increase volume inside the existing free space of the image's volume. Which isn't what I'm trying to do at all.
    I've been using netboot images filled with utilities for years now. And overall it works very very well. I started back when the first macbooks came out with no firewire. I quickly realized I needed a better solution than booting my Mac into firewire mode to repair other Macs. And then when I got into it, I realized I could host images of all different OS versions. So now I can plug my MBP into a client's network, and boot any Mac they have off of a utility volume of any version of Mac OS X needed, all the way down to 10.3, all at the same time. And I also have NetInstall volumes too that let me install OS X for all these versions as well. The only real quirk I've had over the years, is this 'free' space issue. In the past (before the last time I updated my images, where I used the command above to resize the partitions and solve the problem), what I've done when I've ran into a HD pinch while working, is to immediately start deleting apps I don't think I'm going to need, right off the netbooted Mac. This frees up space on the netboot volume and the system is happy. And again it's all read only, so I'm not actually making changes to the image itself. One real half assed solution I thought of was to set up all of my netboot volumes as having a 1 GB file in their trash and not emptying it before creating a netboot image from the volume. Then when this problem came up and the OS was running out of disk space, I could just empty the trash. I'm quite sure this little trick would have worked, but it's so half-assed. I'd much rather just have more free space on the mounted disk images.

    But how did my command work so perfectly last time? Here's an image. On the left, the info window of the disk image inside my 10.7 Utilities netboot image. On the right, the info window for that disk image's mounted volume. The file is only 7 GB and the volume is a 30 GB volume with ~23 GB free. None of the free space of the volume is using up any actual disk space in the .dmg file. I did this once, there's got to be a way to reproduce this again?
    Here's the same thing with my 10.6 Utilities netboot image. Also in case I'm not being clear, these netboot images these screen shots are of, are from the last time I updated my netboot images ~11 months ago. These are not my current batch that I'm trying to finalize.

  • I have 5GBs of free space. Itunes saying not enough space to sink. Help?

    My IPhone says I have 5GBs of free space. When I try and sync my music a message pops up saying I need 2.24 more GBs and that my phone won't hold all of my selections. I have already deleted 1000 songs that I had on there from my previous sync and it still doesn't work. I had 2900 songs on there before have cut it down to 1900 and still nothing. Anyway to solve this problem?
    Thanks,
    AM

    Don't delete items on the iPhone. Syncing will take care of this.
    You need to delete times you have selected to sync.
    Create playlist(s) and add songs, You can see how large these playlists are.
    You can then sync only those playlists.

  • 5GBS of free space. Itunes says not enough to sync.

    My IPhone says I have 5GBs of free space. When I try and sync my music a message pops up saying I need 2.24 more GBs and that my phone won't hold all of my selections. I have already unchecked 1000 songs that I had on there from my previous sync and it still doesn't work. I had 2900 songs on there before, have cut it down to 1900 and still nothing. Anyway to solve this problem?
    Thanks,
    AM

    Does your phone have 5GB of free space or does iCloud have 5GB of free space?

  • Scheduling SecureErase of Free Space

    I would like to schedule an automatic (daily) run of Disk Utility's Secure Erase Free Space. How do I do this?
    I did find this command:
    sudo diskutil secureErase freespace 1 <diskname>
    Thanks.

    Hi, HGG. Welcome to the Discussions.
    A word of caution concerning Secure Erase Free Disk Space. I would not use that function without first:
    1. Assuring the disk in question was free of directory corruption via Disk Utility > Verify Disk. If the directory is corrupted, space considered "free" could actually be occupied by files.
    2. Having a full backup of the disk in question. This is a worthwhile prophylactic step that should be relatively straightforward if you've implemented a comprehensive Backup and Recovery solution. For advice on my backup and recovery solution, see my "Backup and Recovery" FAQ.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • "Not enough free space" with multiple internal hard drives

    I have a Power Mac G4, dual 1.25 Ghz, 2mb Ram running 10.5.8. I have four 500gb internal drives. I've had a number of issues with my internal drives lately. Hopefully someone here can help.
    When I "get info" none of the drives display capacity or availability.
    When I attempt to copy files from one drive to another I will consistently receive this error:
    "The item "filename" cannot be copied because there is not enough free space.
    My startup drive should have over 400GB of freespace, so there is plenty of space. This problem also occurs when I connect my Macbook Pro in target mode and attempt to transfer over files.
    I was able to boot the G4 into target mode and backup my data. I then installed a fresh copy of OS X 10.5, then did the 10.5.8 combo update (not through software update).
    This seems to have fixed the problem as I was copying and organizing my files back and forth between drives quite easily. However, the problem has returned from out of nowhere.
    Anybody have ideas what this could possibly be?

    Hi iliveontrantor, and a warm welcome to the forums!
    Have you emptied the Trash on those drives?
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    How much free space is on the HD, where has all the space gone?
    OmniDiskSweeper is likely the easiest/best, and is now free...
    http://www.omnigroup.com/applications/omnidisksweeper/download/

  • TimeMachine reports "Backup Disc full" but TC has still 250 GB free space

    Hi
    i have a little problem with my TC 500GB. After a few backups which worked fine, my TC reported that the backup Volume is full and that TM has to delete an older backup. But my TC has still 250 GB free space (as shown in the airport utility and over the finder).
    I have only one partition or drive on my TC (as shipped).
    The first solution for me would be to erase the drive on the TC and Reset it. But i would like to avoid to backup my files again over wireless lan.
    Any ideas how to solve this problem without deleting the drive on the TC and resetting it?
    thanks

    Hi,
    Have you received any responses at all to this? It doesn't seem so.
    I have exactly the same problem with a 1TB TC and my wife's MB C2D. It had some problems backing up for a while (apparently due to all the wireless issues being reported on these discussion boards - and NOT due to DNSchanger, I've checked). After I managed to get it backed up again by plugging in direct and left backing up overnight, it is now reporting that the backup disk is "almost full". However, there's over 450GB of space left and my MacBook Pro, which also backs up to the same TC is not reporting any issues.
    If anyone knows what the solution might be, please let me know.
    Rgds,
    Guy

  • Logical Disk Free Space Monitor - Slow to detect low free space

    We are using the built in two trigger (MB and %) logical disk free space monitor in SCOM 2012 R2. We have setup overrides for MB warning and critical for both system and non-system drives and for a group containing disks we do not want monitored. The monitor
    actually works fine, triggering an alert when both the MB and % free criteria are met. The problem is that it takes almost an hour for the initial alert to fire. After the initial alert, if I further fill the disk to push it from warning to critical, the alert
    changes within the specifiec interval, which we have left at 15 minutes. The alert also clears using the 15 minute interval.
    Has anyone else seen this behavior with this monitor? A disk monitor that takes an hour to fire is not going to be very useful.

    I wanted to see for myself if there was anything else that I might be missing, so I opened up the Windows 2008 Logical Disk Free Space monitor XML and noticed that there is a NumSamples configuration that is set to 4. So, if the interval is 15 minutes, the
    disk would have to exceed both threshold types for 4 consecutive intervals in order to change state and generate alert. This would be a minimum of 1 hour before an alert is raised with the default 15 minutes interval.
    Unfortunately, NumSamples is not overrideable in the monitor type, which is too bad... The only way to get an alert sooner than one hour is to override interval. For example, if you want an alert within 20 minutes, override interval to 300 seconds (5 minutes).
    Here is the code - see for yourself:
    <UnitMonitor ID="Microsoft.Windows.Server.2008.LogicalDisk.FreeSpace" Accessibility="Public" Enabled="true" Target="Server2008!Microsoft.Windows.Server.2008.LogicalDisk" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.2008.FreeSpace.Monitortype" ConfirmDelivery="true">
    <Category>Custom</Category>
    <AlertSettings AlertMessage="Microsoft.Windows.Server.2008.LogicalDisk.FreeSpace.AlertMessage">
    <AlertOnState>Warning</AlertOnState>
    <AutoResolve>true</AutoResolve>
    <AlertPriority>Normal</AlertPriority>
    <AlertSeverity>MatchMonitorHealth</AlertSeverity>
    <AlertParameters>
    <AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</AlertParameter1>
    <AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
    </AlertParameters>
    </AlertSettings>
    <OperationalStates>
    <OperationalState ID="UnderWarningThresholds" MonitorTypeStateID="UnderWarningThresholds" HealthState="Success" />
    <OperationalState ID="OverWarningUnderErrorThresholds" MonitorTypeStateID="OverWarningUnderErrorThresholds" HealthState="Warning" />
    <OperationalState ID="OverErrorThresholds" MonitorTypeStateID="OverErrorThresholds" HealthState="Error" />
    </OperationalStates>
    <Configuration>
    <ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
    <DiskLabel>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</DiskLabel>
    <IntervalSeconds>900</IntervalSeconds>
    <SystemDriveWarningMBytesThreshold>500</SystemDriveWarningMBytesThreshold>
    <SystemDriveWarningPercentThreshold>10</SystemDriveWarningPercentThreshold>
    <SystemDriveErrorMBytesThreshold>300</SystemDriveErrorMBytesThreshold>
    <SystemDriveErrorPercentThreshold>5</SystemDriveErrorPercentThreshold>
    <NonSystemDriveWarningMBytesThreshold>2000</NonSystemDriveWarningMBytesThreshold>
    <NonSystemDriveWarningPercentThreshold>10</NonSystemDriveWarningPercentThreshold>
    <NonSystemDriveErrorMBytesThreshold>1000</NonSystemDriveErrorMBytesThreshold>
    <NonSystemDriveErrorPercentThreshold>5</NonSystemDriveErrorPercentThreshold>
    <NumSamples>4</NumSamples>
    </Configuration>
    </UnitMonitor>
    This proves 2 things:
    1. Your testing proved that the monitor is working as designed - you got an alert in about an hour
    2. This is a bad design at best, or a bug if you wish, as NumSamples should not be a hidden configuration - it should be exposed in override parameters in the console.
    This should be fixed by Microsoft.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • NOT using xp_cmdshell, Can we check free space of drives in windows servers?

    Hello all,
    I have a strange situation here(may not be to you), as per client security standards,
    I should NOT use xp_cmdshell. Adding to this, I was asked to generate a report daily about drives and their free spaces.
    Having with xp_cmshell, we have numerous ways to execute this task easily but
    NO xp_cmshell. Also, I can't use xp_fixeddrives system proc because it doesn't show-up mounted drives.
    So, it would be great if you can share any other possible options using SQLCMD, PowerShell, T-SQL scripts etc that we can get the drives list (including mount points, root directory(C$), Quorum drive, MSDTC drives) and their free spaces.
    I tried a couple of ways like using  sys.dm_os_volume_stats() function which comes in SS2012. But, couldn't help.
    Appreciate your help and time in regarding.
    Thank you all!!

    Is powershell an option for you?
    If yes, its quite easy to come with PS script for this
    see examples here
    http://www.codeproject.com/Articles/757946/Retrieve-Disk-Space-of-Remote-Computers-using-Powe
    http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/08/use-powershell-to-create-a-report-displaying-free-disk-space.aspx
    As far as I know sys.dm_os_volume_stats  only gives the details ofabase files exist
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • Cannot send a TEXT message to a NEW contact

    I don't know if this is because of the 3.0 upgrade.... I can still send a text to someone who I've already sent texts too, and I can simply click their name, and continue the text conversation. But if I click the icon to select someone NEW to send to

  • Joining several swf files into one swf file

    hello everybody i've been dealing this issue for too long and decided to ask for  help - how can I unite 15 swf files which placed in one folder to a one swf file??? i tried all kindes of merging softwares like "Join (Merge, Combine) Multiple SWF Fil

  • Invoice against multiple sales order?

    Hi, My client has a requirement of Clubbing of sales order in one invoice. Is there a possiblity to achieve the same. Details would be appreciated. Thanks

  • "Please Wait" message

    Good afternoon, I have setup the javascript to display a clock icon with "...Working..." displayed while long processes are running when a button is pressed. What I need to do now is to define a link in a report column, initializing values from colum

  • Tiny red dots underlining auto-fill address and name fields?

    Just very recently, my computer started to underline, with tiny red dots, some of my inputs into address fields, and even now, while I am writing this message. Is this a virus? What can it be?