XFS can be formatted and cannot be mounted (master, urgent)-Linux general technology-Linux technology and application information. The following is a detailed description. On the CentOS 5.6 system, I want to use the XFS file system, almost all of which are configured, but the mount error occurred in the last step of File System mounting. That expert can give me some advice.
My kernel:
[Root @ cluster2 xfs] # uname-
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 toolkit I installed:
[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
My normal formatting:
[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
Failed to prepare 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
The execution prompt is as follows:
[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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.