Re: failed to set versionnum in AG 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 04, 2012 at 06:09:12PM +0200, Gabriel VLASIU wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> On all my older partitions with xfs I have this problem:
> 
> # xfs_db -x /dev/sdh1
> xfs_db> version
> versionnum [0xb4b4+0x8] = V4,ATTR,NLINK,ALIGN,DIRV2,LOGV2,EXTFLG,MOREBITS,ATTR2

it already has the attr2 feature bit set.

> xfs_db> version attr2
> writing all SBs
> Superblock has mismatched features2 fields, skipping modification
> failed to set versionnum in AG 1
> versionnum [0xb4b4+0x8] = V4,ATTR,NLINK,ALIGN,DIRV2,LOGV2,EXTFLG,MOREBITS,ATTR2

What version of xfs_db are you using?

And why do you need to set the attr2 feature this way? It gets set
automatically when it gets used because on recent kernels it is the
default mount option. If you have an older kernel and need to turn
attr2 on, then simply add the "attr2" field to the mount options on
the filesystem. Once xfs_info reports attr=2 for the filesytem, you
can remove the attr2 mount option...

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux