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

"File size limit exceeded" when running /sbin/mke2fs -j /dev/sdb1



	Hi!

  I have problem making ext3 FS on new disk. When I run mke2fs, it stops
and gives me: "File size limit exceeded". Is this known issue?

  I'm running linux-2.4.10 with ext3 patch, e2fsprogs-1.25 freshly compiled.

	Cheers,
		Vita


Appended are outputs of following programs:

	bash /usr/src/linux/scripts/ver_linux
	/sbin/mke2fs -m0 -v -j /dev/sdb1
	fdisk -l /dev/sdb
	strace /sbin/mke2fs -m0 -v -j /dev/sdb1
	ulimit -a


-------------- ver_linux -------------------------
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
Linux pc11 2.4.10-ext3 #1 SMP Thu Oct 4 17:24:58 CEST 2001 i686 unknown
 
Gnu C                  2.95.3
Gnu make               3.79
binutils               2.11.90.0.15
util-linux             2.11k
mount                  2.11k
modutils               2.4.1
e2fsprogs              1.25
Linux C Library        2.2.2
Dynamic linker (ldd)   2.2.2
Procps                 2.0.7
Net-tools              1.55
Kbd                    0.99
Sh-utils               2.0
--------------------------------------------------

-------------- mke2fs ----------------------------
pc11:~# /sbin/mke2fs -m0 -v -j /dev/sdb1
mke2fs 1.25 (20-Sep-2001)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1050400 inodes, 2098482 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
65 block groups
32768 blocks per group, 32768 fragments per group
16160 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

File size limit exceeded
--------------------------------------------------

-------------- fdisk -l /dev/sdb -----------------
Disk /dev/sdb: 255 heads, 63 sectors, 4462 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1      1045   8393931   83  Linux
/dev/sdb2          1046      3134  16779892+  83  Linux
/dev/sdb3          3135      4462  10667160   83  Linux
--------------------------------------------------

-------------- strace mke2fs (relevant part) -----
...
getpid()                                = 296
brk(0)                                  = 0x804f710
brk(0x804f7c8)                          = 0x804f7c8
brk(0x8050000)                          = 0x8050000
uname({sys="Linux", node="pc11", ...})  = 0
write(2, "mke2fs 1.25 (20-Sep-2001)\n", 26) = 26
stat64(0xbffffa58, 0xbffff56c)          = 0
open("/proc/mounts", O_RDONLY)          = 4
brk(0x8052000)                          = 0x8052000
fstat64(0x4, 0xbfffee5c)                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(4, "/dev/root / ext2 rw 0 0\n/dev/sda"..., 4096) = 171
read(4, "", 4096)                       = 0
stat64(0x400307aa, 0xbffff43c)          = 0
stat64(0xbffffa58, 0xbffff43c)          = 0
close(4)                                = 0
munmap(0x40017000, 4096)                = 0
open("/dev/sdb2", O_RDONLY|0x8000)      = 4
ioctl(4, BLKGETSIZE, 0xbffff63c)        = 0
close(4)                                = 0
brk(0x8053000)                          = 0x8053000
open("/dev/sdb2", O_RDWR|0x8000)        = 4
time(NULL)                              = 1002263713
mmap2(NULL, 532480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40153000
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401d5000
brk(0x8056000)                          = 0x8056000
brk(0x8058000)                          = 0x8058000
brk(0x805a000)                          = 0x805a000
brk(0x805c000)                          = 0x805c000
lseek(4, 1024, SEEK_SET)                = 1024
write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 3072) = 3072
gettimeofday({1002263713, 103744}, NULL) = 0
open("/dev/urandom", O_RDONLY)          = 5
getpid()                                = 296
SYS_199(0x4014e224, 0, 0x70, 0x128, 0xbffff824) = 0
gettimeofday({1002263713, 104028}, NULL) = 0
gettimeofday({1002263713, 104093}, NULL) = 0
read(5, "\251\237 \231\302\240G\313<C<\336I\360\244\226", 16) = 16
write(1, "Filesystem label=\n", 18)     = 18
write(1, "OS type: ", 9)                = 9
write(1, "Linux", 5)                    = 5
write(1, "\n", 1)                       = 1
write(1, "Block size=4096 (log=2)\n", 24) = 24
write(1, "Fragment size=4096 (log=2)\n", 27) = 27
write(1, "2101152 inodes, 4194973 blocks\n", 31) = 31
write(1, "0 blocks (0.00%) reserved for th"..., 45) = 45
write(1, "First data block=0\n", 19)    = 19
write(1, "129 block groups\n", 17)      = 17
write(1, "32768 blocks per group, 32768 fr"..., 50) = 50
write(1, "16288 inodes per group\n", 23) = 23
write(1, "Superblock backups stored on blo"..., 37) = 37
write(1, "\n\t", 2)                     = 2
write(1, "32768", 5)                    = 5
write(1, ", ", 2)                       = 2
write(1, "98304", 5)                    = 5
write(1, ", ", 2)                       = 2
write(1, "163840", 6)                   = 6
write(1, ", ", 2)                       = 2
write(1, "229376", 6)                   = 6
write(1, ", ", 2)                       = 2
write(1, "294912", 6)                   = 6
write(1, ", ", 2)                       = 2
write(1, "819200", 6)                   = 6
write(1, ", ", 2)                       = 2
write(1, "884736", 6)                   = 6
write(1, ", ", 2)                       = 2
write(1, "1605632", 7)                  = 7
write(1, ", ", 2)                       = 2
write(1, "2654208", 7)                  = 7
write(1, ", ", 2)                       = 2
write(1, "\n\t", 2)                     = 2
write(1, "4096000", 7)                  = 7
write(1, "\n\n", 2)                     = 2
lseek(4, 0, SEEK_SET)                   = 0
write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
brk(0x8065000)                          = 0x8065000
_llseek(4, 17182490624, [17182490624], SEEK_SET) = 0
write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = -1 EFBIG (File too large)
--- SIGXFSZ (File size limit exceeded) ---
+++ killed by SIGXFSZ +++
--------------------------------------------------

-------------- ulimit -Ha ------------------------
core file size (blocks)     unlimited
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         unlimited
cpu time (seconds)          unlimited
max user processes          4095
virtual memory (kbytes)     unlimited
--------------------------------------------------

-------------- ulimit -Sa ------------------------
core file size (blocks)     0
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          4095
virtual memory (kbytes)     unlimited
--------------------------------------------------





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