Skip to contentSkip to conversation

How to install set_encpolicy for xfs_io

DISCUSSION Dai Xiang 5 participants 8 messages Aug 2, 2017 – Aug 4, 2017

lore
Share & tools
lore

Dai Xiang

author
#0 lore raw

Hi!

When i do test with xfstests using ext4 fs, a issue occur and do not find how to fix:

FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 local 4.13.0-rc3
MKFS_OPTIONS  -- /dev/sda8

MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch

ext4/024 [not run] xfs_io set_encpolicy support is missing
<===
Not run: ext4/024
Passed all 0 tests

I use v4.7 xfsprogs and xfstests commit is a00c51a0.

How can i install set_encpolicy?

Thanks
Xiang

#1 lore raw

Hi,

Quoted 8 lines

Hi!

When i do test with xfstests using ext4 fs, a issue occur and do not find how to fix:

FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 local 4.13.0-rc3
MKFS_OPTIONS  -- /dev/sda8
Quoted 7 lines

MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch

ext4/024 [not run] xfs_io set_encpolicy support is missing
<===
Not run: ext4/024
Passed all 0 tests

set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it already, if not, you'll need to compile it by yourself from:

git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git

cheers.

Quoted 6 lines

I use v4.7 xfsprogs and xfstests commit is a00c51a0.

How can i install set_encpolicy?

Thanks
Xiang

Signature · 1 line
Carlos
author
#2 lore raw
Quoted 18 lines · Carlos Maiolino

Hi,

Quoted 8 lines

Hi!

When i do test with xfstests using ext4 fs, a issue occur and do not find how to fix:

FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 local 4.13.0-rc3
MKFS_OPTIONS  -- /dev/sda8
Quoted 7 lines

MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch

ext4/024 [not run] xfs_io set_encpolicy support is missing
<===
Not run: ext4/024
Passed all 0 tests

Quoted 4 lines

set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it already, if not, you'll need to compile it by yourself from:

git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git

I always use below link to download the xfsprogs:
git://oss.sgi.com/xfs/cmds/xfsprogs

What the difference between them? Does it mean above link has abandoned?

Thanks

Quoted 12 lines

cheers.

Quoted 6 lines

I use v4.7 xfsprogs and xfstests commit is a00c51a0.

How can i install set_encpolicy?

Thanks
Xiang

Signature · 1 line
Carlos
#3 lore raw
Quoted 22 lines · Dai Xiang
Quoted 21 lines · Carlos Maiolino

Hi,

Quoted 8 lines

Hi!

When i do test with xfstests using ext4 fs, a issue occur and do not find how to fix:

FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 local 4.13.0-rc3
MKFS_OPTIONS  -- /dev/sda8
Quoted 7 lines

MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch

ext4/024 [not run] xfs_io set_encpolicy support is missing
<===
Not run: ext4/024
Passed all 0 tests

set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it already, if not, you'll need to compile it by yourself from:

Quoted 7 lines
Quoted 1 line

git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git

I always use below link to download the xfsprogs:
git://oss.sgi.com/xfs/cmds/xfsprogs

What the difference between them? Does it mean above link has abandoned?

SGI have essentially abandoned all xfs-related infrastructure hosting. As a result the mailing list got moved to kernel.org infrastructure and the development branches as well. I'd suggest to always use the xfs repos hosted on git.kernel.org

Quoted 15 lines

Thanks

Quoted 12 lines

cheers.

Quoted 6 lines

I use v4.7 xfsprogs and xfstests commit is a00c51a0.

How can i install set_encpolicy?

Thanks
Xiang

Signature · 1 line
Carlos
author
#4 lore raw
Quoted 30 lines · Nikolay Borisov
Quoted 27 lines · Dai Xiang
Quoted 18 lines · Carlos Maiolino

Hi,

Quoted 8 lines

Hi!

When i do test with xfstests using ext4 fs, a issue occur and do not find how to fix:

FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 local 4.13.0-rc3
MKFS_OPTIONS  -- /dev/sda8
Quoted 7 lines

MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch

ext4/024 [not run] xfs_io set_encpolicy support is missing
<===
Not run: ext4/024
Passed all 0 tests

Quoted 4 lines

set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it already, if not, you'll need to compile it by yourself from:

git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git

I always use below link to download the xfsprogs:
git://oss.sgi.com/xfs/cmds/xfsprogs

Quoted 7 lines
Quoted 2 lines

What the difference between them? Does it mean above link has abandoned?

