Skip to contentSkip to conversation

xfs_info: no info about XFS version?

DISCUSSION LinuxAdmin.pl - administracja serwerami Linux 3 participants 4 messages Sep 10, 2020 – Sep 11, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

why there is no info about XFS version on xfs_info?

# LANG=en_US.UTF-8 xfs_info /dev/sdb1

meta-data=/dev/sdb1              isize=256    agcount=4, agsize=6553408 blks
         =                       sectsz=512   attr=2, projid32bit=0
         =                       crc=0        finobt=0, sparse=0, 
rmapbt=0
         =                       reflink=0
data     =                       bsize=4096   blocks=26213632, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=0
log      =internal log           bsize=4096   blocks=12799, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
Signature · 3 lines
LinuxAdmin.pl - administracja serwerami Linux
Wojciech Błaszkowski
+48 600 197 207
#1 lore raw
Quoted 4 lines · LinuxAdmin.pl - administracja serwerami Linux

Hello,

why there is no info about XFS version on xfs_info?

Yeah, this is confusing.

TBH I think "V4" vs "V5" is a secret developer handshake. Admins know this as "not-crc-enabled" vs "crc-enabled"

Below is a V4 filesystem, due to crc=0

-Eric

Quoted 12 lines

# LANG=en_US.UTF-8 xfs_info /dev/sdb1
meta-data=/dev/sdb1              isize=256    agcount=4, agsize=6553408 blks =                       sectsz=512   attr=2, projid32bit=0 =                       crc=0        finobt=0, sparse=0, rmapbt=0 =                       reflink=0
data     =                       bsize=4096   blocks=26213632, imaxpct=25 =                       sunit=0      swidth=0 blks naming   =version 2              bsize=4096   ascii-ci=0, ftype=0 log      =internal log           bsize=4096   blocks=12799, version=2 =                       sectsz=512   sunit=0 blks, lazy-count=1 realtime =none                   extsz=4096   blocks=0, rtextents=0

#2 lore raw

W dniu 2020-09-10 22:44, Eric Sandeen napisał(a):

Quoted 12 lines · LinuxAdmin.pl - administracja serwerami Linux
Quoted 4 lines

Hello,

why there is no info about XFS version on xfs_info?

Yeah, this is confusing.

TBH I think "V4" vs "V5" is a secret developer handshake. Admins know this as "not-crc-enabled" vs "crc-enabled"

Below is a V4 filesystem, due to crc=0

That's the point! How you will be determining the version number in V7? crc=3 xyz=0 abc=1?
I know that is V4 (migration to V5 already planned!) but thinking the human way - it will be nice to have a simple info of used version :)

Quoted 14 lines

-Eric

Quoted 12 lines

# LANG=en_US.UTF-8 xfs_info /dev/sdb1
meta-data=/dev/sdb1              isize=256    agcount=4, agsize=6553408 blks =                       sectsz=512   attr=2, projid32bit=0 =                       crc=0        finobt=0, sparse=0, rmapbt=0 =                       reflink=0
data     =                       bsize=4096   blocks=26213632, imaxpct=25 =                       sunit=0      swidth=0 blks naming   =version 2              bsize=4096   ascii-ci=0, ftype=0 log      =internal log           bsize=4096   blocks=12799, version=2 =                       sectsz=512   sunit=0 blks, lazy-count=1 realtime =none                   extsz=4096   blocks=0, rtextents=0

Signature · 3 lines
LinuxAdmin.pl - administracja serwerami Linux
Wojciech Błaszkowski
+48 600 197 207
#3 lore raw
Quoted 12 lines · LinuxAdmin.pl - administracja serwerami Linux

W dniu 2020-09-10 22:44, Eric Sandeen napisał(a):

Quoted 11 lines · LinuxAdmin.pl - administracja serwerami Linux
Quoted 4 lines

Hello,

why there is no info about XFS version on xfs_info?

Yeah, this is confusing.

TBH I think "V4" vs "V5" is a secret developer handshake. Admins know this as "not-crc-enabled" vs "crc-enabled"

Quoted 6 lines
Quoted 1 line

Below is a V4 filesystem, due to crc=0

That's the point! How you will be determining the version number in V7? crc=3 xyz=0 abc=1?
I know that is V4 (migration to V5 already planned!) but thinking the human way - it will be nice to have a simple info of used version :)

Seeing as most software goes downhill after V5 (Word, Windows, Notes...) we intend to beat the averages by never introducing a V6, and expanding the feature flags fields instead.

--D

Quoted 23 lines
Quoted 18 lines

-Eric

Quoted 16 lines

# LANG=en_US.UTF-8 xfs_info /dev/sdb1
meta-data=/dev/sdb1              isize=256    agcount=4, agsize=6553408 blks
         =                       sectsz=512   attr=2, projid32bit=0 =                       crc=0        finobt=0, sparse=0, rmapbt=0
         =                       reflink=0
data     =                       bsize=4096   blocks=26213632, imaxpct=25
         =                       sunit=0      swidth=0 blks naming   =version 2              bsize=4096   ascii-ci=0, ftype=0 log      =internal log           bsize=4096   blocks=12799, version=2 =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

Signature · 3 lines
LinuxAdmin.pl - administracja serwerami Linux
Wojciech Błaszkowski
+48 600 197 207