Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

So I'm attempting to install TRIM using the walkthrough here: How to enable TRIM?

But everytime I attempt to run the hdparm command, I get the following when I try to run it w/ sda:

reading sector 5805056: FAILED: Input/output error

and I get this when running it with sda1:

Device /dev/sda1 has non-zero LBA starting offset of 2048.
Please use an absolute LBA with the /dev/ entry for the full device, rather than a partition name.
/dev/sda1 is probably a partition of /dev/sda (?)
The absolute LBA of sector 5807104 from /dev/sda1 should be 5809152

I'm running Natty in a VBox on Windows 7.

Someone PLEASE help.. I keep getting this "consistency check" message on boot of my machine and I think it's because Ubuntu is writing to the same sectors on the VHD too much.. need to get trim working on this thing..


share|improve this question

closed as too localized by jrg Feb 27 '12 at 15:19

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I do not think that it's possible to use TRIM in virtual machines even if the VDI is on a SSD. –  Lekensteyn Jul 22 '11 at 21:07
Hello, this question has no information and activity for a very long time. I am voting to close it for now. If by any reason you think this question is still viable or useful in anyways or that there is still a good chance it will be answered please flag it to a moderator or add a comment with the reasons why you want it open. Regards. –  nitstorm Feb 27 '12 at 15:17

1 Answer 1

try sda/b/c... instead of sda1

share|improve this answer
@Mitch This is an answer; it's saying to change the device name. One could argue that this is very low quality and should be removed (I don't think it merits flagging, but others may disagree). But this is at least an attempt to answer the question that was asked (and it doesn't totally fail to address the question as it was asked), so it shouldn't be a comment. –  Eliah Kagan Sep 3 '12 at 11:42
This does not provide a sufficient answer to the question. Try to add more information, and / or examples. –  Mitch Sep 3 '12 at 11:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.