From owner-freebsd-questions@FreeBSD.ORG Sun Oct 2 13:11:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FD6A16A41F for ; Sun, 2 Oct 2005 13:11:26 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFD1943D45 for ; Sun, 2 Oct 2005 13:11:25 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so152401nzd for ; Sun, 02 Oct 2005 06:11:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VvbRTT6cisUpK6YBwfL04b/8Izrs+8KUNqrSRW4MUzog7OmSC23Qz6EiAHg1i6elVNBrMFHbeSHGvW6G2WBHAthYLUhC8iOJtbgZx+3OpgVnvqclc6rK2lf4c0P2u92dqqsKKKz7FTtWzWoAOdUa8hS2LWErLkCJT38Qwl41Hso= Received: by 10.36.220.75 with SMTP id s75mr1326517nzg; Sun, 02 Oct 2005 06:11:24 -0700 (PDT) Received: by 10.37.20.34 with HTTP; Sun, 2 Oct 2005 06:11:23 -0700 (PDT) Message-ID: Date: Sun, 2 Oct 2005 17:11:23 +0400 From: "Andrew P." To: "Tamouh H." In-Reply-To: <20051002121454.3D1C643D45@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1128254897.26048.11.camel@localhost> <20051002121454.3D1C643D45@mx1.FreeBSD.org> Cc: freebsd-questions@freebsd.org Subject: Re: Defragmentation needed with FreeBSD ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Andrew P." List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2005 13:11:26 -0000 On 10/2/05, Tamouh H. 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 rela= ted > 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@freebsd.o= rg" > 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.