Package: e2fsprogs
Version: 1.42.8-1
Severity: minor

Dear Maintainer,

I have a system with only ext3 filesystems.  When I tried to resize the
root filesystem using resize2fs I got a surprising error message:

wraith:/tmp# resize2fs -p /dev/wraith/root
resize2fs 1.42.8 (20-Jun-2013)
Filesystem at /dev/wraith/root is mounted on /; on-line resizing required
old_desc_blocks = 34, new_desc_blocks = 65
resize2fs: Filesystem does not support online resizing

I poked it with strace and discovered:

access("/sys/fs/ext4/features/meta_bg_resize", R_OK) = -1 ENOENT (No such file 
or directory)
write(2, "resize2fs", 9resize2fs)                = 9
write(2, ": ", 2: )                       = 2
write(2, "Filesystem does not support onli"..., 43) = 43

Running "modprobe ext4" caused resize2fs to be more willing to run (but it failed later):

wraith:/tmp# resize2fs -p /dev/wraith/root
resize2fs 1.42.8 (20-Jun-2013)
Filesystem at /dev/wraith/root is mounted on /; on-line resizing required
old_desc_blocks = 34, new_desc_blocks = 65
Performing an on-line resize of /dev/wraith/root to 16785408 (1k) blocks.
resize2fs: Inappropriate ioctl for device While trying to add group #1088

If resize2fs requires the use of /sys/fs/ext4/features/meta_bg_resize in
order to resize an ext3 filesystem on-line then I think the need to load
the ext4 module should be documented in its man page.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.10-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages e2fsprogs depends on:
ii  e2fslibs    1.42.8-1
ii  libblkid1   2.20.1-5.5
ii  libc6       2.17-93
ii  libcomerr2  1.42.8-1
ii  libss2      1.42.8-1
ii  libuuid1    2.20.1-5.5
ii  util-linux  2.20.1-5.5

e2fsprogs recommends no packages.

Versions of packages e2fsprogs suggests:
pn  e2fsck-static  <none>
ii  gpart          0.1h-11+b1
ii  parted         2.3-16

-- no debconf information

--
Ben Harris, University of Cambridge Computing Service.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to