Frank Steinmetzger wrote:
> Am Sun, Mar 23, 2025 at 06:24:49PM -0500 schrieb Dale:
>
>>>> I ran fstrim on my root and var partitions and got this. 
>>>>
>>>>
>>>> root@Gentoo-1 / # fstrim -v /
>>>> /: 13.7 GiB (14676369408 bytes) trimmed
>>>> root@Gentoo-1 / # fstrim -v /var
>>>> /var: 43.9 GiB (47162359808 bytes) trimmed
>>>> root@Gentoo-1 / #
>>>>
>>>>
>>>> It looks like /var changes more than root does.
>>> The size in the output is usually simply the entire free space. AFAIK 
>>> fstrim 
>>> does not remember what it trimmed at the previous run.
>> That doesn't match.  They may have changed something. 
>>
>>
>> %USED   USED     AVAILABLE  TOTAL MOUNTED ON
>> 11.3%        24.2G    348.5G            392.7G /
>> 37.1%        47.3G    110.8G            176.1G /var
> Funnily it does for me:
>
> $ journalctl -fu fstrim
> Mär 31 23:03:26 q systemd[1]: Starting Discard unused blocks on filesystems 
> from /etc/fstab...
> Mär 31 23:06:27 q fstrim[4946]: /mnt/windows: 62.6 GiB (67195392000 bytes) 
> trimmed on /dev/nvme0n1p3
> Mär 31 23:06:27 q fstrim[4946]: /mnt/gentoo: 25.1 GiB (26987544576 bytes) 
> trimmed on /dev/vg/gentoo
> Mär 31 23:06:27 q fstrim[4946]: /mnt/data: 410.3 GiB (440560844800 bytes) 
> trimmed on /dev/vg/data
> Mär 31 23:06:27 q fstrim[4946]: /home: 14.5 GiB (15569068032 bytes) trimmed 
> on /dev/vg/home
> Mär 31 23:06:27 q fstrim[4946]: /boot: 211.4 MiB (221700096 bytes) trimmed on 
> /dev/nvme0n1p1
> Mär 31 23:06:27 q fstrim[4946]: /: 8.6 GiB (9203961856 bytes) trimmed on 
> /dev/vg/root
> Mär 31 23:06:27 q systemd[1]: fstrim.service: Deactivated successfully.
>
> $ df -h
> Filesystem             Size  Used Avail Use% Mounted on
> /dev/mapper/vg-data    1.4T  956G  411G  70% /mnt/data
> /dev/mapper/vg-gentoo   50G   25G   25G  50% /mnt/gentoo
> /dev/mapper/vg-home    199G  184G   15G  93% /home
> /dev/mapper/vg-root     50G   41G  8.2G  84% /
> /dev/nvme0n1p1         300M   89M  212M  30% /boot
> /dev/nvme0n1p3         196G  133G   63G  68% /mnt/windows
>


I'm using ext4 for my file system.  Could the file system make a
difference if you use something else?  Your root and /home is getting a
little full.  o_O 

I didn't put anything OS related on LVM this time.  With a 1TB stick, I
figured I could make everything big enough that I shouldn't ever run out
of space.  I'd be more likely to either wear out the stick and have to
replace it or this rig will become outdated and be replaced.  I even
made /boot large.  I could put Knoppix on there if I wanted. 

Speaking of, I have /usr on the same partition as / this time around. 
Do I need a init thingy still or can I ditch that thing?  I do have /var
on a separate partition, if that matters. 

Dale

:-)  :-) 

P. S.  I just ran the update command for your checksum script.  Another
torrent finished and I added a video file. 

Reply via email to