Re: [opensuse-kernel] SSD / filesystem / TRIM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Putting Mark Lord and linux-ide in cc:)

Mark,

Thomas has tried to use wiper.sh / hdparm v9.28 to trim a SSD and it
failed.  See below:

This is with the openSUSE 2.6.34 kernel.

On Sun, Aug 29, 2010 at 5:32 AM, Thomas Hertweck <Thomas.Hertweck@xxxxxx> wrote:
<snip>

> I have now installed openSUSE 11.3 on a OCZ Vertex 2E SSD. I used a
> standard ext4 filesystem, the mount options at the moment are
> "rw,noatime,acl,user_xattr". Unfortunately, wiper.sh doesn't work at all.
>
> $> wiper.sh --verbose --commit /dev/sdb1
> wiper.sh: Linux SATA SSD TRIM utility, version 2.6, by Mark Lord.
> wiper.sh: This tool is DANGEROUS! Please read and understand
> wiper.sh: /usr/share/doc/packages/hdparm/README.wiper
> wiper.sh: before going any further.
> rootdev=/dev/sdb1
> fsmode2: fsmode=read-write
> /: fstype=ext4
> freesize = 45338732 KB, reserved = 453387 KB
> Preparing for online TRIM of free space on /dev/sdb1 (ext4 mounted
> read-write at /).
> This operation could silently destroy your data.  Are you sure (y/N)? y
> Creating temporary file (44885345 KB)..
> Syncing disks..
> Beginning TRIM operations..
> get_trimlist=/sbin/hdparm --fibmap WIPER_TMPFILE.13467
> /dev/sdb:
> trimming 89770696 sectors from 1493 ranges
> FAILED: Input/output error
> Removing temporary file..
> Syncing disks..
> Aborted.
>
> No joy, obviously. So what can I do?
<snip>

> The motherboard, by the
> way, is an Asus P6X58D-E, the SSD is attached to one of the 3GB/s SATA
> ports (Intel chip). There's also a 6GB/s SATA port (Marvell chip) on the
> board, but I couldn't find Linux support for that (that's why I haven't
> used this port).
>
>
> Well,... See above.
>
> Regards,
> Thomas

Mark, any thoughts why it didn't work.  Have you added anything
relevant to hdparm since v.9.28 that would help?

Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux