Defragmentation needed with FreeBSD ...

Gerard Seibert gerard at seibercom.net
Sun Oct 2 06:47:28 PDT 2005


On Sun, 2 Oct 2005 17:11:23 +0400, "Andrew P." <infofarmer at gmail.com>
Subject: Re: Defragmentation needed with FreeBSD ...
Wrote these words of wisdom:

> On 10/2/05, Tamouh H. <hakmi at 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="YES"
> >
> > to your /etc/rc.conf  in the event fsck finds errors on your disks.
> 
> 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.


***** REPLY SEPARATOR *****
On 10/2/2005 9:40:11 AM, Gerard Seibert Replied:

I have both Windows and FreeBSD boxes, and I can honestly say that I do
not hear the hdd scratching (I certainly hope it is not scratching). It
sounds to me like you have a serious problem with your HD. Perhaps it is
time to trade it in for a newer model.

Second, why would I want to add this line to my /etc/rc.conf file:

	fsck_y_enable="YES"

I thought the OS handled the file checking process automatically.


-- 
Gerard Seibert
gerard at seibercom.net


	"There are two ways to slide easily through life; to believe
	everything or to doubt everything. Both ways save us from thinking."

		Alfred Korzybski


More information about the freebsd-questions mailing list