xfs
[Top] [All Lists]

Re: Cant mount xfs lvm. Experimental Features?

To: weber@xxxxxxxxxx, Xfs <xfs@xxxxxxxxxxx>
Subject: Re: Cant mount xfs lvm. Experimental Features?
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 25 Aug 2015 17:58:00 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <fe88fd1604660f15cea80477b3855e77@xxxxxxxxxx>
References: <8a6d5afa8829aec73d911f35815d7b92@xxxxxxxxxx> <20150825115412.GI714@dastard> <5ab00519660fd5ed1b3d347658dba1f2@xxxxxxxxxx> <55DCB158.20505@xxxxxxxxxxx> <fe88fd1604660f15cea80477b3855e77@xxxxxxxxxx>
On 8/25/15 5:53 PM, Marko Weber|8000 wrote:

> eric,
> 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.

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F
 ...

> this happens with the newly created logical volume.
> 
> the other 2 lvm partitions with xfs are fine.
> 
> any idea?

Without any actual information (i.e. kernel versions or userspace version),
I'll have to assume that you have recent xfsprogs which sets some features by
default which older kernels cannot understand.

> Aug 26 00:47:17 backupserver kernel: XFS (dm-2): Superblock has unknown 
> read-only compatible features (0x1) enabled.

#define XFS_SB_FEAT_RO_COMPAT_FINOBT   (1 << 0)         /* free inode btree */

mkfs.xfs with -m crc=0,finobt=0 to turn off these features if you have an older 
kernel which
doesn't understand them.

-Eric

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