After I partition the drive for Ubuntu and Windows, can I use the Windows defrag utility on the Ubuntu partition, or do I defrag each with their own utilities?
I am planning on installing version 12.04 LTS with Win7 Pro 64-bit.
After I partition the drive for Ubuntu and Windows, can I use the Windows defrag utility on the Ubuntu partition, or do I defrag each with their own utilities?
I am planning on installing version 12.04 LTS with Win7 Pro 64-bit.
In Linux you actually don't need to run "defrag" or anything like that due to the way that the ext2, ext3, ext4, and so on filesystems work.
Basically, what you'll find is that fragmentation is avoided by leaving larger amounts of space between files, and having various other built in safeguards and such.
For more information, you can read the article Why doesn't Linux need defragmenting?, this discusses the "smartness" of Linux filesystems and fragmentation.
No, you can't use Windows Disk Defragmenter, because Windows doesn't know about Linux filesystems like EXT4 by default and you should leave it like that.
There is e4defrag
, but what do you think you will achieve by running a defragmentation job? We are not in the 90s anymore (Microsoft tried to get defragmentation out of users heads during development of Windows Vista). EXT4 and other filesystems avoid fragmentation where possible. If you care about performance use SSDs... for which Windows Disk Defragmenter will refuse to defrag, because that's a stupid idea.
tl;dr: The filesystem already takes care of data consistency and performance. Stop wasting time and energy, buy better hardware.