On Sun, Nov 10, 2024 at 07:20:58AM -0500, Terry Hurlbut wrote:
Answers to Will's questions:
The message, which was the output of dnf system-upgrade download
--releasever=41 --allowerasing, ended with:
Error summary:
Disk Requirements:
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
[snip]
Output of df -h:
ilesystem Size Used Avail Use% Mounted on
/dev/mapper/fedora_localhost--live-root 49G 47G 396M 100% /
[snip]
/dev/sdb2 916G 313G 557G 36% /crypt
/dev/sda1 974M 358M 549M 40% /boot
/dev/mapper/fedora_localhost--live-home 52G 1.7G 48G 4% /home
[snip]
Both LV's swap and home have sufficient space for your 5GB needs.
I can envision 2 approaches:
1) reallocate LV swap extents to LV root:
- create an 8GB file on /home and use it a swap
- stop using the LV swap as swap and return its extents
to the VG pool
- lvresize (or lvextend) the LV root and resize the root fs
2) shrink LV home and reallocate the extents to LV root
- copy the contents of /home (< 2GB) to somewhere on /crypt
- reduce the home filesystem by what, ?10,20,30GB? Your choice
- resize the LV home to match (I think lvresize can do both)
- enlarge the LV root and the root fs to match (again I think
lvresize can do both)
--
Jon H. LaBadie jo...@jgcomp.com
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue