Package: e2fsprogs
Version: 1.43.3-1
Severity: important

An strace of the failing e2image program giving an image file size just
below 2GiB (on a 32 bit platform):
------
# LC_ALL=C strace e2image /dev/mapper/share share.img 2>&1 |
  tail -n15
lseek(4, 4096, SEEK_CUR)                = 2147471360
lseek(4, 4096, SEEK_CUR)                = 2147475456
lseek(4, 4096, SEEK_CUR)                = 2147479552
lseek(4, 4096, SEEK_CUR)                = -1 EOVERFLOW (Value too large for 
defined data type)
munmap(0xb76e4000, 135168)              = 0
write(2, "e2image", 7e2image)                  = 7
write(2, ": ", 2: )                       = 2
write(2, "Value too large for defined data"..., 37Value too large for defined 
data type) = 37
write(2, " ", 1 )                        = 1
write(2, "while writing inode table", 25while writing inode table) = 25
ioctl(2, TCGETS, 0xbff65a1c)            = -1 ENOTTY (Inappropriate ioctl for 
device)
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?
+++ exited with 1 +++
------

The following commands writing to stdout and writing to a raw file
complete successfully and give files that seem usable:
------
# LC_ALL=C e2image /dev/mapper/share - > share.img
# LC_ALL=C e2image -r /dev/mapper/share share.raw
------

According to the webpage
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Value-too-large-for-defined-data-type
"It means that your version of the utilities were not compiled with
large file support enabled."

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  Architecture: i386 (i686)

  Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)

  Versions of packages e2fsprogs depends on:
  ii  e2fslibs    1.43.3-1
  ii  libblkid1   2.29.1-1
  ii  libc6       2.24-9
  ii  libcomerr2  1.43.3-1
  ii  libss2      1.43.3-1
  ii  libuuid1    2.29.1-1
  ii  util-linux  2.29.1-1

  e2fsprogs recommends no packages.

Reply via email to