linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to install set_encpolicy for xfs_io
@ 2017-08-02  8:48 Dai Xiang
  2017-08-02 11:25 ` Carlos Maiolino
  0 siblings, 1 reply; 8+ messages in thread
From: Dai Xiang @ 2017-08-02  8:48 UTC (permalink / raw)
  To: linux-ext4; +Cc: Xiang Dai

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

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

* Re: How to install set_encpolicy for xfs_io
  2017-08-02  8:48 How to install set_encpolicy for xfs_io Dai Xiang
@ 2017-08-02 11:25 ` Carlos Maiolino
  2017-08-03  1:34   ` Dai Xiang
  0 siblings, 1 reply; 8+ messages in thread
From: Carlos Maiolino @ 2017-08-02 11:25 UTC (permalink / raw)
  To: Dai Xiang; +Cc: linux-ext4

Hi,

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

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.

> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
> 
> How can i install set_encpolicy?
> 
> Thanks
> Xiang

-- 
Carlos

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

* Re: How to install set_encpolicy for xfs_io
  2017-08-02 11:25 ` Carlos Maiolino
@ 2017-08-03  1:34   ` Dai Xiang
  2017-08-03  6:27     ` Nikolay Borisov
  0 siblings, 1 reply; 8+ messages in thread
From: Dai Xiang @ 2017-08-03  1:34 UTC (permalink / raw)
  To: linux-ext4

On Wed, Aug 02, 2017 at 01:25:58PM +0200, Carlos Maiolino wrote:
> Hi,
> 
> > 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
> >
> 
> 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

> 
> cheers.
> 
> > I use v4.7 xfsprogs and xfstests commit is a00c51a0.
> > 
> > How can i install set_encpolicy?
> > 
> > Thanks
> > Xiang
> 
> -- 
> Carlos

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

* Re: How to install set_encpolicy for xfs_io
  2017-08-03  1:34   ` Dai Xiang
@ 2017-08-03  6:27     ` Nikolay Borisov
  2017-08-04  1:49       ` Dai Xiang
  2017-08-04  8:17       ` Dai Xiang
  0 siblings, 2 replies; 8+ messages in thread
From: Nikolay Borisov @ 2017-08-03  6:27 UTC (permalink / raw)
  To: Dai Xiang, linux-ext4



On  3.08.2017 04:34, Dai Xiang wrote:
> On Wed, Aug 02, 2017 at 01:25:58PM +0200, Carlos Maiolino wrote:
>> Hi,
>>
>>> 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
>>>
>>
>> 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?

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

> 
> Thanks
> 
>>
>> cheers.
>>
>>> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
>>>
>>> How can i install set_encpolicy?
>>>
>>> Thanks
>>> Xiang
>>
>> -- 
>> Carlos

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

* Re: How to install set_encpolicy for xfs_io
  2017-08-03  6:27     ` Nikolay Borisov
@ 2017-08-04  1:49       ` Dai Xiang
  2017-08-04  1:55         ` Eric Sandeen
  2017-08-04  8:17       ` Dai Xiang
  1 sibling, 1 reply; 8+ messages in thread
From: Dai Xiang @ 2017-08-04  1:49 UTC (permalink / raw)
  To: Nikolay Borisov; +Cc: linux-ext4

On Thu, Aug 03, 2017 at 09:27:34AM +0300, Nikolay Borisov wrote:
> 
> 
> On  3.08.2017 04:34, Dai Xiang wrote:
> > On Wed, Aug 02, 2017 at 01:25:58PM +0200, Carlos Maiolino wrote:
> >> Hi,
> >>
> >>> 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
> >>>
> >>
> >> 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?
> 
> 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
> 
> > 
> > Thanks
> > 
> >>
> >> cheers.
> >>
> >>> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
> >>>
> >>> How can i install set_encpolicy?
> >>>
> >>> Thanks
> >>> Xiang
> >>
> >> -- 
> >> Carlos

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

* Re: How to install set_encpolicy for xfs_io
  2017-08-04  1:49       ` Dai Xiang
@ 2017-08-04  1:55         ` Eric Sandeen
  0 siblings, 0 replies; 8+ messages in thread
From: Eric Sandeen @ 2017-08-04  1:55 UTC (permalink / raw)
  To: Dai Xiang, Nikolay Borisov; +Cc: linux-ext4

On 8/3/17 8:49 PM, Dai Xiang wrote:
> On Thu, Aug 03, 2017 at 09:27:34AM +0300, Nikolay Borisov wrote:


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

(it has)

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

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

* Re: How to install set_encpolicy for xfs_io
  2017-08-03  6:27     ` Nikolay Borisov
  2017-08-04  1:49       ` Dai Xiang
@ 2017-08-04  8:17       ` Dai Xiang
  2017-08-04  8:49         ` Carlos Eduardo Maiolino
  1 sibling, 1 reply; 8+ messages in thread
From: Dai Xiang @ 2017-08-04  8:17 UTC (permalink / raw)
  To: Nikolay Borisov; +Cc: linux-ext4

On Thu, Aug 03, 2017 at 09:27:34AM +0300, Nikolay Borisov wrote:
> 
> 
> On  3.08.2017 04:34, Dai Xiang wrote:
> > On Wed, Aug 02, 2017 at 01:25:58PM +0200, Carlos Maiolino wrote:
> >> Hi,
> >>
> >>> 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
> >>>
> >>
> >> 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?
> 
> 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 <sandeen@sandeen.net>
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.
    
    Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Do i miss something important?

Thanks
Xiang

> 
> > 
> > Thanks
> > 
> >>
> >> cheers.
> >>
> >>> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
> >>>
> >>> How can i install set_encpolicy?
> >>>
> >>> Thanks
> >>> Xiang
> >>
> >> -- 
> >> Carlos

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

* Re: How to install set_encpolicy for xfs_io
  2017-08-04  8:17       ` Dai Xiang
@ 2017-08-04  8:49         ` Carlos Eduardo Maiolino
  0 siblings, 0 replies; 8+ messages in thread
From: Carlos Eduardo Maiolino @ 2017-08-04  8:49 UTC (permalink / raw)
  To: Dai Xiang; +Cc: Nikolay Borisov, linux-ext4

Hi,

> > 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 <sandeen@sandeen.net>
> 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.
>     
>     Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
> 
> 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.

-- 
--Carlos

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

end of thread, other threads:[~2017-08-04  8:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-02  8:48 How to install set_encpolicy for xfs_io Dai Xiang
2017-08-02 11:25 ` Carlos Maiolino
2017-08-03  1:34   ` Dai Xiang
2017-08-03  6:27     ` Nikolay Borisov
2017-08-04  1:49       ` Dai Xiang
2017-08-04  1:55         ` Eric Sandeen
2017-08-04  8:17       ` Dai Xiang
2017-08-04  8:49         ` Carlos Eduardo Maiolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).