Here are the outputs of the various other commands you recommended I run:
sudo pvs:
PV VG Fmt Attr PSize PFree
/dev/sda2 fedora_localhost-live lvm2 a-- <110.79g 0
sudo vgs
VG #PV #LV #SN Attr VSize VFree
fedora_localhost-live 1 3 0 wz--n- <110.79g 0
sudo lvs
LV VG Attr LSize Pool Origin Data% Meta%
Move Log Cpy%Sync Convert
home fedora_localhost-live -wi-ao---- 52.87g
root fedora_localhost-live -wi-ao---- 50.00g
swap fedora_localhost-live -wi-ao---- 7.91g
sudo df -Tk
Filesystem Type 1K-blocks Used
Available Use% Mounted on
/dev/mapper/fedora_localhost--live-root ext4 51290592 48248260
404508 100% /
devtmpfs devtmpfs 4096 0
4096 0% /dev
tmpfs tmpfs 4061620 0
4061620 0% /dev/shm
tmpfs tmpfs 1624652 1888
1622764 1% /run
/dev/loop0 squashfs 128 128
0 100% /var/lib/snapd/snap/bare/5
/dev/loop1 squashfs 57088 57088
0 100% /var/lib/snapd/snap/core18/2829
/dev/loop3 squashfs 76032 76032
0 100% /var/lib/snapd/snap/core22/1621
/dev/loop2 squashfs 56704 56704
0 100% /var/lib/snapd/snap/core18/2846
/dev/loop4 squashfs 75648 75648
0 100% /var/lib/snapd/snap/core22/1663
/dev/loop5 squashfs 67840 67840
0 100% /var/lib/snapd/snap/core24/490
/dev/loop6 squashfs 67840 67840
0 100% /var/lib/snapd/snap/core24/609
/dev/loop7 squashfs 168832 168832
0 100% /var/lib/snapd/snap/gnome-3-28-1804/194
/dev/loop8 squashfs 168832 168832
0 100% /var/lib/snapd/snap/gnome-3-28-1804/198
/dev/loop9 squashfs 516352 516352
0 100% /var/lib/snapd/snap/gnome-42-2204/172
/dev/loop10 squashfs 517248 517248
0 100% /var/lib/snapd/snap/gnome-42-2204/176
/dev/loop11 squashfs 412032 412032
0 100% /var/lib/snapd/snap/gnome-46-2404/42
/dev/loop12 squashfs 416128 416128
0 100% /var/lib/snapd/snap/gnome-46-2404/48
/dev/loop13 squashfs 93952 93952
0 100% /var/lib/snapd/snap/gtk-common-themes/1535
/dev/loop14 squashfs 216576 216576
0 100% /var/lib/snapd/snap/mesa-2404/143
/dev/loop15 squashfs 230400 230400
0 100% /var/lib/snapd/snap/mesa-2404/44
/dev/loop16 squashfs 178944 178944
0 100% /var/lib/snapd/snap/signal-desktop/720
/dev/loop17 squashfs 177920 177920
0 100% /var/lib/snapd/snap/signal-desktop/724
/dev/loop18 squashfs 39680 39680
0 100% /var/lib/snapd/snap/snapd/21465
/dev/loop20 squashfs 458240 458240
0 100% /var/lib/snapd/snap/telegram-desktop/6261
/dev/loop19 squashfs 39808 39808
0 100% /var/lib/snapd/snap/snapd/21759
/dev/loop21 squashfs 457856 457856
0 100% /var/lib/snapd/snap/telegram-desktop/6266
tmpfs tmpfs 4061624 640
4060984 1% /tmp
/dev/sdb2 ext4 960173080 328045408
583279800 36% /crypt
/dev/sda1 ext4 996780 366208
561760 40% /boot
/dev/mapper/fedora_localhost--live-home ext4 54253864 1774744
49690768 4% /home
tmpfs tmpfs 812324 152
812172 1% /run/user/1000
Output of sudo yum clean all
988 files removed
And now, using Dolphin, I find that the / LV no longer has that
concerning red line, and is showing 5.6 GiB free.
Have I just freed up the space I need? Or did I do no more than remove
the upgrade binaries that were all I had room to store before
everything ran out of space? Just how much space do the dnf upgrade
packages take up for a Fedora 40->41 upgrade?
How would you advise reclaiming some of the space I allocated to /home
without needing to? (The /home partition mostly contains symlinks
referring to directories that I store on /crypt. The /crypt petition
is a 1 TB SDD with plenty of space; that's for data only.)
If I can have a walk-through to manage readjusting between / and /home
without using parted or GParted, somebody could do me a really big
favor. (I already know NOT to use fdisk!)
Temlakos
On Sun, Nov 10, 2024 at 8:05 AM Will McDonald <[email protected]> wrote:
>
> On Sun, 10 Nov 2024 at 12:21, Terry Hurlbut <[email protected]> wrote:
>>
>> Answers to Will's questions:
>> At least 4437 MB more space required on the / filesystem.
>>
>> Output of lsblk:
>>
>> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
>> <snip>
>> sda 8:0 0 111.8G 0 disk
>> ├─sda1 8:1 0 1G 0 part /boot
>> └─sda2 8:2 0 110.8G 0 part
>> ├─fedora_localhost--live-root 253:0 0 50G 0 lvm /
>> ├─fedora_localhost--live-swap 253:1 0 7.9G 0 lvm [SWAP]
>> └─fedora_localhost--live-home 253:2 0 52.9G 0 lvm /home
>> sdb 8:16 0 931.5G 0 disk
>> ├─sdb1 8:17 0 128M 0 part
>> └─sdb2 8:18 0 931.4G 0 part /crypt
>
>
> Both your / and /home are on LVM, that might give you some options to juggle.
> What's the output of
>
> # pvs
> # vgs
> # lvs
>
>> Output of df -h:
>> ilesystem Size Used Avail Use% Mounted on
>> /dev/mapper/fedora_localhost--live-root 49G 47G 396M 100% /
>> /dev/mapper/fedora_localhost--live-home 52G 1.7G 48G 4% /home
>> tmpfs 794M 152K 794M 1% /run/user/1000
>>
>> Output of du -xk / | sort -n -k1 | tail -20:
>> 3055132 /var/lib/flatpak
>> 3145220 /var/cache/abrt-di/usr/lib/debug/usr
>> 3317376 /var/cache/abrt-di/usr/lib/debug
>> 3317380 /var/cache/abrt-di/usr/lib
>> 3405388 /var/cache/abrt-di/usr
>> 3405392 /var/cache/abrt-di
>
>
> According to https://unix.stackexchange.com/a/130802 that /var/cache/abrt-di
> can be cleared down, that'll get you ~3.5GiB.
>
>>
>> 3602180 /usr/lib
>> 3683844 /var/lib/dnf/system-upgrade/fedora-7efbab3c1dbcd0d4/packages
>> 3720924 /var/lib/dnf/system-upgrade/fedora-7efbab3c1dbcd0d4
>> 5532256 /var/cache/dnf
>> 5741152 /var/lib/snapd
>> 5762344 /var/lib/dnf/system-upgrade
>> 5816828 /var/lib/dnf
>> 6108620 /usr/share
>> 6801300 /usr/lib64
>> 9175600 /var/cache
>> 15815688 /var/lib
>> 18315588 /usr
>> 27260332 /var
>> 48248356 /
>
>
> "yum clean all" might claw back a little more space if the upgrade binaries
> are stored separately?
>
>> Another thing: in my search of Linux partitioning tools I discovered, on the
>> site Geeks for Geeks, two GUI partition management tools that allegedly
>> offer "data integrity," meaning I could repartition a device without losing
>> data on the partition(s) affected by the repartitioning operation. The ones
>> recommended to me are GParted and the KDE partition manager. I am running in
>> a KDE environment. Would anyone recommend either of those two partitioning
>> tools?
>
>
> I'd look at LVM before starting to mess with moving/resizing partition
> boundaries. I didn't actually check which file systems are on your devices,
> what does the following show:
>
> # df -Tk
>
> You could steal some space from /home and reallocate to / following:
> https://unix.stackexchange.com/questions/213245/increase-root-partition-by-reducing-home#213417
>
> --
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
--
Temlakos <[email protected]>
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue