LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1414|回复: 2

mount ext4的奇怪错误

[复制链接]
发表于 2009-3-29 14:28:38 | 显示全部楼层 |阅读模式
# mkfs.ext4 /dev/sda10
...
...
Writeing inode tables:done
Creating journal (32768 blocks):done
Writing superblocks and filesystem accountin information:done

但是
# mount /dev/sda10 /home
mount: wrong fs type,bad option,bad superblock on /dev/sda10,
missing codepate or herper program, or other error
In some cases useful info is found in syslog -try
dmesg | tail or so

# dmesg | tail
EXT4-fs: sda10: Filesystem with huge files cannot be mounted read-write without CONFIG_LBD.

硬盘250G /dev/sda10 只有10G
为什么要CONFIG_LBD???
# fsck.ext4 /dev/sda10
e2fsck  1.41.4 (27-Jan-2009)
/dev/sda10: clean, 11/32000 files,55366/1279744 blocks
我的/分区就是ext4的,自动挂载没问题,这个home分区就是挂不上
发表于 2009-3-29 16:00:40 | 显示全部楼层
少选了一个内核选项..
dmesg里说的很清楚了,
Filesystem with huge files cannot be mounted read-write without CONFIG_LBD.
少了CONFIG_LBD.这个选项,看名字猜测可能是Large Block Devices
回复 支持 反对

使用道具 举报

发表于 2009-3-29 16:02:46 | 显示全部楼层
呵呵,我硬盘250G他还要Large Single Files 呢..
CONFIG_LSF:                                                            
                                                                           
   Say Y here if you want to be able to handle very large files (2TB      
   and larger), otherwise say N.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表