问题描述
- linux ext4 格式问题,求高手帮忙,急……
-
打包成ext4格式是包如下错,测试需要打包的文件内容几十M时,不出错。
猜想是Linux默认配置参数的问题,百度,Google没找到答案。高手帮忙解决下,急……
./mkuserimg.sh -s serverlog system7.img.ext4 ext4 1190M
in mkuserimg.sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.8.0_05/bin:/opt/tomcat/code/airpushData/apktools/linux:/root/bin
./make_ext4fs -s -l 128M -a 1190M system7.img.ext4 serverlog
Creating filesystem with parameters:
Size: 134217728
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 32768
Block groups: 1
Reserved block group size: 7
error: do_inode_allocate_extents: Failed to allocate 64758 blocks
解决方案
df看看你的磁盘空间不是不不够了?
时间: 2023-01-04