OS X - Operating System General OS operation information and support

Can't partition due to fragmentation. Tried everything.


Post Reply New Thread Subscribe

 
Thread Tools
spindoctor

 
Member Since: Dec 24, 2008
Posts: 17
spindoctor is on a distinguished road

spindoctor is offline
It's second time I need to make Boot Camp partition. First time I encountered that famous fragmentation error. I deleted Parallels image and all huge files. It worked.

Then I needed to expand partition from 20 to 30 GB (I have 70 GB of free space). Removed it and tried again. Got the same error. Here's what I've tried so far:
1. Deleted files bigger than 500 MB.

2. Copied huge folders to new location and deleted originals, thus moving these copies to the end of hard drive.

3. Did quick iDefrag (don't have external HD and don't plan on buying it).

4. Checked the disk and file permissions. Fixed. Files that refused to be fixed were deleted.

5. Booted from OS X CD and tried to shrink my only partition with Disk Utility (the trick is to shrink the partition by the amount you need for BC in several steps, then expand it again and you should have enough blank free space). First 5 GB went well. After then even if I tried to resize partition by 0.5 GB it wouldn't let me saying that my chosen amount is too big.

Now don't tell me "simply to buy 1TB external HD" and use CCC or Time Machine. It's funny when "finely tuned most advanced operating system" wouldn't let me do things that are worth 10 min work with PartitionMagic in windows (I love my MacBook anyway).

So it means that I have to say goodbye to Boot Camp just because I'm "too late"?
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 5,541
mrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant futuremrplow has a brilliant future
Mac Specs: 27" iMac i7 (2011), iPhone5, iPad3, AppleTV2

mrplow is offline
I agree. You should be able to defragment and consolidate your files on any desktop OS.

Sadly, unless others can suggest a reliable app, I couldn't find anything to do that successfully. iDefrag didn't seem to do much. Tech Tools Deluxe stopped OSX booting completely.

Time Machine backup to the rescue and now the bootcamp assistant is happy to create a partition.

So, as you may have gathered, I can only recommend the backup/restore technique that you wish to avoid.

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
toMACsh

 
toMACsh's Avatar
 
Member Since: Jul 30, 2009
Location: Wisconsin
Posts: 4,862
toMACsh is a glorious beacon of lighttoMACsh is a glorious beacon of lighttoMACsh is a glorious beacon of lighttoMACsh is a glorious beacon of lighttoMACsh is a glorious beacon of lighttoMACsh is a glorious beacon of light
Mac Specs: Mac Mini Core 2 Duo

toMACsh is offline
Quote:
Originally Posted by spindoctor View Post
It's funny when "finely tuned most advanced operating system" wouldn't let me do things that are worth 10 min work with PartitionMagic in windows (I love my MacBook anyway).

So it means that I have to say goodbye to Boot Camp just because I'm "too late"?
But wait a minute! You're trying to install something on a Mac that will let you run Windows on it. You can't run the Mac OS on a Dell...(legally)
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 22,043
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
lifeisabeach disagrees. I'd say he's a better technician at some of this than I am. He says iDefrag will do it. Just not while you're up and running in OS X. You need to create the iDefrag boot disc and boot to that to get it to do what you're looking for. Although from what he says about the length of time it takes, the bootable clone with SD! or CCC would be a whole lot faster.

Read the posts by lifeisabeach in particular in this thread.

And if you don't have a backup, one of your next posts may well be; "Help!! My hard drive died. How do I get back all of my music (movies, data, etc.)?".

I cannot be held responsible for the things that come out of my mouth.
In the Windows world, most everything folks don't understand is called a virus.
QUOTE Thanks
lifeisabeach

 
lifeisabeach's Avatar
 
Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 5,801
lifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond repute
Mac Specs: iMac i3 (mid-2010) + OS 10.8; TV 2; iPhone 4S; iPad 1

lifeisabeach is offline
Bob is right. I thoroughly disagree. In fact, I think I'll work on getting some screen shots of one of my drives before and after defragging to illustrate it. Hmm... I kinda wish there was a fragging program to spread everything out even more thoroughly beforehand.


Standing request for all troubleshooting: Please provide your Mac model/year and OS version. Also advise us if you have used or installed any antivirus, security, or "cleaning" software on your Mac. If you have installed MacKeeper in particular, you are hereby advised to uninstall it.
---------
If all else fails to fix your problem, read this tip.
QUOTE Thanks
chscag

 
chscag's Avatar
 
