xfs
[Top] [All Lists]

Re: Cant mount xfs lvm. Experimental Features?

To: Xfs <xfs@xxxxxxxxxxx>
Subject: Re: Cant mount xfs lvm. Experimental Features?
From: Marko Weber|8000 <weber@xxxxxxxxxx>
Date: Wed, 26 Aug 2015 01:10:41 +0200
Delivered-to: xfs@xxxxxxxxxxx
Dkim-filter: OpenDKIM Filter v2.9.2 mail.zbfmail.de 5D79211C6FC
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zbfmail.de; s=dkim; t=1440544241; bh=7XWy1Bu6fZMBpty0YMHrTLINLtq98vCBzeEv+YNHjHc=; h=Date:From:To:Subject:Reply-To:In-Reply-To:References; b=p7B6cD99BRjM2e0oDcqAPlKV/OHk1aLS8ohTXzDMkbKbuMg5l8z543WyD5A0abwjG dhGtaCoRr8oVmujUFsKoY3HAS0bdG5E8BbAgIm25+CwSylwzRk9B+s2PLKC2gDao1V Aa9FL5vkFHPeXJ4vcTTdu6Bclb9KuWHm695UNzbw=
In-reply-to: <20150825230353.GK714@dastard>
Mail-reply-to: weber@xxxxxxxxxx
Organization: zbf mail
References: <8a6d5afa8829aec73d911f35815d7b92@xxxxxxxxxx> <20150825115412.GI714@dastard> <5ab00519660fd5ed1b3d347658dba1f2@xxxxxxxxxx> <55DCB158.20505@xxxxxxxxxxx> <fe88fd1604660f15cea80477b3855e77@xxxxxxxxxx> <20150825230353.GK714@dastard>
Reply-to: weber@xxxxxxxxxx
User-agent: Roundcube zbfmail Webmail


Am 2015-08-26 01:03, schrieb Dave Chinner:
On Wed, Aug 26, 2015 at 12:53:51AM +0200, Marko Weber|8000 wrote:
[....]
i rebootet the machine and created a new logical volume.
i formatted the lv with mkfs.xfs
i tried to mount it on the new kernel:

Aug 26 00:47:17 backupserver kernel: XFS (dm-2): Version 5
superblock detected. This kernel has EXPERIMENTAL support enabled!
Aug 26 00:47:17 backupserver kernel: Use of these features in this
kernel is at your own risk!
Aug 26 00:47:17 backupserver kernel: XFS (dm-2): Superblock has
unknown read-only compatible features (0x1) enabled.
Aug 26 00:47:17 backupserver kernel: XFS (dm-2): Attempted to mount
read-only compatible filesystem read-write.
Aug 26 00:47:17 backupserver kernel: Filesystem can only be safely
mounted read only.
Aug 26 00:47:17 backupserver kernel: XFS (dm-2): SB validate failed
with error 22.


this happens with the newly created logical volume.

the other 2 lvm partitions with xfs are fine.

any idea?

Clearly you have a kernel too old to read the on-disk format that
mkfs.xfs has written - as I pointed out originally.

Would you please tell us what the versions of the kernels
you are using, as well as the mkfs.xfs version?

Kernel vanilla-sources 3.14.51 (longterm support)
xfs-progs 3.2.4 (gentoo)
mkfs.xfs 3.2.4

AND HEY!  Eric, your hint worked:

backupserver ~ # mkfs.xfs -f -m crc=0,finobt=0 /dev/VolGroup01/vmstore
meta-data=/dev/VolGroup01/vmstore isize=256 agcount=4, agsize=19660800 blks
         =                       sectsz=4096  attr=2, projid32bit=1
         =                       crc=0        finobt=0
data = bsize=4096 blocks=78643200, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=0
log      =internal log           bsize=4096   blocks=38400, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
backupserver ~ # mount /dev/VolGroup01/vmstore /var/storage01/
backupserver ~ # df -h
Filesystem                      Size  Used Avail Use% Mounted on
/dev/root                        35G   21G   15G  60% /
devtmpfs                         10M     0   10M   0% /dev
tmpfs                           1.6G  464K  1.6G   1% /run
shm                             7.7G   72K  7.7G   1% /dev/shm
cgroup_root                      10M     0   10M   0% /sys/fs/cgroup
/dev/mapper/VolGroup01-backup 500G 396G 105G 80% /var/volgroup01/backup
/dev/mapper/VolGroup01-dumps    200G   89G  112G  45% /var/dumps
/dev/mapper/VolGroup01-vmstore  300G   33M  300G   1% /var/storage01



dave, so the latest lts kernel 3.14.51 does not support to mount lvm2 partitions formatted with mkfs.xfs 3.2.4?


marko



Cheers,

Dave.

<Prev in Thread] Current Thread [Next in Thread>