[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#559647: aborts when making a filesystem larger than 2048 MiB



Package: ufsutils
Version: 7.2-3
Severity: important

mkfs aborts when making a filesystem larger than 2048 MiB.  This
size limit (equivalent to INT32_MAX sectors) seems to indicate that
it's using 32-bit signed types to measure number of blocks instead
of unsigned 64-bit.

$ sudo mkfs.ufs /dev/ad1
Reduced frags per cylinder group from 94064 to 94056 to enlarge last cyl group
/dev/ad1: 4194304.0MB (0 sectors) block size 16384, fragment size 2048
	using 22832 cylinder groups of 183.70MB, 11757 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376384, 752608, 1128832, 1505056, 1881280, 2257504, 2633728, 3009952,
 [...]
 2144476960, 2144853184, 2145229408, 2145605632, 2145981856, 2146358080,
 2146734304, 2147110528,mkfs.ufs: wtfs: 65536 bytes at sector -2147480544: Input/output error

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 7.2-1-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ufsutils depends on:
ii  libbsd0                  0.1.6-1         utility functions from BSD systems
ii  libc0.1                  2.10.2-2        GNU C Library: Shared libraries
ii  libedit2                 2.11-20080614-1 BSD editline and history libraries
ii  libncurses5              5.7+20090803-2  shared libraries for terminal hand

ufsutils recommends no packages.

ufsutils suggests no packages.

-- no debconf information



Reply to: