Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to compress hard drive?

Hi

I brought my 1st Mac a couple of month ago and have been slowly geeting use to the Snow Leopard OS.

I've replaced the hard drive with a 256Gb SSD mainly because the standard 5,400 rpm hard drive slows down the whole computer when running multiple virtual windows.

So far I'm very happy with the SSD, but I'm starting to run out of storage space and 512Gb SSD is out of question due to the high cost.

I've compressed my windows partition in bootcamp to half the size without any noticeable difference. However, I can't find any option in OSX to do the same thing.

I'm sure I made myself look like an idiot with a such basic question. But this is my 1st Mac and I'm still in the learning process.

Thanks

Macbook pro i7 15", Mac OS X (10.6.4), Watercooled PC, Nokia N900, iphone 4 soon

Posted on Jun 28, 2010 7:41 AM

Reply
9 replies

Jun 28, 2010 8:33 AM in response to macjack

Thanks for let me know. I’ve also tried the option of compress individual folder but that doesn’t seem to affect the file size.

As for backup, I got a 2.5” hard drive enclosure and use the original 500Gb dive as time machine.

I got a lot of Photoshop and Flash projects on bootcamp, so that’s compressed nicely by Windows 7. But I also got about 60 Gb of music stored on the Mac partition, so I might as will move those to windows and compress it to half the size.

I’m a bit disappointed OSX can not compress files to save space. I’m going to see if I can mount the original hard drive to where the DVD drive is. Going to open the macbook up again tonight to see if the DVD drive have SATA connection.

P.S. Thanks BobHarris, I'll have a look and give it a try before gutting the inside of the macbook.

Jun 28, 2010 9:05 AM in response to KJK555

This looks like a simple solution to my problem. I never realised how close the code in OSX resembles Linux (which I only know a little bits of).

I wonder if I have to run the commands every time I switch on the Mac or if I can use:
hfsCompress save myprofle1
hfsCompress default myprofile1
Or maybe I need to use hfsCompress-config

I’ll back up the macbook tonight and give that a try for a week to see if it’s stable.

To Tom, I'd like to keep all my data inside the Mac. I could get ride of the DVD drive as I hardly ever use it, and prefer to lug an external Blueray drive around than an external hard drive.

Jun 28, 2010 9:21 AM in response to 88_King

Rather than, or in addition to TimeMachine (which I don't use as I found it annoying to say the least) it is very handy and popular to clone OS volumes; and, to have those as bootable working backups; and for doing system repairs and maintenance.

Even having a small-ish 20GB OS X volume (set aside part of your 500GB) though better to have redundant and more than just one backup. And people have put and been able to boot OS X for repairs, using 8GB SDHC flash memory (I'd look into Class 6 or 10 and go with 16GB $39 if possible though).

Dual SSDs have been done if you go that route, using the optical drive bay.

Add NTFS driver so you can write to NTFS volumes, your Windows partition or external drive. You could have external drive with NTFS, too.

To clone Windows, some programs don't like GPT or EFI based systems, there is Casper 6. Even Windows 7 Backup & Restore fails due to Apple's HFS+ read support.

MacDrive8: add the ability to read and write to HFS+ from Windows if you want to keep music files where they are but access from Windows.

My main backup is SuperDuper. http://www.shirt-pocket.com
Cleans things up, I know I can boot from it, use that to repair the main system, and then keep it off line and update only if and as needed.

Oh, and Windows Homer Server supports TimeMachine, iTunes, SuperDuper, now.

Jun 28, 2010 9:30 AM in response to 88_King

Music and videos are already highly compressed, so will not compress further. Compression only works on compressible files, you're not guaranteed "half the size".

By the way, OSX (10.6) does compress files - the whole OS is compressed, pretty much - but it's not a user accessible feature.

Have you cleared out unnecessary files, like the gigabytes of printer drivers, Garageband, and iDVD templates that are installed by default?

Jun 28, 2010 10:16 AM in response to 88_King

Thanks for let me know. I’ve also tried the option of compress individual folder but that doesn’t seem to affect the file size.

That is because this compression is supported by the Mac OS X HFS+ file system, so it knows the real size of the file.

However, if you were to go into the Terminal before and after compressing the folder and use the command:

ls -ls desired_folder
1208 -rw-r--r-- 1 raharris staff 1233231 Jun 28 13:01 tmp1.example

and then use the compress option, you would see that the allocation size of the file has dropped, while the byte size of the file stays the same

ls -ls desired_folder
168 -rw-r--r-- 1 raharris staff 1233231 Jun 28 13:01 tmp1.example

The file allocation size has dropped from 1208K to 168K. This example used a text file that was highly compressable. Your mileage will vary, especially since music, video, pictures are already compressed and will not get any smaller.

You might also look at this MacOSXHints.com article
<http://www.macosxhints.com/article.php?story=20090902223042255>

Message was edited by: BobHarris

How to compress hard drive?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.