Page 6 of 6 FirstFirst ... 456
Results 51 to 55 of 55

Thread: wipper.sh fails, input/output error

  1. #51
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: wipper.sh fails, input/output error

    Quote Originally Posted by monkman View Post
    Code:
    monkman@pc:~/Downloads/hdparm-9.28$ sudo /sbin/wiper.sh --commit /dev/sda6
    
    wiper.sh: Linux SATA SSD TRIM utility, version 2.6, by Mark Lord.
    Preparing for online TRIM of free space on /dev/sda6 (ext4 mounted read-write at /).
    
    This operation could silently destroy your data.  Are you sure (y/N)? y
    Creating temporary file (5926453 KB).. 
    Syncing disks.. 
    Beginning TRIM operations..
    
    /dev/sda:
    trimming 11852912 sectors from 931 ranges
    FAILED: Input/output error
    Removing temporary file..
    Syncing disks.. 
    Aborted.
    any ideas what goes wrong here? i got the intel x25-v ssd, ubuntu 9.10 64bit, kernel 2.6.32.

    thx!
    Just out of interest, when I downloaded the hdparm package I had to compile a new version of it which I then copied to /usr/sbin. Then the wiper.sh command worked on my SSD.

    It may be worthwhile for people to compile their own versions rather than using a pre-compiled version that may not be 100% compatible with their setup.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  2. #52
    Join Date
    Jun 2005
    Location
    Manchester UK
    Beans
    280
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: wipper.sh fails, input/output error

    Quote Originally Posted by dcstar View Post
    Just out of interest, when I downloaded the hdparm package I had to compile a new version of it which I then copied to /usr/sbin. Then the wiper.sh command worked on my SSD.

    It may be worthwhile for people to compile their own versions rather than using a pre-compiled version that may not be 100% compatible with their setup.
    Yes I did this today and got it working on my system.

    Just a quick query, how often should you run wiper.sh ?

    Thanks

  3. #53
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: wipper.sh fails, input/output error

    Quote Originally Posted by gibbylinks View Post
    Yes I did this today and got it working on my system.

    Just a quick query, how often should you run wiper.sh ?
    It depends on how much your SSD slows down due to running out of empty blocks when writing (it will still work, but just slower). If you have a busy system where you do lots of writes, then once a week or more frequently.

    Remember that you only need to use wiper.sh with pre 2.6.33 kernels that do not support TRIM. A TRIM kernel with the discard option in the fstab file will automatically do what wiper.sh manually does. 10.10 already uses TRIM kernels, 10.04 LTS is supposed to have one backported (one day.....)
    Last edited by dcstar; November 21st, 2010 at 03:34 AM.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  4. #54
    Join Date
    Jul 2005
    Beans
    369

    Re: wipper.sh fails, input/output error

    Quote Originally Posted by gibbylinks View Post
    Yes I did this today and got it working on my system.

    Just a quick query, how often should you run wiper.sh ?

    Thanks
    These days you'd probably be better off running Maverick and activating TRIM


    enable automatic TRIM (kernel >= 2.6.33, ubuntu >= 10.10)

    In /etc/fstab, find the line for your SSD (sdXX in the below example) and add the noatime option:

    - /dev/sdXX / ext4 discard,noatime,defaults

    Then you can easily check if TRIM is working:

    - check if automatic TRIM is actually working: http://forums.gentoo.org/viewtopic-t-812509.html


    I did this on my Intel X25-M (G2) and it works just fine.

    Incidentally, the attached wiper-intel.sh script appears to be working out of the box in Maverick for me (no more Input/Output errors as in Lucid). Definitely you don't need it these days though.
    Attached Files Attached Files

  5. #55
    Join Date
    Jun 2005
    Location
    Manchester UK
    Beans
    280
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: wipper.sh fails, input/output error

    Ah it would be nice if these little gems were documented somewhere.

    I'm running Meerkat with 2.6.36 and "discard" option in fstab so I'm covered.

Page 6 of 6 FirstFirst ... 456

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •