[DRBD-user] Fix Fragmentation on an ext3 filesystem on DRBD?

Robinson, Eric eric.robinson at psmnv.com
Tue Mar 15 19:28:52 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

I know most people say ext3 does not fragment, but that it not quite
true. Linux is better than Windows, but not perfect. It does fragment. I
have a system hosting multiple instances of MySQL with maybe 100
separate databases, all of which are being inserted throughout the day.
My iowaits have steadily increased over time and I believe some of it is
due to fragmentation. The real questions are (1) what is the best way to
fix it, and (2) are there any possible repercussions to defragmenting a
filesystem that rides on a DRBD device? I assume the answer to the
second question is no. Does anyone have thoughts on the first question?
What if we just copy all of the data off of the filesystem, rm -rf it,
and then copy it back in? Or should we try to use some kind of ext3

Eric Robinson


Disclaimer - March 15, 2011 
This email and any files transmitted with it are confidential and intended solely for drbd-user at lists.linbit.com. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110315/9290ed97/attachment.htm>

More information about the drbd-user mailing list