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

Re: Root partition seems not to be trimmed



On 2025-11-17 12:05, Andy Smith wrote:
Hi,

On Mon, Nov 17, 2025 at 09:42:28AM +0100, jd-debian-user@dybdal.dk wrote:
But why does it seem not to trim the root partition (/dev/nvme0n1p2)?  The
EFI partition on the same physical disk seems to be trimmed fine.

On 2025-11-17 12:05, Andy Smith wrote:
I don't know, but what happens if you run it manually from the command
line (without `--quiet-unsupported`)?

The same happens:

# /sbin/fstrim --listed-in /etc/fstab:/proc/self/mountinfo --verbose
/disk2: 1.7 TiB (1831610261504 bytes) trimmed on /dev/nvme1n1p1
/boot/efi: 1017.7 MiB (1067110400 bytes) trimmed on /dev/nvme0n1p1

I have meanwhile found the following in dmesg:

systemd-fstab-generator[490]: Checking was requested for "LABEl=root", but it is not a device.

which might suggest that somewhere there is code that fails to parse fstab correctly.

Thanks,

Jesper

--
Jesper Dybdal
https://www.dybdal.dk


Reply to: