#24 wiper.sh fails on intel SSDs if nranges > 512

open
nobody
None
5
2014-09-27
2009-11-11
No

Using a slightly modified wiper.sh script:

wiper2.sh: Linux SATA SSD TRIM utility, version 2.5, by Mark Lord.
Preparing for online TRIM of free space on /dev/sda2 (ext4 mounted read-write at /).

This operation could silently destroy your data. Are you sure (y/N)? y
Creating temporary file (9995235 KB)..
Syncing disks..
Beginning TRIM operations..

/dev/sda:
trimming 19775488 sectors from 513 ranges
FAILED: Input/output error
Removing temporary file..
Syncing disks..
Aborted.

If I restrict to 512 ranges instead of 513, the trim command succeeds.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous

    Anonymous - 2010-05-26

    Please add/consider that this bug also applies to the Mushkin Enhanced
    Callisto MKNSSDCL60GB SSD as well.

    http://ubuntuforums.org/showthread.php?t=1490602

     
  • Mark Lord

    Mark Lord - 2014-09-27

    MMmmm.. email me a patch for this please.

     

Log in to post a comment.