Defrag is not defragging

I posted a question in the forums the other day after attempting to defrag one of the drives on my file server. The drive in question is where we have all the application installation files for the School stored.
This particular drive was quite low on free space, so I used the following switches in an attempt to force the defrag to happen anyway.

  • W – Performs full defragmentation. Attempts to consolidate all file fragments, regardless of their size.
  • F – Forces defragmentation of the volume when free space is low.
  • V – Specifies verbose mode. The defragmentation and analysis output is more detailed.

C:Usersjeffpatton.admin>defrag s: -w -f -v
Windows Disk Defragmenter
Copyright (c) 2006 Microsoft Corp.

Defragmentation report for volume S: Software Drive
    Volume size                         = 512 GB
    Cluster size                        = 4 KB
    Used space                          = 450 GB
    Free space                          = 62.40 GB
    Percent free space                  = 12 %

File fragmentation
    Percent file fragmentation          = 55 %
    Total movable files                 = 1,716,060
    Average file size                   = 605 KB
    Total fragmented files              = 1,536
    Total excess fragments              = 1,363,219
    Average fragments per file          = 1.85
    Total unmovable files               = 11

Free space fragmentation
    Free space                          = 62.40 GB
    Total free space extent             = 1,013,736
    Average free space per extent       = 65 KB
    Largest free space extent           = 85 MB

Folder fragmentation
    Total folders                       = 127,411
    Fragmented folders                  = 1
    Excess folder fragments             = 2,819

Master File Table (MFT) fragmentation
    Total MFT size                      = 1.70 GB
    MFT record count                    = 1,777,742
    Percent MFT in use                  = 99
    Total MFT fragments                 = 3

    Note: On NTFS volumes, file fragments larger than 64MB are not included in the fragmentation statistics
Defragmentation report for volume S: Software Drive
    Volume size                         = 512 GB
    Cluster size                        = 4 KB
    Used space                          = 450 GB
    Free space                          = 62.40 GB
    Percent free space                  = 12 %

File fragmentation
    Percent file fragmentation          = 70 %
    Total movable files                 = 1,716,060
    Average file size                   = 605 KB
    Total fragmented files              = 1,533
    Total excess fragments              = 1,363,206
    Average fragments per file          = 1.85
    Total unmovable files               = 11

Free space fragmentation
    Free space                          = 62.40 GB
    Total free space extent             = 1,012,697
    Average free space per extent       = 65 KB
    Largest free space extent           = 85 MB

Folder fragmentation
    Total folders                       = 127,411
    Fragmented folders                  = 1
    Excess folder fragments             = 2,819

Master File Table (MFT) fragmentation
    Total MFT size                      = 1.70 GB
    MFT record count                    = 1,777,742
    Percent MFT in use                  = 99
    Total MFT fragments                 = 3

    Note: On NTFS volumes, file fragments larger than 64MB are not included in the fragmentation statistics
Well, here it is the next day and defrag finished sometime during the night. You will notice now that file fragmentation is where it should be. My assumption from this is that while you can choose the –F option, there is most likely a threshold at which even that won’t work.
C:Usersjeffpatton.admin>defrag s: -w -f -v
Windows Disk Defragmenter
Copyright (c) 2006 Microsoft Corp.

Defragmentation report for volume S: Software Drive
    Volume size                         = 640 GB
    Cluster size                        = 4 KB
    Used space                          = 445 GB
    Free space                          = 195 GB
    Percent free space                  = 30 %

File fragmentation
    Percent file fragmentation          = 45 %
    Total movable files                 = 1,717,746
    Average file size                   = 607 KB
    Total fragmented files              = 446
    Total excess fragments              = 1,159,235
    Average fragments per file          = 1.72
    Total unmovable files               = 11

Free space fragmentation
    Free space                          = 195 GB
    Total free space extent             = 995,580
    Average free space per extent       = 206 KB
    Largest free space extent           = 84.77 GB

Folder fragmentation
    Total folders                       = 127,414
    Fragmented folders                  = 1
    Excess folder fragments             = 0

Master File Table (MFT) fragmentation
    Total MFT size                      = 1.70 GB
    MFT record count                    = 1,778,403
    Percent MFT in use                  = 99
    Total MFT fragments                 = 3

    Note: On NTFS volumes, file fragments larger than 64MB are not included in the fragmentation statistics
Defragmentation report for volume S: Software Drive
    Volume size                         = 640 GB
    Cluster size                        = 4 KB
    Used space                          = 445 GB
    Free space                          = 195 GB
    Percent free space                  = 30 %

File fragmentation
    Percent file fragmentation          = 0 %
    Total movable files                 = 1,717,746
    Average file size                   = 607 KB
    Total fragmented files              = 7
    Total excess fragments              = 305,897
    Average fragments per file          = 1.19
    Total unmovable files               = 11

Free space fragmentation
    Free space                          = 195 GB
    Total free space extent             = 659,294
    Average free space per extent       = 311 KB
    Largest free space extent           = 2.67 GB

Folder fragmentation
    Total folders                       = 127,414
    Fragmented folders                  = 1
    Excess folder fragments             = 0

Master File Table (MFT) fragmentation
    Total MFT size                      = 1.70 GB
    MFT record count                    = 1,778,403
    Percent MFT in use                  = 99
    Total MFT fragments                 = 3

    Note: On NTFS volumes, file fragments larger than 64MB are not included in the fragmentation statistics

Repository and Blog

I migrated over all my scripts late last night, it only took about an hour. I think part of the problem was on my end, I had to basically restart the sync several times to get everything over. The longest part was moving over the Trac content.

While I didn’t have a whole lot, it was enough to make it tedious. The other pain point was some of the syntax was the same, and some was just enough different to give you a migraine! But that’s all been migrated over as well. I have updated all the code in /production so that it points to the current url for online help.

https://mod-posh.googlecode.com

Once I commit what I have on my laptop up, I’ll create a new “download” for it. I struggled with whether or not I actually wanted a download, and finally decided that a simple zip of the includes folder for now is good. That’s where all the goodies are anyway.

With regards to the blog, I’ve still not been able to use WLW or even the blogger app on my GalaxyTab. Apparently when you import your previous blog that counts against your daily allowance of bandwidth and posting. Oh well, I’ll leave my existing gear up the rest of the this month with re-directs then I can turn all that off.

New Home

It’s been forever since I’ve posted anything, a lot has gone on in my work and family life. I don’t have the time I used to have to tinker around with hosting my own stuff. I had thought about moving my site over to WordPress, but in order to do that I would lose all my custom DNS settings.

So I have imported my blog to blogger.com, which was relatively easy, which helped even more.
Not a lot else going on, SuperBowl 46 just ended a few hours ago, I’ve got the dishes in the dishwasher and felt it was the right time to move everything.

I have several posts with images, I have decided yet if I will update that. I do have some things I want to make sure I carry forward as I use this site quite a bit. I will also most likely move my repository over to google as well, I was going to use codeplex, but I wanted to keep my history and I think I can do that with code.google.com.

Have a nice evening!