• Re: [gentoo-user] LVM and making /var larger, file system won't resize.

    From Alexandru N. Barloiu@21:1/5 to Michael on Sun May 11 12:50:02 2025
    On 5/11/2025 1:20 PM, Michael wrote:
    2. Or if you want to compile it locally, you can consider 'mount --bind' to a new directory on any other local fs, which has a large enough partition for this job. Or you if you run out of fs space altogether, or RAM isn't enough and therefore you can't use tmpfs for /var/tmp/portage and/or it swaps continuously, you can configure and load zram, and/or set a lower number of jobs in /etc/portage/package.env for rust to allow it to fit within available fs and RAM. Sure, it will take for ever to emerge on say a PC with 4G of RAM,
    but if you *must* emerge it locally you should be able to get there.

    Can just compile some place else. See:

    PORTAGE_TMPDIR="/ramfs"
    PORTAGE_TMPFS="/ramfs"

    Can place it in make.conf or per package in package.env.

    Don't need to compile in /var.

    3. You can even use NFS and mount a fs over the network for this purpose, but this is rather more complicated than the above options and I expect it will be
    slow.

    Just to be clear... this is prolly a bad idea. IF you HAVE TO go this
    over NFS, it would be better to just mount -o loop a nfs shared image
    instead of a directory. That way, your local kernel manages the file
    system (permissions and all that), instead of trying to relay all that
    info to a remote kernel over nfs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun May 11 11:20:16 2025
    On Sunday, 11 May 2025 06:41:46 British Summer Time Dale wrote:
    Howdy,

    I'm updating my old rig. Well, I'm trying to. I kept running out of
    space while compiling rust. I need to make /var larger.

    There are some alternatives to this, especially for rust:

    1. First of all not compile it locally. You could use rust-bin, or you could use the gentoo binhost package if your USE flags are default, or compile it on another PC of yours which has enough space, using appropriate C, CPU and USE flags and then bring it over to this PC to emerge it as a binary.

    2. Or if you want to compile it locally, you can consider 'mount --bind' to a new directory on any other local fs, which has a large enough partition for this job. Or you if you run out of fs space altogether, or RAM isn't enough and therefore you can't use tmpfs for /var/tmp/portage and/or it swaps continuously, you can configure and load zram, and/or set a lower number of jobs in /etc/portage/package.env for rust to allow it to fit within available fs and RAM. Sure, it will take for ever to emerge on say a PC with 4G of RAM, but if you *must* emerge it locally you should be able to get there.

    3. You can even use NFS and mount a fs over the network for this purpose, but this is rather more complicated than the above options and I expect it will be slow.


    Thank goodness
    that is on a LVM. I have room left on that old drive so I wanted to
    just extend and then resize the ext4 file system, like I've done in the
    past I might add. I dug out my little cheat sheet and sure enough,
    lvextend -L <size to add> < lv name> and then resize file system.
    Simple enough. Should be, but it's not. This is some info, keep in
    mind, this is my old rig, not my new one.



    root@fireball / # pvs
    PV VG Fmt Attr PSize PFree
    /dev/sda7 OS lvm2 a-- <124.46g 5.39g
    root@fireball / # vgs
    VG #PV #LV #SN Attr VSize VFree
    OS 1 3 0 wz--n- <124.46g 5.39g
    root@fireball / # lvs
    LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
    swap OS -wi-ao----
    12.00g
    usr OS -wi-ao----
    39.06g
    var OS -wi-ao----
    68.00g

    root@fireball / # resize2fs /dev/mapper/OS-var
    resize2fs 1.47.2 (1-Jan-2025)
    open: Device or resource busy while opening /dev/mapper/OS-var
    root@fireball / #

    Err ... what is this 'OS-var'?


    I checked other info on how to do this with searches. All report the
    same thing. Use lvextend to add to the size and then resize the file
    system. It also says to use resize2fs to do it.

    Did you run lvextend first? Given your VG OS has 5.39G free space, I think something like this should allocate extra space to your LV 'var':

    lvextend -L +5G /dev/OS/var

    or

    lvextend -l +100%FREE /dev/OS/var

    Then you could check the fs before you resize it:

    e2fsck -v /dev/OS/var

    resize2fs /dev/OS/var

    Check the above before you run them as things may have changed, I'm going by (long term) memory here and check the names of VG, LV.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmggeeAACgkQseqq9sKV ZxlY2RAAp45Tu6L3joln4778RdLMvwaLBI6RZdNNPSZF/NI2kCWNuH8M/qMhaAdd tIK89gfGW4B+Qx8iLnAtAh3vYrkl4DUsqzFo8iNHOS6Bt8nCddZ3FgmxrODaj8fB Un1CG7l8oJxTWU4SwL1wlQaHjctoax0t4PKKjDPCppXq5qUzGyyy5A4BRFGfkUE6 BOLbrXsYriDmmXOMyu2cSAryTj7A76+ZgaWMtSJHUAlh8O+zqkK1TXIhOsihxlhL 2j2D6Y6UX0LBY4JWCc5QUcBDpjwWDaJTJ7AazT2X16UmGddh27Rom68Ohb5mQaae 8qP9PzKNS6t+Afzu8AwYQbxiWVc5XRTIe9yFrKcVkYarPvdeNzoxQS47eaoKUHyF pxVX4WaZ0hPjjS2U3kGjLd21RLgmE3p1VhD9TNngYY9aGM7yfOMP3ECFLXgq6ET9 HnUWqna5q7JThwnMvNSovIcg79sBrLplHoSsTu4naBIFWFT5uGxH1fMI/rl1W2Is +wag0z4vtKGfe7ZJTHAmi/2Qcc2lOtQsP9ajA65g66rTUcu8sN5Vw5E1WCCoV7GE uHgMYttOr4MBP5nWLt3sQ6pcGuX0qBY2KF9nyRf4oklBxIFD0N4wwHcDNQPKiDv3 fC3GXiCuI5GQ4iRnLY9UV0XaiSY2B069n+1XLSe2j4TOm3Bd1iY=
    =lvCn
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun May 11 13:44:39 2025
    On Sunday, 11 May 2025 13:21:34 British Summer Time Dale wrote:
    Michael wrote:
    On Sunday, 11 May 2025 06:41:46 British Summer Time Dale wrote:
    Howdy,

    I'm updating my old rig. Well, I'm trying to. I kept running out of
    space while compiling rust. I need to make /var larger.

    There are some alternatives to this, especially for rust:

    1. First of all not compile it locally. You could use rust-bin, or you could use the gentoo binhost package if your USE flags are default, or compile it on another PC of yours which has enough space, using
    appropriate C, CPU and USE flags and then bring it over to this PC to emerge it as a binary.
    [snip ...]

    Well, I still like to compile my own, that way I can use my own USE
    flags and such.
    [snip ...]

    root@fireball / # pvs

    PV VG Fmt Attr PSize PFree
    /dev/sda7 OS lvm2 a-- <124.46g 5.39g

    root@fireball / # vgs

    VG #PV #LV #SN Attr VSize VFree
    OS 1 3 0 wz--n- <124.46g 5.39g

    root@fireball / # lvs

    LV VG Attr LSize Pool Origin Data% Meta% Move Log

    Cpy%Sync Convert

    swap OS -wi-ao----

    12.00g

    usr OS -wi-ao----

    39.06g

    var OS -wi-ao----

    68.00g

    root@fireball / # resize2fs /dev/mapper/OS-var
    resize2fs 1.47.2 (1-Jan-2025)
    open: Device or resource busy while opening /dev/mapper/OS-var
    root@fireball / #

    Err ... what is this 'OS-var'?

    I named it OS-var when I set up LVM. That way I know it is OS related
    and is the /var directory. I named /usr OS-usr too. :-D

    Try:

    lvdisplay
    vgdisplay
    pvdisplay

    Your lvs output shows VG named "OS" and the LV named as "var".

    As I understand this, subdirectories of /dev/mapper/ would be VGs. The /dev/ VG/LV nomenclature should be used to perform a resize on the LV.

    Try 'lvscan' to see what path to use for the resize command.


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmggm7cACgkQseqq9sKV ZxmrGBAAjRIEJ2Ep7lz3t0WtVTiUItpkCmZ4WgzfO38EceN/tN/CSWzPhNWKGa9+ JkpSwQ1ekpXqQiiex16/PYtu5QHcpyqS5CBLUgufpZulDXzHUIMoWbzfhma4kIkK lLzRFr5u/Z2OweO2B/nqZZs3bj8n97it6ygDGQ8SoeB2HjgLxdppuctJi02J5f9M V4dsmVbcIyeU7W6/D8gXOtbjk8i9cNTAAnDFs/+7/oeQBMiNJE/3HTiRVXVcYgIt wBcYwHw9PlUCvupZOeHLpUvvgT4FRg48ct6CK3cjrxbBYW2fd3wd2zSEEd7Fxvsy fjr2DzfVrPjCKSBfRCQExZRiKsOpymWvkcp+y0UDDWT5RDI0D2NAUNhyHjGbqqB6 Op5djhY8ENzWi4Uk7qnsVT5sz1oFptaLqrhM5pFG8/KZaETwKWqITOfYQiMrO7Ve yTsDSyImjy0OFPr/5Sl+U9JRnKiR78QBs465S0xqCKp7BacgIgBqtHfeIFAWqlTs +5t10/ISyUYEIvlFP/5uZ0eLPkPoTeNhoDz2K9VTLk0hxKPKOGUZ/l1ShOyzqPCr jsr9/CCR3ae9GY+KIxv+bvcOVmKe3LBvpwwzNYsQcl8UflDx+KBvjzzPyTbTPMFs VslUuAbh4/VOKW9YucFgw5/ILPswj2WlZFXKkSxouWoOJgN3bgQ=
    =guwO
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun May 11 14:21:07 2025
    On Sunday, 11 May 2025 14:10:48 British Summer Time Dale wrote:

    root@fireball / # lvscan
    ACTIVE '/dev/home/home-lv' [<7.28 TiB] inherit
    ACTIVE '/dev/backup/backup' [698.63 GiB] inherit
    ACTIVE '/dev/OS/usr' [39.06 GiB] inherit
    ACTIVE '/dev/OS/var' [68.00 GiB] inherit <== That's the path
    ACTIVE '/dev/OS/swap' [12.00 GiB] inherit
    root@fireball / # resize2fs /dev/OS/var
    resize2fs 1.47.2 (1-Jan-2025)
    open: Device or resource busy while opening /dev/OS/var
    root@fireball / #

    Hmm ... the fine manual of resize2fs command states upfront:

    "The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the file system is mounted, it can be used to expand the size of the
    mounted file system, assuming the kernel and the file system supports on- line resizing."

    So you should not need to unmount it - but I wonder if the LVM layer
    introduces some complexity here. :-/


    I think all those link to the same device node, usually dm-<some number>
    tho. Still, I tried it anyway. Worst thing, same excuse for not
    resizing the darn thing. :/

    Am I going to have to boot other media and resize this thing????

    Since /var/ is in use by the OS and you keep getting warnings about it being busy, I think you'll have to reboot with a LiveUSB to finish this job with var unmounted.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmggpEMACgkQseqq9sKV ZxmlCg//bOj2eC1ZaJBpRunCpROJh9lGa2Ti/OCGn3bDMpznP6KAvRkNeuP0MdwY oM2H+ED/JVh7ZGXqGAPMSBIN71M9/ahv79hh2BEuFPe+IUFl+1px6/wEf1bl9gSn mV4NWyNrfdLHpaKlbMCvyYz2GQo1npmvmEIzgARLwjMI+5qhkebrRxx6B4Zbsl5V yLRouW1wep7Wbv2D5plkNstgO7V4cZ790Xlj2Artpa8o9BY96sGCFrX3U8Apbd7E Fug3NUdztWv5cfKeEIh5cNPKZPZgUs6Gbd+rjVJdx80cvV3J8RLEBZSANBPWmtW9 iHFFOBDk51lLfX+glYLZWTOXztzZkOV+bAg/N0rBh5LhaZraJJFayDQHkPYQtGqZ Ab+vEvJA46MkPP3mFIbevCCNoXPY3djq038tfrpSsYJiLlY27jkxm6iPoiTBdDrr ctagbBTjut+rR5yL/E3q0P+DcwFlz3jkVUU9msdOF9ARxT4nBIGEh6v2nPDLUem/ +ykVJ2uRX3wVJmbAjNxCayTXZ2Ewz/Y4v9ExNzqchdQoB7u3zLBroZroCHd20Vhh UuXuqUugo0Sn5ggB1qyBKgzI/snmvDViVY9zjWVuqzwFdCT48dV5zoJNpO8LI2qB 5+cs/UyLGni5DoIFJvNRRlteCYoN/isFfBspZsWc5smK3ymxRi4=
    =B/Ou
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun May 11 15:43:42 2025
    On Sunday, 11 May 2025 15:39:22 British Summer Time Dale wrote:
    Michael wrote:
    On Sunday, 11 May 2025 14:10:48 British Summer Time Dale wrote:
    root@fireball / # lvscan

    ACTIVE '/dev/home/home-lv' [<7.28 TiB] inherit
    ACTIVE '/dev/backup/backup' [698.63 GiB] inherit
    ACTIVE '/dev/OS/usr' [39.06 GiB] inherit
    ACTIVE '/dev/OS/var' [68.00 GiB] inherit <== That's the
    path
    ACTIVE '/dev/OS/swap' [12.00 GiB] inherit

    root@fireball / # resize2fs /dev/OS/var
    resize2fs 1.47.2 (1-Jan-2025)
    open: Device or resource busy while opening /dev/OS/var
    root@fireball / #

    Hmm ... the fine manual of resize2fs command states upfront:

    "The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the file system is mounted, it can be used to expand the
    size of the mounted file system, assuming the kernel and the file system supports on- line resizing."

    So you should not need to unmount it - but I wonder if the LVM layer introduces some complexity here. :-/

    Well, on this system, I've done this a few times without any problems.
    Just add some space with lvextend, resize file system and done. It
    doesn't seem to be working today tho. Yesterday either. LOL

    I think all those link to the same device node, usually dm-<some number> >> tho. Still, I tried it anyway. Worst thing, same excuse for not
    resizing the darn thing. :/

    Am I going to have to boot other media and resize this thing????

    Since /var/ is in use by the OS and you keep getting warnings about it being busy, I think you'll have to reboot with a LiveUSB to finish this
    job with var unmounted.

    Well crap. I checked once ages ago to see if I could do anything with
    LVM and the commands did list things. I guess LVM works on those but I
    can't recall what I was booting. Given it was a while ago, likely systemrescue thingy. That doesn't use Gentoo anymore so not sure on if
    that would work or not. I may have a old copy around here somewhere.
    Could put it on that Ventoy thingy. See if that works.

    I was hoping to avoid that. :/ I thought maybe I was missing something
    or something changed that I couldn't find, yet.

    Thanks for the help. We tried.

    Dale

    :-) :-)

    P. S. I have some 500GB drives in a box somewhere. Could move the OS
    over to that and have even more room. I could do like I did on my new
    rig, make everything big enough that I'd need to worry about the rig
    blowing smoke before running out of room. ROFL

    I'm not the best person to advise on LVM, I just shared what I know, but I haven't used LVM in anger for a few years now. Hopefully someone with more hands on experience will chime in.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmggt54ACgkQseqq9sKV ZxmZWBAAnnH3cnwXgdGsib1xsgJAfpkiqNkRfgeNLKNCUqmKHI9XIbSdwFzdyQG3 mjfoHZJYw0FrpXnbJQRHd3MyZIiZs0VfK5Myo49u28eOpYtO9PNK6+kxn3TNoPXW RgGPTXSs8CIo9zw2GqZL9Y8QNxXRFJ/WMlFqsQHOVBQYScH0VZwn5zxKTQWO1+cs yQPpCYR4KyaYbKLlZywk846d63h2anuH9vvuymBfGUDDgJXueoeaV/b0k+VkgV7c ksEKtze3r29i3jOdS4FMwJSr7+IovDMANYuPRC1gt/aX1NeuDkNVzckv11KWzKS0 YkiPA/ZjumSx1S1dJgIOII/x2F7Hhjy1Ka1ha4jFKA4RRq/0Gn8EPqDSC7222nbF EyDyrab90dPMMuhi0qf7VKynQ4lVaDlMRRe7Fb710+d0DIsO8wk2Sgfk4VVpF2/Q u80J4ibMZqZzgLJZ3Ppl8F19wNGMDSvoXSRTwi6KaGR0mz0yZfXPh9BpNI8mLlvI GzV2EqZYNCsxV7PZJblVPgJpOwsWR1h42EP496ROBj+a8KZzM7/KYe3qfD9fICEI PI3/BffwJ/JopvwUr5Tmj2AIU2pgRrZliC0nS1qC7d5FHQkbr3hx2HAu/i/1Twvw J6Ut1bnge/inaBztr24Gy5T2dnnrxuNfWw9n12YGSct66Lo/sX4=
    =7iS/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun May 11 16:52:22 2025
    On Sunday, 11 May 2025 16:10:43 British Summer Time Dale wrote:
    Michael wrote:
    I'm not the best person to advise on LVM, I just shared what I know, but I haven't used LVM in anger for a few years now. Hopefully someone with
    more
    hands on experience will chime in.

    Since the lv command worked, I don't think this is a LVM problem. That
    part of the growth is there. It seems to be resize2fs that has the
    problem. I just wonder, if I could do a file system check, would it
    work then? Thing is, it to wants it unmounted. It makes me wonder if
    there is something that needs to be fixed, even if it is minor and not a actual data problem, but it isn't just saying the file system needs to
    be fixed first. When I did my searches, most people had a part in the
    output about a bad super block or that a super block wasn't found. Mine doesn't have that tho. I'm not sure what difference that makes.

    I'll try to boot some media and do it I guess. Just not today.

    Dale

    :-) :-)

    Last thing to mention just in case it applies this your case.

    You know you may be able to extend a LV and resize the underlying fs in one
    go? The command 'lvextend --resizefs -L +5G /dev/VG/LV' should do this in one go (according to the man page it will use fsadm to resize the fs).



    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmggx7YACgkQseqq9sKV ZxnoKhAAz6r6c4VKt1DWIibF1tuDQtjanTMT12bSKVADJhqaQJY/59yGSKFsi9gc PV+WEgkcLwtUUx86ecwh9UG9XbxbmUvZGuXrrKtPPF/kprMtEqmVwZ080ibfCNsB drJyvgvxBjzyS8Y02WNOQNESMOmzQpapcVhBV2uanZHd4Z2I+hEjWjrAHq01ca5C NUg4dxByDpZoQ4IHQFc/PYYjGZySBt073p83M/AfZ1+lJVA+75wFitu/3zeFoiEp bxd9BQjbPKHOL2SyM4Ivgrmj9f1GatqJnWUncMm0S1M9JThf2ku+frCuy/cM0hrE cnNpijX0it4zbnrT2gIVhRmjlUqHAMiXLYNu5CSfJ0APHCvcO5NxA30VAZXwhynz HP6LzZZuFl6jjdnHRQDsNsryuvnHy1gjMZk8GtVgGnLpzP5n3JNcS/dBdrDyGqMz NYY35HwUQW1KPZZeM6LD0qe/Y4cguSfKxpfnjx6L6wLeMsf0jLuqeaCyiZ4mfzRZ ZumcnYbgGX5TgeszY1VRaopjo6fNWBmIxs73DWtw0Fp0G8DoKdDjIWVqGazLWtcs 6xwqoznrLD2w+tP/alSsvfXo6riDziLaQ8JCcujcA30xqSrXjvpZ5Ipx9bmekrz1 oybwchfvQvi1+/LXxjcmXp3gv5bArvoBThNlo9rQ9sMGX4vg2q4=
    =3T6Y
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jay Faulkner@21:1/5 to Dale on Sun May 11 18:40:01 2025
    Hey Dale, couple of comments:

    - LVM should not impact the resizing of the FS at all. I'm assuming the
    68GB you see for /dev/OS/var is the new size in the lvscan output? If
    so, you should be ready to resize. If not, your LVM is not quite ready yet.

    - Are you sure you're using ext2/3/4 as the FS? Use lsblk to check. If
    yes, another thing to try might be remounting the fs as read only during
    the action: `mount -oremount,rw /var`

    Good luck,

    Jay

    On 5/11/2025 7:39 AM, Dale wrote:
    open: Device or resource busy while opening /dev/OS/var

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Wed May 14 00:10:01 2025
    Am Sun, May 11, 2025 at 02:21:07PM +0100 schrieb Michael:

    Hmm ... the fine manual of resize2fs command states upfront:

    "The resize2fs program will resize ext2, ext3, or ext4 file systems. It can
    be used to enlarge or shrink an unmounted file system located on device. If the file system is mounted, it can be used to expand the size of the mounted file system, assuming the kernel and the file system supports on- line resizing."

    So you should not need to unmount it - but I wonder if the LVM layer introduces some complexity here. :-/

    On the contrary. There is actually an LVM command to expand a lv and its FS
    in one swoop.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    Lettered up the mixes?

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmgjwaQACgkQizG+tUDU MMpfXQ/+OTyab/q+TmRKbWblC8TXJsvTGZjI+cS/jXsdKSscu+5SPMacCXRnn8Il n+2vb4T9V8Xnka241v+xpCPax5sJimscW7GjCRr+6Q2erauYRpPGby8XgGilm8Bt Lqczw5WP3+Inoovl7DSNDJab41+alrFcZOQRz9iWu2Nlx3gFuH9dCUhi39LNdagY lZWLwp0/uPRb4q9V30o20h82nRTO69LAFjBRyDRCVdo01ZQ9ceJKxILVuQPGLkfs dq2QrO9/mzL0kTu6ITSNWdTZaiKgwm84LKqt7Z/TLA4mKWDu7mjk75laiFzE390u A79aU6x9kosQGWrH26u8HctCJZ3DklxdAN/V0QKFYHqjmMXQHfbGmgz7xLYndSk1 qwAy1WOWYdj3SX2Z4BSeyiic7zM+8jZRrD/FUdOAcyOalDrcWuHqoJnqgomQtZCv b3bsE3ZRK/jB6FLHnhFq23iKJJobzdOAgtVeDQ8DicYJLmR0zTc3d7cYwxMMkpcA LB3tnFVWOX1rxfPMpMqx7Sns06jGUrA/37NjdiItpLmMMaWEE4/E38x2lSX7XM1g EcMkOWzLF94zvKvjyfL3Zb5WTvhEe/osA5q4vuaNcy5U1K0aKAZZLlQAYrhgHxmw GfE4zceVKj5Usk2f49HZJR2+pU6KWv76YEHJVVnJ2YXf+7tPTq0=
    =hpbu
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
  • From Frank Steinmetzger@21:1/5 to All on Wed May 14 00:20:01 2025
    Am Sun, May 11, 2025 at 09:39:22AM -0500 schrieb Dale:

    Am I going to have to boot other media and resize this thing????
    Since /var/ is in use by the OS and you keep getting warnings about it being
    busy, I think you'll have to reboot with a LiveUSB to finish this job with var
    unmounted.

    Well crap.  I checked once ages ago to see if I could do anything with
    LVM and the commands did list things.  I guess LVM works on those but I can't recall what I was booting.  Given it was a while ago, likely systemrescue thingy.  That doesn't use Gentoo anymore so not sure on if
    that would work or not. 

    Why shouldn’t it? Even if it is Arch and not Gentoo, it uses the same LVM software as Gentoo does. Maybe a slightly different version, but not too different to cause compat issues.

    I may have a old copy around here somewhere. 
    Could put it on that Ventoy thingy.  See if that works. 

    I thought you had an extralarge /boot partition to keep a live ISO around at all times. :o)

    I was hoping to avoid that.  :/  I thought maybe I was missing something
    or something changed that I couldn't find, yet. 

    I recently embiggened the root partition on one of my machines and it worked like you said. Add extents, auto-extend the FS, done:

    thinkpad / # resize2fs /dev/mapper/tp-home
    resize2fs 1.47.2 (1-Jan-2025)
    The filesystem is already 26214400 (4k) blocks long. Nothing to do!


    Can you reduce your running system’s footprint? As in log out of KDE and go to a tty. Maybe something causes a lock.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    “First off, I’d suggest printing out a copy of the GNU coding standards, and NOT read it. Burn them, it’s a great symbolic gesture.”
    – Linus Torvalds, Linux kernel coding style documentation

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmgjxCgACgkQizG+tUDU MMpXDBAAm+nSBopJ31z0W+J36Bb5LvTQB2TdaOk7hjOupLbMRMfdLK5AYQWts28v rFGnGCT/x17MGpJ9mgyw6QQFBEl7+zWi/y5nPdZbIeeFGfM/i1rjayt1ELl8D4n6 VMh+91f32xYs3b8km1bI2abj0zeOoieljI+m1u8IKpmhbNRhplOULiG+T9GN5POZ MAgwHNMx25ZFC3BfYJQlur/s0Hk9otl9NucYZbA+SR19fFt+LnPXe9cVAHGJUZsW Oisxj9dOQl6+Ty0eLxi5uT8bYE7PHJumx84g/27EjSJFxAR1gHo3//zwMYiDlu8Z IwCXHIg9U7em+xwaSOaZ5tbt54ZyxqKNHkYbBUc4eVBLupTnNokfyFxyGKKrfU83 ggZYRN7VYdg54OyIEiXzuiFR0S0j+wWM7pA94VloYtaByMsWk9ljc+pFoTAklz6q S0rGc4dvPscPi6zkndjAqmqMfrJK949ktkEeXImqGv/NhcwBJ3zewpnDb+A3U/mw 4ZrLYWQRS73UyrUPRzcEjrG3JONbH6P4ODWB9dJd1/Se81c0oasJTKLfX6QI9DCn
    r