Gyurman Attila <attila.gyur...@ilx.hu> writes:

> A vason egy Debian Squeeze fut, 2.6.32-es kernellel, ami ugye még nem 
> tudja a trim-et, ezért mindenképp frissítenem kellene a kernelt, de ha 
> újabb kernellel sem megy, akkor nem indítanám újra.
>
> Arról sehol nem találtam infót, hogy mi a helyzet sw raid alatt? Fog 
> működni a discard opció? Vagy más megoldás létezik a trim-re? Jelenleg 
> még 60%-on van a lemez, de azért fogyni fog a hely a későbbiekben.

Először a device-mapperben jelent meg a TRIM support:
http://www.ocztechnologyforum.com/forum/showthread.php?82648-software-RAID-LVM-TRIM-support-on-Linux
Kicsit később az MD-ben is, a v3.7-rc8 már tartalmazza ezt:

2ff8cc2c6d4e323de71a42affeb3041fa17d5b10
Author: Shaohua Li <s...@fusionio.com>
Date:   Thu Oct 11 13:28:54 2012 +1100

    md: raid 1 supports TRIM
    
    This makes md raid 1 support TRIM.
    If one disk supports discard and another not, or one has discard_zero_data 
and
    another not, there could be inconsistent between data from such disks. But 
this
    should not matter, discarded data is useless. This will add extra copy in 
rebuild
    though.
    
    Signed-off-by: Shaohua Li <s...@fusionio.com>
    Signed-off-by: NeilBrown <ne...@suse.de>
-- 
                                                        Feri.
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz