public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs_info: no info about XFS version?
@ 2020-09-10 20:26 LinuxAdmin.pl - administracja serwerami Linux
  2020-09-10 20:44 ` Eric Sandeen
  0 siblings, 1 reply; 4+ messages in thread
From: LinuxAdmin.pl - administracja serwerami Linux @ 2020-09-10 20:26 UTC (permalink / raw)
  To: linux-xfs


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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xfs_info: no info about XFS version?
  2020-09-10 20:26 xfs_info: no info about XFS version? LinuxAdmin.pl - administracja serwerami Linux
@ 2020-09-10 20:44 ` Eric Sandeen
  2020-09-11  4:14   ` LinuxAdmin.pl - administracja serwerami Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2020-09-10 20:44 UTC (permalink / raw)
  To: info, linux-xfs

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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xfs_info: no info about XFS version?
  2020-09-10 20:44 ` Eric Sandeen
@ 2020-09-11  4:14   ` LinuxAdmin.pl - administracja serwerami Linux
  2020-09-11  4:46     ` Darrick J. Wong
  0 siblings, 1 reply; 4+ messages in thread
From: LinuxAdmin.pl - administracja serwerami Linux @ 2020-09-11  4:14 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: linux-xfs

W dniu 2020-09-10 22:44, Eric Sandeen napisał(a):
> 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

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 :)

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xfs_info: no info about XFS version?
  2020-09-11  4:14   ` LinuxAdmin.pl - administracja serwerami Linux
@ 2020-09-11  4:46     ` Darrick J. Wong
  0 siblings, 0 replies; 4+ messages in thread
From: Darrick J. Wong @ 2020-09-11  4:46 UTC (permalink / raw)
  To: LinuxAdmin.pl - administracja serwerami Linux; +Cc: Eric Sandeen, linux-xfs

On Fri, Sep 11, 2020 at 06:14:09AM +0200, LinuxAdmin.pl - administracja serwerami Linux wrote:
> W dniu 2020-09-10 22:44, Eric Sandeen napisał(a):
> > 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
> 
> 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

> > -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
> > > 
> 
> -- 
> LinuxAdmin.pl - administracja serwerami Linux
> Wojciech Błaszkowski
> +48 600 197 207

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-11  4:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-10 20:26 xfs_info: no info about XFS version? LinuxAdmin.pl - administracja serwerami Linux
2020-09-10 20:44 ` Eric Sandeen
2020-09-11  4:14   ` LinuxAdmin.pl - administracja serwerami Linux
2020-09-11  4:46     ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox