wiper.sh - Input/Output error

fame
2009-12-11
2013-04-27
  • fame
    fame
    2009-12-11

    Hi,

    i have an Intel X25-M G2 16-0gb SSD.
    I want to "trim" that device, but the wiper.sh (version 2.5) give me an error:

        ./wiper.sh -commit -verbose /

        wiper.sh: Linux SATA SSD TRIM utility, version 2.5, by Mark Lord.
        rootdev=/dev/sdd3 rdev=/dev/sdd3
        fsmode1: fsmode=read-write
        /: fstype=ext4
        freesize = 64172936 KB, reserved = 641729 KB
        Preparing for online TRIM of free space on /dev/sdd3 (ext4 mounted read-write at /).

        This operation could silently destroy your data.  Are you sure (y/N)? y
        Creating temporary file (63531207 KB)..
        Syncing disks..
        Beginning TRIM operations..
       get_trimlist=/sbin/hdparm -fibmap WIPER_TMPFILE.6781

       /dev/sdd:
        trimming 127062416 sectors from 2085 ranges
        FAILED: Input/output error
        Removing temporary file..
        Syncing disks..
        Aborted.

    The filesystem ist ext4.

        scooter wiper-2.5 # fdisk -l /dev/sdd

        Disk /dev/sdd: 160.0 GB, 160041885696 bytes
        224 heads, 56 sectors/track, 24918 cylinders
        Units = cylinders of 12544 * 512 = 6422528 bytes
        Disk identifier: 0x5328d0af

           Device Boot      Start         End      Blocks   Id  System
        /dev/sdd1   *           1          34      213220   83  Linux
        /dev/sdd2              35         704     4202240   82  Linux swap / Solaris
        /dev/sdd3             705       13244    78650880   83  Linux 
        /dev/sdd4           13245       24918    73219328   83  Linux

    /dev/sdd4 is a truecrypt partition.

    Any ideas?

    Regards,
    Felix

     
  • fame
    fame
    2009-12-11

    Damn, i used the wrong forum. If anybody have the possibility to move it to the help forum…

     
  • fame
    fame
    2009-12-11

    The patch gives 2 errors:

        scooter wiper-2.5 # patch wiper.sh < patch
        patching file wiper.sh
        Hunk #1 FAILED at 608.
        Hunk #2 FAILED at 694.
        2 out of 2 hunks FAILED - saving rejects to file wiper.sh.rej

    I don't know mutch about patching at unix :/

    If i try the patched wiper.sh, i'm getting the same error :/

     
  • fame
    fame
    2009-12-12

    Thx, that one worked :)

    Do u have any idea how i can "trim" a truecrypt device? If i try to trim one e.g.
        wiper-intel.sh -commit /home/ssd

    he tells me that he cant determine the filesystem type. If i try it directly with /dev/sdd4 he cant termine the underlying physical device name :/

     
  • Christoph Korn
    Christoph Korn
    2010-03-19

    Hello,

    I have the Intel X25-V G2 40GB SSD and get this output:
    korn@ubuntu:~/hdparm$ sudo wiper -commit /dev/sda1

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

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

    /dev/sda:
    trimming 30719999 sectors from 512 ranges
    FAILED: Input/output error

    /dev/sda:
    trimming 30212097 sectors from 512 ranges
    FAILED: Input/output error

    /dev/sda:
    trimming 644032 sectors from 15 ranges
    FAILED: Input/output error
    Removing temporary file..
    Syncing disks..
    Done.

    I used this configuered script for Intel SSDs:
    http://home.arcor.de/heiko.wegeler/wiper-intel.sh.zip

     

  • Anonymous
    2010-05-26

    I'm having the same issue with my Mushkin SSD

    brett@brett-desktop:~/hdparm-9.28/wiper$ sudo bash wiper.sh -commit /dev/sda1

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

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

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