On Wed, Oct 16, 2024 at 8:03 AM Rusty Bird <rustyb...@net-c.com> wrote:

>
> I assume you're seeing the same "not supported" message if you run:
>
>     $ sudo fstrim /var/tmp/
>
Yes


> The only thing I can think of is that you have custom partitioning,
> and the storage layer immediately underneath the filesystem hosting
> /var/tmp/ is dm-crypt (unusual for an LVM Thin installation), and
> dm-crypt has been mapped with discard disabled.
>
My Qubes OS was pretty much a vanilla install from the R4.1 iso (then
updated in place to 4.2).  During installation, I opted to encrypt the main
partition, which I thought was rather standard as well.  In any event, it
seems that my situation can't easily be rectified without perhaps a system
re-installation from scratch.

Your storage tree (showing discard support) can be printed with:
>
>     $ lsblk --output +DISC-MAX
>
Yes this is helpful.  Thx.

Finally, you've used qubes-dom0-update, which nowadays calls
> qvm-template for template related stuff. For this, qubes-dom0-update
> can actually be run as non-root, but you ran it with sudo, so fstrim
> was *not* skipped. (Which then failed on on your system.)
>
So it looks like I'd just stick with running the template install as root,
as I won't gain much as non-root.

Thank you again!

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/qubes-users/CAOBBCnZrKh3UHqc%2BB1OPN5csbL_15kCm4RcW%2BjPVugJwf2LfQA%40mail.gmail.com.

Reply via email to