Re: Does defragmenting even work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Donnerstag, 28. Februar 2013 schrieb Swâmi Petaramesh:
> BTW...
> 
> I'm not even sure that "btrfs filesystem defrag <somefile>" actually
> does anything...
> 
> If I run "filefrag <somefile>" afterwards, it typically shows the same
> number of fragments that it did prior to running defrag...
> 
> I'm not sure about how it actually works and what I should expect...

Again:

Make sure that you run "sync" before looking at the extent state with 
filefrag -v

btrfs filesystem defrag may not have *immediate* effect.

I explained and demonstrated it in a response to you in the other thread 
that has been about this.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux