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

Ed Groth ed at boxpopuli.com
Tue Mar 15 23:06:54 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.


Yep, using Tar to backup and restore is the most common way to
defragment a Unix filesystem.

If there's space you can create the tar archive on the filesystem itself.

  Ed

On Tue, Mar 15, 2011 at 11:28 AM, Robinson, Eric
<eric.robinson at psmnv.com> wrote:
> 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 defragmenter?
>
>
> --
> 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.
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>



More information about the drbd-user mailing list