You are not logged in.
hi,
I updated my Debian system when I saw fstrim appear, so I asked what it is.
it is supposed to (more or less) clean partitions (I guess a bit like suppressing bits of lost files..)
anyway, it fails on the machine.
I tried it like that :
# fstrim /home
fstrim: /home: the discard operation is not supported
mount | grep home
/dev/sdb1 on /home type ext4 (rw,relatime)
sda 74,5G WDC WD800JD-75MSA3
sdb 931,5G ST1000LM024 HN-M101MBB
too old SSD ?
Last edited by sukolyn (2025-01-18 20:30:47)
Offline
On a mounted file system you could try:
sudo fstrim --all
Note from the manual entry:
Running fstrim frequently, or even using mount -o discard, might
negatively affect the lifetime of poor-quality SSD devices. For
most desktop and server systems a sufficient trimming frequency
is once a week. Note that not all devices support a queued trim,
so each trim command incurs a performance penalty on whatever
else might be trying to use the disk at the time.
Offline
Which SSD? “/dev/sdb” is a hard disk, not an SSD.
Hard disks don’t offer the TRIM command. They wouldn’t benefit from it.
The job of TRIM command is also not cleaning anything. It marks unused flash blocks as such, so the controller could do better work managing them.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
oops
lshw -C disk shows nothing
how to tell a disk is hhd or ssd (without opening the box) ?
Offline
Model name.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
The output of fdisk -l (run as root) would also help.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline