Post by YoelPost by Liuber HdezHola, lista.
¿Qué herramienta me permite desfragmentar el disco duro?
Hum, no se, nunca lo he hecho, pero...
Post by YoelPost by Liuber HdezUso debian etch 40.r3
Linux no forma la puerkada que hace en el disco duro el $win con sus FAT
y sus NTFS... en linux se organiza el HDD por inodes... por lo que no
hay que desfragmentar nada... al menos yo nunca lo he hecho
Es verdad que la fragmentación, al menos con EXT2/3 es mucho menor y que
el rendimiento prácticamente no se afecta con eso, aunque es inevitable
que en un sistema de ficheros grande con el tiempo la fragmentación se
incremente. Con el nuevo ext4 esto se tuvo en cuenta y el mismo cuenta
con un desfragmentador on-line (a pesar de que las posibilidades de
fragmentar ficheros con este sistema es mucho menos que con ext2/3),
pero bueno, es un paso más en la búsqueda de la perfección. El ext4 se
va a soportar en ubuntu completamente a partir de la próxima versión,
aunque el kernel actual de intrepid ya tiene soporte para el mismo.
Con respecto a la pregunta original, la Wikipedia dice lo siguiente:
There is no online ext3 defragmentation tool that works on the
filesystem level. An offline ext2 defragmenter, e2defrag, exists but
requires that the ext3 filesystem be converted back to ext2 first. But
depending on the feature bits turned on the filesystem, e2defrag may
destroy data; it does not know how to treat many of the newer ext3
features.[10]
There are userspace defragmentation tools like Shake[11] and
defrag[12][13]. Shake works by allocating space for the whole file bolt
upright and hoping that it will make the newly allocated file less
fragmented. It also tries to write files used at the same time next to
each other. Defrag works by copying each file over itself. However they
only work if the filesystem is reasonably empty. A true defragmentation
tool does not exist for ext3.[14]
That being said, as the Linux System Administrator Guide states, "Modern
Linux filesystem(s) keep fragmentation at a minimum by keeping all
blocks in a file close together, even if they can't be stored in
consecutive sectors. Some filesystems, like ext3, effectively allocate
the free block that is nearest to other blocks in a file. Therefore it
is not necessary to worry about fragmentation in a Linux system."[15]
While ext3 is more resistant to file fragmentation than the FAT
filesystem, nonetheless ext3 filesystems can and do get fragmented over
time.[16] Consequently the successor to the ext3 filesystem, ext4,
includes a filesystem defragmentation utility and support for extents
(contiguous file regions).
Y para terminar, esta fue la conclusión de una discusión al respecto en
el sitio de soporte comunitario de Ubuntu:
Every file system has some fragmentation, the question is how much and
is it enough to affect performance.
Fragmentation is not a problem on Linux system unless your hard drive
gets full, and then the solution is to free up space or add additional
storage.
Lo mismo supongo se aplique a XFS y los otros file systems comunes bajo
Linux, me referí a EXT por ser el nativo.
Post by Yoel--
Visite nuestra web en Internet
http://www.ispvc.rimed.cu
"50 Años de Educación en Revolución"
--
XI Encuentro Internacional de Economistas sobre Globalización y Problemas del Desarrollo 2 al 6 de marzo de 2009
http://www.anec.cu/
--
Amaury Pupo Meriño
Centro de Inmunología Molecular (CIM)
Cuba.
Linux user #394752
Phone: 2717933 (219)
*****************************
Mice LOVE Bioinformatics ;-)
*****************************