chiefbag Guru
Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Fri Jul 15, 2011 4:28 pm Post subject: EC2 XFS file system on EBS [WORKAROUND] |
|
|
Anyone have any experience with running an EBS volume on Amazon EC2 using XFS file system?
I have previously had this working no problem but I suspect the error I am now getting is related to the version of sys-fs/xfsprogs vs the kernel version.
The file system seems to create ok but when I try and mount it I receive an error, please see info below.
Code: | # uname -a
Linux testbox 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 Intel(R) Xeon(R) CPU E5430 @ 2.66GHz GenuineIntel GNU/Linux
# mkfs.xfs -f -l version=1 /dev/sdh
warning: unable to probe device toplology for device /dev/sdh
meta-data=/dev/sdh isize=256 agcount=4, agsize=5242880 blks
= sectsz=512 attr=2, projid32bit=0
data = bsize=4096 blocks=20971520, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=10240, version=1
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
# mount /vol
mount: wrong fs type, bad option, bad superblock on /dev/sdh,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg | tail -3
XFS: SB validate failed
XFS: bad version
XFS: SB validate failed
# cat /etc/fstab
/dev/sda1 / ext3 user_xattr 0 1
/dev/sda2 /mnt ext3 user_xattr 0 2
/dev/sda3 swap swap sw 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/sdh /vol xfs noatime 0 0
# eix xfsprogs
[I] sys-fs/xfsprogs
Available versions: 3.1.4 ~3.1.5 {libedit nls readline static static-libs}
Installed versions: 3.1.4(16:00:31 07/15/11)(nls readline -libedit -static -static-libs)
Homepage: http://oss.sgi.com/projects/xfs/
Description: xfs filesystem utilities |
Last edited by chiefbag on Mon Jul 18, 2011 12:41 pm; edited 2 times in total |
|