How to defragment hd on a mac?

Discussion in 'OT Technology' started by bradjr, Jun 24, 2006.

  1. bradjr

    bradjr Bant ftw

    Joined:
    Jan 10, 2006
    Messages:
    379
    Likes Received:
    0
    Some lady at work told me to defragment my HD since my comp is getting old and slow and the HD has less than a gig left.
    I tried to look through the utilities but nothing seemed to be right.
    Disk util was the closest, but idk.
     
  2. Euclid

    Euclid New Member

    Joined:
    Apr 19, 2004
    Messages:
    8,139
    Likes Received:
    0
    Location:
    Nashville, TN
    I believe that apple's filesystem doesn't require manual defragmentation.

    Is the lady at work a windows user?
     
  3. bradjr

    bradjr Bant ftw

    Joined:
    Jan 10, 2006
    Messages:
    379
    Likes Received:
    0
    yeah she is, but she said macs needed it too.
    well i guess now my problem is,
    i have a 40 gig hd on my 3 year old imac, and i have 13 gig of music and probably a few more gigs of random shit, but i have 351.1 MB free on my hd.
    WHERE DID ALLL MY SPACE GO?
     
  4. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Macs don't need it. You probably have large files sitting around. Browse your filesystem in Finder with order by size turned on and delete shit. Also, iTunes tends to make a copy of your music in its own folder, so you can delete the originals. So maybe your music is taking up double space? Verify this before you delete your shite though.
     
  5. bradjr

    bradjr Bant ftw

    Joined:
    Jan 10, 2006
    Messages:
    379
    Likes Received:
    0
    i know itunes has doubled and tripled quite a few of my library, but ill go through there and clean it out.
    but lemme do this browse find in size\

    edit-How do you browse find by size
     
  6. inamorata

    inamorata New Member

    Joined:
    May 13, 2004
    Messages:
    23,762
    Likes Received:
    0
    Location:
    California
    permissions fix is the closest thing to defraging on a mac
     
  7. bradjr

    bradjr Bant ftw

    Joined:
    Jan 10, 2006
    Messages:
    379
    Likes Received:
    0
    :werd: already ran it
     
  8. Rev. Johnny Vegas

    Rev. Johnny Vegas Rectal Ventriloquist

    Joined:
    Jun 13, 2001
    Messages:
    66,614
    Likes Received:
    136
    Location:
    250 miles north of home
    Defragging an HDD never makes more space available. Defragging a disk will move files around so that they are contiguous instead of fragmented all over the platters. If the disk is fragmented enough it will noticable improve disk performance since the heads don't have to go all over creation to find a file.

    However, as mentioned, HFS doesn't require defragging.
     
  9. Rev. Johnny Vegas

    Rev. Johnny Vegas Rectal Ventriloquist

    Joined:
    Jun 13, 2001
    Messages:
    66,614
    Likes Received:
    136
    Location:
    250 miles north of home
    Also, there is a thread in here somewhere with a link to the steps to freeing up a bunch of HDD space by removing things OS X installs by default that are typically not needed, such as language packs and a couple of gigs of printer drivers.
     
  10. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Just click the filesize heading in browser, and it will order by that instead of name.
     
  11. bradjr

    bradjr Bant ftw

    Joined:
    Jan 10, 2006
    Messages:
    379
    Likes Received:
    0
    where is this
     
  12. IcyHot4Life

    IcyHot4Life Str8 Ballin'

    Joined:
    Aug 2, 2002
    Messages:
    18,151
    Likes Received:
    0
    Location:
    Inquire Within
    :werd: HFS+ implementations on more recent OS X releases will automatically defragment files smaller than 20MB in the background. The reason it doesn't do that for larger files is that, believe it or not, it is actually advantageous in modern OSes / disk drives to have larger chunks of a file split up -- the multiple write heads of a drive will actually perform operations on files like this faster than if they were in completely contiguous blocks. :coold:
     
  13. Skoles

    Skoles Guest

    Macs run all sorts of maintenance scripts when it's left alone for some time. If you leave it on overnight it will run these by itself.

    You can also download a program called Onyx from versiontracker.com. This will clear out caches and run all those utilities itself.

    Another thing to remember is that Macs utilize the free space to run faster. I read that if you have somewhere around 85%+ of the HD used the OS will start to run slower.
     
  14. Rev. Johnny Vegas

    Rev. Johnny Vegas Rectal Ventriloquist

    Joined:
    Jun 13, 2001
    Messages:
    66,614
    Likes Received:
    136
    Location:
    250 miles north of home
    Search for it.
     
  15. Rev. Johnny Vegas

    Rev. Johnny Vegas Rectal Ventriloquist

    Joined:
    Jun 13, 2001
    Messages:
    66,614
    Likes Received:
    136
    Location:
    250 miles north of home
    I think that is because Apple doesn't use a separate swap partition for OS X. Typically when you're installing a *nix OS from scratch and setting up the file system, the swap partition is set aside, but as best as I can tell from the little poking around I've done, this is not done in OS X but rather it uses a more dynamic swap. If *nix OSes don't have sufficient swap space they will take a performance hit.
     
  16. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    HFS is a piece of crap. Apple needs to hurry up and adopt Reiser4 already.
     
  17. IcyHot4Life

    IcyHot4Life Str8 Ballin'

    Joined:
    Aug 2, 2002
    Messages:
    18,151
    Likes Received:
    0
    Location:
    Inquire Within
    fuck that, ZFS > ReiserFS... and apparently one of apple's lead developers has been talking to sun to get it ported to OS X :bowdown: self-healing disks here we come :x:
     
  18. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    I could live with ZFS. Very happily. They open sourced it, right?
     
  19. Wolf68k

    Wolf68k OT Supporter

    Joined:
    Dec 18, 2003
    Messages:
    4,861
    Likes Received:
    2
    Location:
    Houston, Texas
    Y'all may say that OS X doesn't need to be defragged. Personally after looking at the drive witn DiskWarrior (http://www.alsoft.com/DiskWarrior/) which not only check the for problems and repairs them it also defrags, and then running it. My system does run a lot smoother.

    I've done everthing else there is to do. Running Disk Utility to repair permissions. Using MacJanitor for the log files and whatever else it does. And I forget what else off hand, if anything else that is. And it still ran about the same.
    After DW there was/is a noticible difference in many cases. Infact I need to do all of that now since it's been awhile...thanks for reminding me.
     
  20. IcyHot4Life

    IcyHot4Life Str8 Ballin'

    Joined:
    Aug 2, 2002
    Messages:
    18,151
    Likes Received:
    0
    Location:
    Inquire Within
    it's available under CDDL as part of the opensolaris project, but they haven't "ported" it yet, so to speak. I think they're actively working on a linux port, and probably an OS X port at this point, given the interest :coold:
     
  21. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    OS X is really behind the curvage on filesystems. Its the one weak area of OS X.
     
  22. sebeck

    sebeck New Member

    Joined:
    Mar 6, 2005
    Messages:
    4,763
    Likes Received:
    0
    Location:
    NoVA
    If you want to free up alot of space download delocalizer 1.1

     

Share This Page