Skip to contentSkip to conversation

Question on extended attributes

DISCUSSION Yasuhiro Ohara 2 participants 3 messages Feb 22, 2013

lore
Share & tools
lore
#0 lore raw

Hi.

Can we add extended attributes on a file stored in the Ceph mounted space ? I'm running the Ceph FS using Btrfs.

The setfattr command returns Operation not supported. Is it not supported ?

regards,
Yasu

#1 lore raw
Quoted 9 lines · Yasuhiro Ohara

Hi.

Can we add extended attributes on a file stored in the Ceph mounted space ? I'm running the Ceph FS using Btrfs.

The setfattr command returns Operation not supported. Is it not supported ?

It is supported. What's the exact command that you're running? Maybe your xattr is not in a valid namespace, try doing the following:

# setfattr -n user.foo <filename>

Yehuda

#2 lore raw

It worked. Thanks :)

regards,
Yasu

From: Yehuda Sadeh <[email protected]>
Subject: Re: Question on extended attributes
Date: Thu, 21 Feb 2013 17:43:14 -0800
Message-ID: <CAC-hyiFVp7VMZyBLHMqh-HMBE77Wiktye60uj=LqZRSE7JZzhQ@mail.gmail.com>

Quoted 19 lines · Yasuhiro Ohara
Quoted 9 lines

Hi.

Can we add extended attributes on a file stored in the Ceph mounted space ? I'm running the Ceph FS using Btrfs.

The setfattr command returns Operation not supported. Is it not supported ?

It is supported. What's the exact command that you're running? Maybe your xattr is not in a valid namespace, try doing the following:

# setfattr -n user.foo <filename>

Yehuda