红联Linux门户
Linux帮助

XFS可以格式化,无法挂载(高手,急)

发布时间:2011-08-03 11:38:03来源:红联作者:66230488
我在CentOS 5.6系统上,想用XFS文件系统,几乎都配置的差不多了,但是最后一步文件系统挂载mount出错了,那位高手能指点一下。
我的内核:
[root@cluster2 xfs]# uname -a
Linux cluster2.amastor.com 2.6.18-238.el5xen #1 SMP Thu Jan 13 17:49:40 EST 2011 i686 i686 i386 GNU/Linux
我装的XFS工具包:
[root@cluster2 xfs]# rpm -qa |grep xfs
kmod-xfs-xen-0.4-2
xfs-kmod-debuginfo-0.4-1.2.6.18_8.1.15.el5.centos.plus
xorg-x11-xfs-1.0.2-4
kmod-xfs-0.4-2
kmod-xfs-PAE-0.4-2
我正常格式化:
[root@cluster2 xfs]# mkfs.xfs -f /dev/sdb1
meta-data=/dev/sdb1 isize=256 agcount=4, agsize=19660546 blks
= sectsz=512 attr=2, projid32bit=0
data = bsize=4096 blocks=78642183, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=38399, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
我准备mount失败了:
[root@cluster2 xfs]# mount -t xfs /dev/sdb1 /xfs
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
执行提示如下:
[root@cluster2 xfs]# dmesg |tail
device vif0.0 entered promiscuous mode
xenbr0: topology change detected, propagating
xenbr0: port 1(vif0.0) entering forwarding state
tg3: peth0: Link is up at 100 Mbps, full duplex.
tg3: peth0: Flow control is on for TX and on for RX.
device peth0 entered promiscuous mode
xenbr0: topology change detected, propagating
xenbr0: port 2(peth0) entering forwarding state
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem


谁能帮我看看,问题出在那里了?
文章评论

共有 4 条评论

  1. 66230488 于 2011-08-05 11:34:37发表:

    这俩天我弄明白了。。xfsprogs-devel-2.9.4-1.el5.centos.i386.rpm需要一个这个包。装上以后就可以正常的mount了! 多谢大家

  2. gogo11 于 2011-08-04 14:42:02发表:

    [i=s] 本帖最后由 gogo11 于 2011-8-4 14:51 编辑 [/i]

    mount不认xfs系统~~~~~`
    用modprobe -l | grep -i xfs确认一下~~~~~~``
    xfsprogs-2.9.4-4.el5.i386.rpm 这个有没有安装?

  3. okzokz123 于 2011-08-04 12:16:03发表:

    内核xfs模块是否加载 或者把xfs直接编成内核

  4. l460618498 于 2011-08-03 23:26:11发表:

    命令有问题吧!