• Disk full

    From Philipp Klaus Krause@21:1/5 to All on Fri Feb 26 13:00:01 2021
    In the kvm image debian-hurd-20210219.img I downloaded and built sdcc
    from svn at sourceforge (with an additional patch applied). This worked.

    Then I wanted to run the regression tests. This failed when the system
    ran out of space on /. So I did a "make clean". Apparenlty, files were
    gone, but df still showed 1 free blocks. I then tried a shutdown -r now,
    which hangs after sending the mesage to all terminals.

    After kvm "machine reset" I get to the filesystem repair promt.

    Is this normal behaviour for Debian GNU/Hurd running out of disk space?
    Is there an easy way to increase disk space in the kvm image?

    Philipp

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Sonnenschein@21:1/5 to All on Fri Feb 26 13:30:01 2021
    Hello,

    I do not know the answer to the first question, but can quote an answer
    to the second question.

    Am Freitag, dem 26.02.2021 um 12:54 +0100 schrieb Philipp Klaus Krause:
    [...]
    Is there an easy way to increase disk space in the kvm image?

    As written on https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/YES_REALLY_README.txt
    (or alternatively https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/README.txt
    ):
    One can increase the size of the image with e.g.:

          $ qemu-img resize debian-hurd*.img +5G
          $ parted debian-hurd*.img
          (parted) resizepart 2 100%
          (parted) quit
          $ sudo losetup -o $((512*1953792)) /dev/loop0 debian-hurd*.img       $ sudo resize2fs /dev/loop0
          $ sudo losetup -d /dev/loop0

    (1953792 is the start sector shown in fdisk -l debian-hurd*.img)

    Paul

    Philipp




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

    iHUEABYIAB0WIQQV06EaUgj4V+Ul5Xbz33BayIqKXQUCYDjkuQAKCRDz33BayIqK XZB2AP4oJy56WnvdH+YY+zAFJWkszhz/SB5GwrPWIgT2VbR11gEApDkMXpfYJa+U Fwdvn8BVFa0WOkDtd7UeSUZmoTyzIQ8=
    =OX3m
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Samuel Thibault@21:1/5 to All on Fri Feb 26 21:50:02 2021
    Philipp Klaus Krause, le ven. 26 févr. 2021 12:54:03 +0100, a ecrit:
    In the kvm image debian-hurd-20210219.img I downloaded and built sdcc
    from svn at sourceforge (with an additional patch applied). This worked.

    Then I wanted to run the regression tests. This failed when the system
    ran out of space on /. So I did a "make clean". Apparenlty, files were
    gone, but df still showed 1 free blocks. I then tried a shutdown -r now, which hangs after sending the mesage to all terminals.

    After kvm "machine reset" I get to the filesystem repair promt.

    Is this normal behaviour for Debian GNU/Hurd running out of disk space?

    No, removing files should be getting the space back.
    But out-of-space situations are not necessarily that well-tested, so
    there are probably bugs there.

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)