Member Since: Jan 23, 2008
Location: Fort Worth, Texas
Posts: 32,384
chscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond repute
Mac Specs: 21.5" iMac 2.5 GHz i5, iPad 3rd Gen., 3 iPods

chscag is offline
lifeisabeach:

Quote:
In fact, I think I'll work on getting some screen shots of one of my drives before and after defragging to illustrate it.
I wish you would. My reasoning is with you on this because.....

For a long time our friends at Microsoft told us that NTFS does not fragment and there was no compelling need to worry about it. Well, as you know we found out that it wasn't true since in some ways NTFS fragments worse than FAT.

I've worked with Unix for years (Government and hobby) and have never really thought much about fragmentation. But since I've been more closely involved with Mac OS X, I have seen instances where the file system has become fragmented over time. But it's not so much a case of small fragments spread out all over the drive (like FAT) but more of the inability of the OS to move files forward to give contiguous space where needed.

Kind of like to get your educated opinion on this.

Regards.
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 22,043
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
I will note, that when I checked my fragmentation this last time - the worst file fragmentation was less than 0.5% - however, it did show free space fragmentation at 23%. I do move a fair amount of music, audio book and movie files around on my systems. Have not noticed a system slow down due to this as of yet, so still not concerned for my uses.

I cannot be held responsible for the things that come out of my mouth.
In the Windows world, most everything folks don't understand is called a virus.
QUOTE Thanks
lifeisabeach

 
lifeisabeach's Avatar
 
Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 5,801
lifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond repute
Mac Specs: iMac i3 (mid-2010) + OS 10.8; TV 2; iPhone 4S; iPad 1

lifeisabeach is offline
Quote:
Originally Posted by chscag View Post
lifeisabeach:



I wish you would. My reasoning is with you on this because.....

For a long time our friends at Microsoft told us that NTFS does not fragment and there was no compelling need to worry about it. Well, as you know we found out that it wasn't true since in some ways NTFS fragments worse than FAT.

I've worked with Unix for years (Government and hobby) and have never really thought much about fragmentation. But since I've been more closely involved with Mac OS X, I have seen instances where the file system has become fragmented over time. But it's not so much a case of small fragments spread out all over the drive (like FAT) but more of the inability of the OS to move files forward to give contiguous space where needed.

Kind of like to get your educated opinion on this.

Regards.
I'm by no means an expert on any of this... what I do know is that I have had real performance gains in a couple situations (see my comments in the thread that bobtomay linked to). The particular issue at hand is the perception that the defrag utilities for OS X can't compact the data to accomodate disk partitioning. They can, they just can't operate to that extent on the same volume you are booted from thanks to security measures in OS X. Actually, I suppose you could do it if logged in as root. In any event, the iDefrag guys are working on a major upgrade that apparently will let you do the full compact/defrag on the same volume you are booted from. It sounds like it'll be the same way the built-in defragger in Windows works... it reboots and runs the defragger before getting into the GUI.