SGI have essentially abandoned all xfs-related infrastructure hosting. As a result the mailing list got moved to kernel.org infrastructure and the development branches as well. I'd suggest to always use the xfs repos hosted on git.kernel.org

I want to install xfsprogs to a specified path but i do not find configure but configure.ac, how can i use it?

Thanks

Quoted 16 lines
Quoted 16 lines

Thanks

Quoted 12 lines

cheers.

Quoted 6 lines

I use v4.7 xfsprogs and xfstests commit is a00c51a0.

How can i install set_encpolicy?

Thanks
Xiang

Signature · 1 line
Carlos
#5 lore raw
Quoted 5 lines · Dai Xiang
Quoted 2 lines · Nikolay Borisov
Quoted 2 lines

What the difference between them? Does it mean above link has abandoned?

(it has)

Quoted 7 lines
Quoted 4 lines

SGI have essentially abandoned all xfs-related infrastructure hosting. As a result the mailing list got moved to kernel.org infrastructure and the development branches as well. I'd suggest to always use the xfs repos hosted on git.kernel.org

I want to install xfsprogs to a specified path but i do not find configure but configure.ac, how can i use it?

# make configure
# ./configure <options>

-Eric

author
#6 lore raw
In reply to Nikolay Borisov
Quoted 30 lines · Nikolay Borisov
Quoted 27 lines · Dai Xiang
Quoted 18 lines · Carlos Maiolino

Hi,

Quoted 8 lines

Hi!

When i do test with xfstests using ext4 fs, a issue occur and do not find how to fix:

FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 local 4.13.0-rc3
MKFS_OPTIONS  -- /dev/sda8
Quoted 7 lines

MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch

ext4/024 [not run] xfs_io set_encpolicy support is missing
<===
Not run: ext4/024
Passed all 0 tests

Quoted 4 lines

set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it already, if not, you'll need to compile it by yourself from:

git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git

I always use below link to download the xfsprogs:
git://oss.sgi.com/xfs/cmds/xfsprogs

Quoted 7 lines
Quoted 2 lines

What the difference between them? Does it mean above link has abandoned?

SGI have essentially abandoned all xfs-related infrastructure hosting. As a result the mailing list got moved to kernel.org infrastructure and the development branches as well. I'd suggest to always use the xfs repos hosted on git.kernel.org

Hi, i do install as below and cp /xfsprogs to other host, i still can not get set_encpolicy:

	make configure || return
	./configure --prefix=/xfsprogs/usr --exec_prefix=/xfsprogs/usr
	make || return
	make install
	make install-dev

I git clone newest codes and HEAD is:
commit 0602fbe880e59c3aff13a081632b79532a40a328 (HEAD -> master, tag: v4.12.0, origin/master, origin/HEAD)

Author: Eric Sandeen <[email protected]>
Date:   Thu Jul 20 10:57:14 2017 -0500

xfsprogs: Release v4.12.0

Update all the necessary files for a 4.12.0 release.

Do i miss something important?

Thanks
Xiang

Quoted 16 lines
Quoted 16 lines

Thanks

Quoted 12 lines

cheers.

Quoted 6 lines

I use v4.7 xfsprogs and xfstests commit is a00c51a0.

How can i install set_encpolicy?

Thanks
Xiang

Signature · 1 line
Carlos
#7 lore raw

Hi,

Quoted 22 lines
Quoted 4 lines

SGI have essentially abandoned all xfs-related infrastructure hosting. As a result the mailing list got moved to kernel.org infrastructure and the development branches as well. I'd suggest to always use the xfs repos hosted on git.kernel.org

Hi, i do install as below and cp /xfsprogs to other host, i still can not get set_encpolicy:

	make configure || return
	./configure --prefix=/xfsprogs/usr --exec_prefix=/xfsprogs/usr
	make || return
	make install
	make install-dev

I git clone newest codes and HEAD is:
commit 0602fbe880e59c3aff13a081632b79532a40a328 (HEAD -> master, tag:
v4.12.0, origin/master, origin/HEAD)

Author: Eric Sandeen <[email protected]>
Date:   Thu Jul 20 10:57:14 2017 -0500

xfsprogs: Release v4.12.0

Quoted 9 lines

Update all the necessary files for a 4.12.0 release.

Do i miss something important?

Thanks
Xiang

No, 4.12 already has it, you are doing something else, can you run 'xfs_io -V' and confirm you are using a xfsprogs >= 4.10?

you didn't install int in the usual prefix, so, it is likely you don't have it in your $PATH and you are triggering an old xfsprogs version.

Signature · 1 line
--Carlos