[huskerlug] Re: Fragmentation in FAT/FAT32/NTFS , Ext2/3, and Mac hfs/hfs+,etc.

  • From: Jim Worrest <jworrest@xxxxxxxxxxxxxxxx>
  • To: huskerlug@xxxxxxxxxxxxx
  • Date: Wed, 27 Dec 2006 07:20:03 -0600

Well, here is a commentary about the golden oldie ext2 file
system.

http://linuxplanet.com/linuxplanet/tutorials/3174/8/

down the page you will see the commentary about defraging in
Linux. Well, it says it isn't -- under normal circumstances.


Fragmentation usually happens when you erase old files and
write new ones, so, if you're going to keep files and their
parts contiguous I would think you need some sort of
defragmenting even in Linux.  Linux file systems do that
automatically for you, so it's not something I worry about
with Linux, no matter how it keeps the files and their
parts clumped together.  ---Jim

Patrick wrote:
> Let me repeat what I have found as far as
> fragmentation in GNU/Linux EXT2/3.  The system writes
> from the center outward, and the nodes are checked on
> a time schedule , and, stability is assured and no
> fragmentation occurs due to the planning the
> filesystem performs upon writing to the drive.  This
> was also said to be true for XFS in Unix, and BSD.  
> 
> I hope that clears it up for you...  I did give some
> references, I hope... If not, I will search and
> collect and bring them here... 
>  
> --- Jim Worrest <jworrest@xxxxxxxxxxxxxxxx> wrote:
> 
>>      Even Windows XP has a defrag program. :-)
>> What I understand is that Linux defrags whenever it
>> gets
>> the chance -- as long as there is enough free space
>> on
>> the had drive.  The XFS system while good is not
>> that
>> common in Linux.  There seems to be an ongoing
>> discussion in
>> FreeBSD to implement some type of Journaling system.
>> To be
>> fair to the M$ I don't think I ever had a BSOD
>> because of
>> file system failure, though I had my share of them
>> for
>> other reasons. :-(  ---Jim
>>
>> Patrick wrote:
>>> The major reason that there are software system
>>> failures in Microsoft and Macintosh Operating
>> systems,
>>> giving a BSOD or dropping to the BSD shell, is the
>>> filesystems.
>>>
>>> If you run Microsoft filesystems, you WILL
>> experience
>>> fragmentation.
>>>
>>> If you run Mac OS X and use HFS or HFS+, you WILL
>>> experience the BSD shell 'black screen'!
>>>
>>> This applies to USB devices, also!
>>>
>>> Why the failures?  I have read that the
>>> GNU/Linux,*BSD, and Unix filesystems write from
>> the
>>> center of the drive space, and plan the layout.
>>>
>>>   All the systems that experience failures seem to
>>> write from the beginning of the drive, have no
>>> in-process planning, dumping data wherever there
>> is
>>> some 'open' space.
>>>
>>> I wondered and pondered that the Journalized
>>> filesystems helped to keep it all clean, also!
>>>
>>> Source:  
>>> Journalized Filesystems  -
>>> http://www.altlinux.com/?module=seminar&part=196
>>>
>>> Fragmentation and testing -
>>>
> http://trends.newsforge.com/trends/06/07/21/192241.shtml?tid=138&tid=18
>>> "The first filesystem was XFS, which showed clear
>>> color lines with small amounts of fragmentation
>>> visible as the files moved around the disk in the
>>> highly accelerated animation. The other filesystem
>> he
>>> showed was NTFS, which resembled static as you
>> might
>>> see on a television that is not receiving signal,
>> as
>>> the filesystem allocated blocks wherever it could
>> find
>>> room without much apparent planning."
>>>
>>>
>>>  
>>>
>>> --
>>> P. Berry, USAF (Retired) http://www.af.mil  Linux
>> User #65411 http://lugww.counter.li.org 
>> http://knopper.net/knoppix http://distrowatch.com 
>> http://livecdlist.com   http://sourceforge.net
>>> http://yolinux.com  http://safeharbordome.com 
>> http://minidome.net
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around 
>>> http://mail.yahoo.com 
>>>
>>> ----
>>> Husker Linux Users Group mailing list
>>> To unsubscribe, send a message to
>> huskerlug-request@xxxxxxxxxxxxx
>>> with a subject of UNSUBSCRIBE
>>>
>>>
>>>
>> ----
>> Husker Linux Users Group mailing list
>> To unsubscribe, send a message to
>> huskerlug-request@xxxxxxxxxxxxx
>> with a subject of UNSUBSCRIBE
>>
>>
>>
> 
> 
> --
> P. Berry, USAF (Retired) http://www.af.mil  Linux User #65411 
> http://lugww.counter.li.org  http://knopper.net/knoppix 
> http://distrowatch.com  http://livecdlist.com   http://sourceforge.net
> http://yolinux.com  http://safeharbordome.com  http://minidome.net
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ----
> Husker Linux Users Group mailing list
> To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
> with a subject of UNSUBSCRIBE
> 
> 
> 

----
Husker Linux Users Group mailing list
To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
with a subject of UNSUBSCRIBE


Other related posts: