Re: xattr support in NFS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2012-11-14 at 11:47 +0100, Tigran Mkrtchyan wrote:
> That's bad news.... Currently we use 'magic files' to set/get user
> specific metadata like number of events, space reservation    and
> different file retention policies. The hope was that all could be done
> with named attributes.
>
>  Tigran.
>  

The setting and querying of retention policies is already covered in the
NFSv4.1 protocol without any need for any additions. Space reservation
is already covered in NFSv4.2 (as are security labels - another common
hobby-horse for xattr advocates). Why don't you implement those instead
of wishing for a completely different way of doing the same thing?

Your argument demonstrates precisely why we should never do xattrs over
NFS. It makes it way too easy to go off and invent your own private and
non-standard protocol for doing ioctl()-like RPC calls.

> On Tue, Nov 13, 2012 at 8:54 AM, DENIEL Philippe
> <philippe.deniel@xxxxxx> wrote:
>         A few years ago, SGI tried to promote "NFS3 XATTR", an
>         extension to NFSv3 to add xattr support. It roughly added 3
>         functions to the protocol (GETXATTR, SETXATTR, LISTXATTR), in
>         a similar way as what 9p.2000L does. Nothing but IRIX had this
>         NFSv3 feature. As far as I know, it remained quite exotic and
>         stayed a SGI's thing.
>         
>            Philippe
>         
>         Matt W. Benjamin a écrit :
>         
>                 Can you restate reasoning why it will never do so, and
>                 whether this is the same as saying it will never
>                 implement named attributes?
>                 
>                 Thanks,
>                 
>                 Matt
>                 
>                 ----- "Trond Myklebust" <Trond.Myklebust@xxxxxxxxxx>
>                 wrote:
>                 
>                   
>                         No. We will never support xattrs over NFS.
>                         
>                             
>                                 -----Original Message-----
>                                 From: linux-nfs-owner@xxxxxxxxxxxxxxx
>                                 [mailto:linux-nfs-
>                                 owner@xxxxxxxxxxxxxxx] On Behalf Of
>                                 Tomasz Chmielewski
>                                 Sent: Monday, November 12, 2012 10:14
>                                 AM
>                                 To: linux-nfs@xxxxxxxxxxxxxxx
>                                 Subject: xattr support in NFS?
>                                 
>                                 Does Linux support xattr in NFS?
>                                 
>                                 IF tries using it in both NFS3 and
>                                 NFS4 under Debian Lenny (2.6.32,
>                                       
>                         both
>                             
>                                 server and client), without success.
>                                 
>                                 # setfattr -n user.comment -v "this is
>                                 a comment" /mnt/nfs
>                                 setfattr: /mnt/nfs: Operation not
>                                 supported
>                                 
>                                 
>                                 --
>                                 Tomasz Chmielewski
>                                 http://blog.wpkg.org
>                                 --
>                                 To unsubscribe from this list: send
>                                 the line "unsubscribe linux-nfs"
>                                       
>                         in the
>                             
>                                 body of a message to
>                                 majordomo@xxxxxxxxxxxxxxx More
>                                 majordomo info
>                                       
>                         at
>                             
>                                 http://vger.kernel.org/majordomo-info.html
>                                       
>                         N�����r��y���b�X��ǧv�^�)޺{.n�
>                         +����{���"��^n�r���z���h����&���G���h�(�階
>                         �ݢj"���m�����z�ޖ���f���h���~�m�
>                             
>                 
>                   
>         
>         --
>         To unsubscribe from this list: send the line "unsubscribe
>         linux-nfs" in
>         the body of a message to majordomo@xxxxxxxxxxxxxxx
>         More majordomo info at
>          http://vger.kernel.org/majordomo-info.html
>         
> 
> 

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux