Re: xfs_info: no info about XFS version?

Eric Sandeen
2020-09-10T20:46:53Z

On 9/10/20 3:26 PM, LinuxAdmin.pl - administracja serwerami Linux wrote:
>
> 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

> # 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
>