You are not logged in.
Pages: 1
Topic closed
Hello, I want to defragment an NTFS partition (which contains Windows XP) from Linux especially because when doing that under Windows is not possible to move system files, so I guess from Linux it will offer better results.
Is there any tool that could do it, like fsck?
I've tried this command:
fsck -t ntfs --kerneldefrag /dev/sda1but it does nothing, it only shows this message:
fsck de util-linux 2.20Is there any way to do it?
Thanks in advance!
Last edited by ILoveJapaneseGirls (2011-12-28 06:25:30)
Offline
Please be sure to use the bbs search: Defragment a NTFS partition from LINUX
Offline
Maybe what you said jakobm is right, that topic contains the right answers, especially the post that says we shouldn't do it from Linux because it can mess with system files.
I'm closing the topic now. Thanks!
Offline
Please be sure to use the bbs search: Defragment a NTFS partition from LINUX
That thread has absolutely no information other than a list of motivations to use Windows to defrag it... and a link to a buggy Python defragger.
Here's the only bulletproof way to defrag NTFS under Linux:
Make a new partition of the same size (or bigger), and format it to NTFS and mount it at /defragged
Mount your fragged partition at /fragged
rsync -av /fragged /defragged
Wha-la. /defragged is now your fragged partition, defragged. Reformat /fragged and rsync it back if you really must.
Drives get fragmented if you do multiple copies at the same time, so don't do anything else on the drive while it's syninc.
Last edited by dagelf (2014-08-28 07:21:54)
Offline
This belongs on the wiki, not a dead thread: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed