Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2005 20:03:27 +0400
From:      "Andrew P." <infofarmer@gmail.com>
To:        Kiffin Gish <kiffin@gish.demon.nl>
Cc:        "Tamouh H." <hakmi@rogers.com>, freebsd-questions@freebsd.org
Subject:   Re: Defragmentation needed with FreeBSD ...
Message-ID:  <cb5206420510020903t8720db9jdb6b5e5ef234304c@mail.gmail.com>
In-Reply-To: <1128268728.704.2.camel@localhost>
References:  <1128254897.26048.11.camel@localhost> <20051002121454.3D1C643D45@mx1.FreeBSD.org> <cb5206420510020611s560fbe6eoef14ac08cee0b25@mail.gmail.com> <1128268728.704.2.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/2/05, Kiffin Gish <kiffin@gish.demon.nl> wrote:
> On Sun, 2005-10-02 at 17:11 +0400, Andrew P. wrote:
> > On 10/2/05, Tamouh H. <hakmi@rogers.com> wrote:
> > >
> > > >
> > > > I was just wondering if like in Windows disk fragmentation
> > > > arises, and if so then how should one go about defragmenting it?
> > >
> > > There is no fragmentation in the BSD file systems, that is something =
related
> > > to Windows only. You might want to add the line:
> > >
> > > fsck_y_enable=3D"YES"
> > >
> > > to your /etc/rc.conf  in the event fsck finds errors on your disks.
> > >
> > >
> > > _______________________________________________
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb=
sd.org"
> > >
> >
> > Of course there is fragmentation.
> >
> > UFS, particularly its implementation in FreeBSD is
> > more intelligent than NTFS/FAT32. When there is
> > enough free space on the disk (typically more than
> > 15%, see tunefs(8) for details), I/O is automatically
> > optimized to minimize fragmentation.
> >
> > When your win32 box is idle, but the hdd is scratching
> > it's very annoying, because you know that windows
> > is swapping something.
> >
> > When your bsd box is idle, but the hdd is scratching
> > it's quite pleasant, 'cuz that's some hard-working
> > daemons make sure that you don't loose any data,
> > and always can enjoy the maximum performance.
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd=
.org"
>
> So if I understand you correctly, this means that the disk is
> defragmented automatically in the background during idle use, e.g. I do
> not have to do anything else to enable it because it is already enabled.
>
> Correct?
>
> --
> Kiffin Gish
> Gouda, The Netherlands
>
>

It's not that simple, but the fact is that you don't
need to worry about fragmentation at all. Just
make sure that your drives have at least 15-20%
free space for maximum performance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420510020903t8720db9jdb6b5e5ef234304c>