Package: e2fsprogs
Version: 1.47.2-1
Severity: important

I use LVM and one partition ran full. So I resized the partition,
resized the filesystem using resize2fs but the free space remains at
zero.

I did this again, (so another 20 GB), and the result is the same. 

The third time I captured the output using script:

root@twentytwo:/scr# df -h media/
MDateisystem              Größe Benutzt Verf. Verw% Eingehängt auf
/dev/mapper/datavg-media  2,4T    2,3T     0  100% /scr/media

root@twentytwo:/scr#  umount media/

root@twentytwo:/scr# lvextend -r -L+20G -v /dev/datavg/media
  Extending logical volume datavg/media to 2,38 TiB
  Size of logical volume datavg/media changed from 2,36 TiB (619212 extents) to 
2,38 TiB (624332 extents).
  Archiving volume group "datavg" metadata (seqno 16).
  Loading table for datavg-media (254:6).
  Suspending datavg-media (254:6) with device flush
  Resuming datavg-media (254:6).
  File system ext4 found on datavg/media mounted at /scr/media.
  Creating volume group backup "/etc/lvm/backup/datavg" (seqno 17).
  Extending file system ext4 to 2,38 TiB (2618638204928 bytes) on 
datavg/media...
  Executing: /usr/libexec/lvresize_fs_helper --fsextend --fstype ext4 --lvpath 
/dev/datavg/media --mountdir /scr/media
  /usr/libexec/lvresize_fs_helper: execvp failed: Datei oder Verzeichnis nicht 
gefunden
  /usr/libexec/lvresize_fs_helper failed: 2
  Failed to extend file system with lvresize_fs_helper.
  File system extend error.
  Logical volume datavg/media successfully resized.

root@twentytwo:/scr# resize2fs /dev/datavg/media
resize2fs 1.47.2 (1-Jan-2025)
Resizing the filesystem on /dev/datavg/media to 639315968 (4k) blocks.
The filesystem on /dev/datavg/media is now 639315968 (4k) blocks long.

root@twentytwo:/scr# mount media
root@twentytwo:/scr# df -h media/
Dateisystem              Größe Benutzt Verf. Verw% Eingehängt auf
/dev/mapper/datavg-media  2,4T    2,3T     0  100% /scr/media

root@twentytwo:~# mount | grep media
/dev/mapper/datavg-media on /scr/media type ext4 
(rw,nosuid,nodev,noexec,relatime,data=ordered)

I read resize2fs(8) several times, but could not find any 
information on such a situation.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages e2fsprogs depends on:
ii  libblkid1      2.40.4-1
ii  libc6          2.40-5
ii  libcom-err2    1.47.2-1
ii  libext2fs2t64  1.47.2-1
ii  libss2         1.47.2-1
ii  libuuid1       2.40.4-1
ii  logsave        1.47.2-1

Versions of packages e2fsprogs recommends:
pn  e2fsprogs-l10n  <none>

Versions of packages e2fsprogs suggests:
pn  e2fsck-static    <none>
pn  fuse2fs          <none>
pn  gpart            <none>
ii  libarchive13t64  3.7.4-1.1
ii  parted           3.6-4+b1

-- no debconf information

-- 
      Dr. Helge Kreutzmann                     deb...@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature

Reply via email to