How to check XFS filesystem version?
Clash Royale CLAN TAG#URR8PPP
up vote
6
down vote
favorite
How to check the version of a XFS filesystem on a system, whether it is V5 or later?
linux xfs
add a comment |Â
up vote
6
down vote
favorite
How to check the version of a XFS filesystem on a system, whether it is V5 or later?
linux xfs
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
How to check the version of a XFS filesystem on a system, whether it is V5 or later?
linux xfs
How to check the version of a XFS filesystem on a system, whether it is V5 or later?
linux xfs
linux xfs
edited Aug 26 at 17:09
sebasth
6,34421643
6,34421643
asked Aug 29 '16 at 15:20
MikasaAckerman
17917
17917
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
5
down vote
accepted
Since version 3.15, the kernel tells you the version of XFS used in each filesystem as it mounts it; dmesg | grep XFS
should give you something like
[1578018.463269] XFS (loop0): Mounting V5 Filesystem
Instead of loop0
on your system you'll get the underlying device, and V5
will be replaced by whatever version your filesystem uses.
Older kernels officially supported XFS version 4 filesystems, but could mount version 5 filesystems (since mid 2013); for the latter, the kernel would print
Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled!
when the filesystem was mounted.
I get something like this: 1.342982] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 1.345446] XFS (dm-0): Mounting Filesystem [ 1.497979] XFS (dm-0): Starting recovery (logdev: internal) [ 1.587471] XFS (dm-0): Ending recovery (logdev: internal) [ 6.980611] XFS (sda2): Mounting Filesystem [ 9.675872] XFS (sda2): Ending clean mount
â MikasaAckerman
Sep 15 '16 at 19:19
@MikasaAckerman OK, that means you're using a kernel older than 3.15, and a version 4 filesystem (see my updated answer for details).
â Stephen Kitt
Sep 15 '16 at 21:01
add a comment |Â
up vote
2
down vote
We can check using below command.
# yum list installed | grep xfs
# yum info xfsprogs
This only shows the installed version of xfsprogs tools. The question is about the the version of file system on disk format on an existing file system. xfsprogs version doesn't tell which on disk format version is used on existing file systems: file systems created with older versions of xfsprogs will have an older on disk format version.
â sebasth
Aug 26 at 17:04
add a comment |Â
up vote
2
down vote
You can check the on disk format version of a XFS file system with xfs_db
.
Example output of an old (V4) XFS file system on my system:
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb5b4+0x8a] = V4,NLINK,DIRV2,ATTR,ALIGN,DALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT
Output of a new (V5) XFS file system (created with xfsprogs version 4.9.0):
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb4a5+0x18a] = V5,NLINK,DIRV2,ALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT,CRC,FTYPE,FINOBT
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
Since version 3.15, the kernel tells you the version of XFS used in each filesystem as it mounts it; dmesg | grep XFS
should give you something like
[1578018.463269] XFS (loop0): Mounting V5 Filesystem
Instead of loop0
on your system you'll get the underlying device, and V5
will be replaced by whatever version your filesystem uses.
Older kernels officially supported XFS version 4 filesystems, but could mount version 5 filesystems (since mid 2013); for the latter, the kernel would print
Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled!
when the filesystem was mounted.
I get something like this: 1.342982] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 1.345446] XFS (dm-0): Mounting Filesystem [ 1.497979] XFS (dm-0): Starting recovery (logdev: internal) [ 1.587471] XFS (dm-0): Ending recovery (logdev: internal) [ 6.980611] XFS (sda2): Mounting Filesystem [ 9.675872] XFS (sda2): Ending clean mount
â MikasaAckerman
Sep 15 '16 at 19:19
@MikasaAckerman OK, that means you're using a kernel older than 3.15, and a version 4 filesystem (see my updated answer for details).
â Stephen Kitt
Sep 15 '16 at 21:01
add a comment |Â
up vote
5
down vote
accepted
Since version 3.15, the kernel tells you the version of XFS used in each filesystem as it mounts it; dmesg | grep XFS
should give you something like
[1578018.463269] XFS (loop0): Mounting V5 Filesystem
Instead of loop0
on your system you'll get the underlying device, and V5
will be replaced by whatever version your filesystem uses.
Older kernels officially supported XFS version 4 filesystems, but could mount version 5 filesystems (since mid 2013); for the latter, the kernel would print
Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled!
when the filesystem was mounted.
I get something like this: 1.342982] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 1.345446] XFS (dm-0): Mounting Filesystem [ 1.497979] XFS (dm-0): Starting recovery (logdev: internal) [ 1.587471] XFS (dm-0): Ending recovery (logdev: internal) [ 6.980611] XFS (sda2): Mounting Filesystem [ 9.675872] XFS (sda2): Ending clean mount
â MikasaAckerman
Sep 15 '16 at 19:19
@MikasaAckerman OK, that means you're using a kernel older than 3.15, and a version 4 filesystem (see my updated answer for details).
â Stephen Kitt
Sep 15 '16 at 21:01
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
Since version 3.15, the kernel tells you the version of XFS used in each filesystem as it mounts it; dmesg | grep XFS
should give you something like
[1578018.463269] XFS (loop0): Mounting V5 Filesystem
Instead of loop0
on your system you'll get the underlying device, and V5
will be replaced by whatever version your filesystem uses.
Older kernels officially supported XFS version 4 filesystems, but could mount version 5 filesystems (since mid 2013); for the latter, the kernel would print
Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled!
when the filesystem was mounted.
Since version 3.15, the kernel tells you the version of XFS used in each filesystem as it mounts it; dmesg | grep XFS
should give you something like
[1578018.463269] XFS (loop0): Mounting V5 Filesystem
Instead of loop0
on your system you'll get the underlying device, and V5
will be replaced by whatever version your filesystem uses.
Older kernels officially supported XFS version 4 filesystems, but could mount version 5 filesystems (since mid 2013); for the latter, the kernel would print
Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled!
when the filesystem was mounted.
edited Sep 15 '16 at 21:00
answered Sep 2 '16 at 12:49
Stephen Kitt
146k22321386
146k22321386
I get something like this: 1.342982] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 1.345446] XFS (dm-0): Mounting Filesystem [ 1.497979] XFS (dm-0): Starting recovery (logdev: internal) [ 1.587471] XFS (dm-0): Ending recovery (logdev: internal) [ 6.980611] XFS (sda2): Mounting Filesystem [ 9.675872] XFS (sda2): Ending clean mount
â MikasaAckerman
Sep 15 '16 at 19:19
@MikasaAckerman OK, that means you're using a kernel older than 3.15, and a version 4 filesystem (see my updated answer for details).
â Stephen Kitt
Sep 15 '16 at 21:01
add a comment |Â
I get something like this: 1.342982] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 1.345446] XFS (dm-0): Mounting Filesystem [ 1.497979] XFS (dm-0): Starting recovery (logdev: internal) [ 1.587471] XFS (dm-0): Ending recovery (logdev: internal) [ 6.980611] XFS (sda2): Mounting Filesystem [ 9.675872] XFS (sda2): Ending clean mount
â MikasaAckerman
Sep 15 '16 at 19:19
@MikasaAckerman OK, that means you're using a kernel older than 3.15, and a version 4 filesystem (see my updated answer for details).
â Stephen Kitt
Sep 15 '16 at 21:01
I get something like this: 1.342982] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 1.345446] XFS (dm-0): Mounting Filesystem [ 1.497979] XFS (dm-0): Starting recovery (logdev: internal) [ 1.587471] XFS (dm-0): Ending recovery (logdev: internal) [ 6.980611] XFS (sda2): Mounting Filesystem [ 9.675872] XFS (sda2): Ending clean mount
â MikasaAckerman
Sep 15 '16 at 19:19
I get something like this: 1.342982] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 1.345446] XFS (dm-0): Mounting Filesystem [ 1.497979] XFS (dm-0): Starting recovery (logdev: internal) [ 1.587471] XFS (dm-0): Ending recovery (logdev: internal) [ 6.980611] XFS (sda2): Mounting Filesystem [ 9.675872] XFS (sda2): Ending clean mount
â MikasaAckerman
Sep 15 '16 at 19:19
@MikasaAckerman OK, that means you're using a kernel older than 3.15, and a version 4 filesystem (see my updated answer for details).
â Stephen Kitt
Sep 15 '16 at 21:01
@MikasaAckerman OK, that means you're using a kernel older than 3.15, and a version 4 filesystem (see my updated answer for details).
â Stephen Kitt
Sep 15 '16 at 21:01
add a comment |Â
up vote
2
down vote
We can check using below command.
# yum list installed | grep xfs
# yum info xfsprogs
This only shows the installed version of xfsprogs tools. The question is about the the version of file system on disk format on an existing file system. xfsprogs version doesn't tell which on disk format version is used on existing file systems: file systems created with older versions of xfsprogs will have an older on disk format version.
â sebasth
Aug 26 at 17:04
add a comment |Â
up vote
2
down vote
We can check using below command.
# yum list installed | grep xfs
# yum info xfsprogs
This only shows the installed version of xfsprogs tools. The question is about the the version of file system on disk format on an existing file system. xfsprogs version doesn't tell which on disk format version is used on existing file systems: file systems created with older versions of xfsprogs will have an older on disk format version.
â sebasth
Aug 26 at 17:04
add a comment |Â
up vote
2
down vote
up vote
2
down vote
We can check using below command.
# yum list installed | grep xfs
# yum info xfsprogs
We can check using below command.
# yum list installed | grep xfs
# yum info xfsprogs
edited Aug 29 '16 at 17:52
GAD3R
22.9k164895
22.9k164895
answered Aug 29 '16 at 16:16
Babin Lonston
1,9161920
1,9161920
This only shows the installed version of xfsprogs tools. The question is about the the version of file system on disk format on an existing file system. xfsprogs version doesn't tell which on disk format version is used on existing file systems: file systems created with older versions of xfsprogs will have an older on disk format version.
â sebasth
Aug 26 at 17:04
add a comment |Â
This only shows the installed version of xfsprogs tools. The question is about the the version of file system on disk format on an existing file system. xfsprogs version doesn't tell which on disk format version is used on existing file systems: file systems created with older versions of xfsprogs will have an older on disk format version.
â sebasth
Aug 26 at 17:04
This only shows the installed version of xfsprogs tools. The question is about the the version of file system on disk format on an existing file system. xfsprogs version doesn't tell which on disk format version is used on existing file systems: file systems created with older versions of xfsprogs will have an older on disk format version.
â sebasth
Aug 26 at 17:04
This only shows the installed version of xfsprogs tools. The question is about the the version of file system on disk format on an existing file system. xfsprogs version doesn't tell which on disk format version is used on existing file systems: file systems created with older versions of xfsprogs will have an older on disk format version.
â sebasth
Aug 26 at 17:04
add a comment |Â
up vote
2
down vote
You can check the on disk format version of a XFS file system with xfs_db
.
Example output of an old (V4) XFS file system on my system:
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb5b4+0x8a] = V4,NLINK,DIRV2,ATTR,ALIGN,DALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT
Output of a new (V5) XFS file system (created with xfsprogs version 4.9.0):
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb4a5+0x18a] = V5,NLINK,DIRV2,ALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT,CRC,FTYPE,FINOBT
add a comment |Â
up vote
2
down vote
You can check the on disk format version of a XFS file system with xfs_db
.
Example output of an old (V4) XFS file system on my system:
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb5b4+0x8a] = V4,NLINK,DIRV2,ATTR,ALIGN,DALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT
Output of a new (V5) XFS file system (created with xfsprogs version 4.9.0):
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb4a5+0x18a] = V5,NLINK,DIRV2,ALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT,CRC,FTYPE,FINOBT
add a comment |Â
up vote
2
down vote
up vote
2
down vote
You can check the on disk format version of a XFS file system with xfs_db
.
Example output of an old (V4) XFS file system on my system:
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb5b4+0x8a] = V4,NLINK,DIRV2,ATTR,ALIGN,DALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT
Output of a new (V5) XFS file system (created with xfsprogs version 4.9.0):
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb4a5+0x18a] = V5,NLINK,DIRV2,ALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT,CRC,FTYPE,FINOBT
You can check the on disk format version of a XFS file system with xfs_db
.
Example output of an old (V4) XFS file system on my system:
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb5b4+0x8a] = V4,NLINK,DIRV2,ATTR,ALIGN,DALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT
Output of a new (V5) XFS file system (created with xfsprogs version 4.9.0):
xfs_db -r /dev/...
xfs_db> version
versionnum [0xb4a5+0x18a] = V5,NLINK,DIRV2,ALIGN,LOGV2,EXTFLG,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT,CRC,FTYPE,FINOBT
edited Aug 26 at 16:57
answered Aug 26 at 16:50
sebasth
6,34421643
6,34421643
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f306442%2fhow-to-check-xfs-filesystem-version%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password