I checked my MacBook Pro earlier, and the data is pretty widely spread across the drive, though the actual level of fragmentation is very low (.01% or so). So I'll use that to do before/after demos. I've had it for over a year now... it gets relatively light use and has never been defragged (never felt the need, still don't). It'll be at least a week or so before I can put the time into it though since I plan to do some measurements to see if there is a measureable speed boost for kicks. I don't really expect to see a noticable performance boost with the fragmentation level so low though. Now that drive on my desktop that was 65% fragged.... *whew*

BTW... any thoughts on how to best judge performance before/after?


Standing request for all troubleshooting: Please provide your Mac model/year and OS version. Also advise us if you have used or installed any antivirus, security, or "cleaning" software on your Mac. If you have installed MacKeeper in particular, you are hereby advised to uninstall it.
---------
If all else fails to fix your problem, read this tip.

Last edited by lifeisabeach; 01-13-2010 at 07:21 PM.
QUOTE Thanks
spindoctor

 
Member Since: Dec 24, 2008
Posts: 17
spindoctor is on a distinguished road

spindoctor is offline
At first I said I don't want to buy a HDD just to defrag the drive, but it just happened that I found very good local deal for Lacie Grand 1TB.
I'd then format it with 3 partitions - one for storage, one for BC and one for TM. And would TM be able to backup both original OS X partition and new one on external HDD?
QUOTE Thanks
Slydude

 
Member Since: Nov 15, 2009
Location: North Louisiana, USA
Posts: 4,028
Slydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud of
Mac Specs: 2.8 GHz MacBook Pro 10.8,3 8 GB mem, 2.66 GHz Mac Pro - Dead, iPhone 4

Slydude is offline
I think Time Machine will back up both OS partitions that way but there is a potential problem. Under this situation a failure of the external drive might take out both of your OS backups.

Sylvester Roque Former Contributing Editor About This Particular Macintosh

No matter what time it is where I am it's early morning somewhere in the world. At that hour of the morning follow my advice at your own risk. Anything sounds good before your first cup of coffee
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 22,043
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
If you're talking about running Windows from the external drive - not gonna happen.



edit: at least not without work and hacking

I cannot be held responsible for the things that come out of my mouth.
In the Windows world, most everything folks don't understand is called a virus.

Last edited by bobtomay; 01-19-2010 at 07:13 AM.
QUOTE Thanks
lifeisabeach

 
lifeisabeach's Avatar
 
Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 5,801
lifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond repute
Mac Specs: iMac i3 (mid-2010) + OS 10.8; TV 2; iPhone 4S; iPad 1

lifeisabeach is offline
Quote:
Originally Posted by spindoctor View Post
At first I said I don't want to buy a HDD just to defrag the drive, but it just happened that I found very good local deal for Lacie Grand 1TB.
I'd then format it with 3 partitions - one for storage, one for BC and one for TM. And would TM be able to backup both original OS X partition and new one on external HDD?
You don't have to get a new drive to defrag the other. If you register iDefrag, they provide a tool to make a bootable CD that you add iDefrag to. Just boot from the CD and run it from there. If you have a USB thumb drive that's 8GB or bigger, then install OS X to that along with whatever tools you need to run off it. Also... if enough contiguous space permits... make a new small partition on your existing drive and install OS X to that and boot from it. Once the old partition is defragged, delete that new partition and merge it back to the old. And finally... if you happen to have another Mac, use the firewire target disk mode.


Standing request for all troubleshooting: Please provide your Mac model/year and OS version. Also advise us if you have used or installed any antivirus, security, or "cleaning" software on your Mac. If you have installed MacKeeper in particular, you are hereby advised to uninstall it.
---------
If all else fails to fix your problem, read this tip.
QUOTE Thanks
spindoctor

 
Member Since: Dec 24, 2008
Posts: 17
spindoctor is on a distinguished road

spindoctor is offline
Thanks for all the info.
But what about BC on external HDD? There are threads out there with people successfully doing it.
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 22,043
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
Yep, and they're taking the time to do all the hacking of the Windows CD that is required. You also must remove your internal drive in order to do it.

By the time you've done all of that, you could have defragged your internal drive or made a clone with CCC or SD! and recloned back to your internal 2 or 3 times.

I cannot be held responsible for the things that come out of my mouth.
In the Windows world, most everything folks don't understand is called a virus.
QUOTE Thanks
spindoctor

 
Member Since: Dec 24, 2008
Posts: 17
spindoctor is on a distinguished road

spindoctor is offline
Ok, so I have the HDD. What now?
QUOTE Thanks

Post Reply New Thread Subscribe


« Software Update won't load | (Error code -36) when copying to external hard drive »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Data Partition: Using a FAT32 Partition to exchange data between Mac and Windows XP MartinT Running Windows (or anything else) on your Mac 9 11-12-2009 02:56 AM
Triple booting Leopard, Ubuntu, and XP on a MBP JAM Running Windows (or anything else) on your Mac 10 12-30-2008 08:53 PM
Tiger/Leopard Partition Issue Cyberage29 OS X - Operating System 0 10-26-2008 07:32 PM
Cannot partition external USB hard drives hardbap Switcher Hangout 4 08-29-2008 09:19 AM
Windows crashed. GPT and MBR partition tables are different. GlauberFerreira Running Windows (or anything else) on your Mac 2 07-08-2008 08:18 AM

All times are GMT -4. The time now is 07:07 PM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?