Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do you fstrim a hybrid hard drive?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
denijane
n00b
n00b


Joined: 22 Jul 2014
Posts: 14

PostPosted: Wed Dec 19, 2018 5:56 pm    Post subject: How do you fstrim a hybrid hard drive? Reply with quote

Hi guys, my laptop has a hybrid hard drive with 250GB SSD NVMe + 1TB HDD (it's Asus ASUS FX503VD-E4022 ). Since the hard died two weeks ago and I'm now with the new one, I want to take a better care of it.
So my question is: How do you fstrim a hybrid hard? Because I get:
Code:
sudo fstrim / -v
fstrim: /: the discard operation is not supported

and also
Code:
sudo hdparm -I /dev/sda | grep "TRIM supported"

But the hard is hybrid, so probably it needs trimming? So any ideas? Or any other ideas how to extend its life (already checked it with smartctl with a short and long test, all seems fine)

P.S. Still using Sabayon, so I'm posting it in the Unsupported software.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43009
Location: 56N 3W

PostPosted: Wed Dec 19, 2018 6:27 pm    Post subject: Reply with quote

denijane,

It depends how you use the drive.
If you use it as a single 1TB hybrid HDD, the SSD is used an a cache. Its not yours to control separately.

If you use it as two drives, you may be able to trim the SSD, if the SSD supports trim.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
denijane
n00b
n00b


Joined: 22 Jul 2014
Posts: 14

PostPosted: Wed Dec 19, 2018 6:45 pm    Post subject: Reply with quote

Hi NeddySeagoon,
well I'm not sure how the SSD is used, but it seems to me that it's used for cache, because you can't see it as a separate device in $fdisk -l .
Do you have an idea how to figure out how it used and anyway, how to extend its life?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43009
Location: 56N 3W

PostPosted: Wed Dec 19, 2018 7:46 pm    Post subject: Reply with quote

denijane,

Modern SSDs have very good life expectancies even with very hard use.
I wouldn't worry about it.

Even with Gentoo, where you build everything from source code, SSD life is no longer an issue.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum