[Pvfs2-developers] Re: setting xattrs on pvfs2 root
Murali Vilayannur
murali.vilayannur at gmail.com
Wed Jun 27 16:24:44 EDT 2007
Hey Phil,
Sorry I forgot to get back to you on this..
No I don't think this would work.
It is a kernel module issue that I hadnt tracked down fully..
Do you need this feature?
thanks,
Murali
On 6/27/07, Phil Carns <pcarns at wastedcycles.org> wrote:
> Just pinging on this one again- has any one else bumped into this problem?
>
> -Phil
>
> Phil Carns wrote:
> > It looks like pvfs2 does not allow you to set xattrs on the root
> > directory. Is this expected?
> >
> > # checking the mount options:
> >
> > > mount -t pvfs2
> > tcp://localhost:3334/pvfs2-fs on /mnt/pvfs2 type pvfs2 (rw,user_xattr)
> >
> > # confirming that xattrs can be set on a normal directory:
> >
> > > setfattr -n user.pvfs2.num_dfiles -v "1" /mnt/pvfs2/dir1
> > > getfattr -n user.pvfs2.num_dfiles /mnt/pvfs2/dir1
> > getfattr: Removing leading '/' from absolute path names
> > # file: mnt/pvfs2/dir1
> > user.pvfs2.num_dfiles="1"
> >
> > # trying to set xattrs on the root directory:
> >
> > > setfattr -n user.pvfs2.num_dfiles -v "1" /mnt/pvfs2
> > setfattr: /mnt/pvfs2: Operation not permitted
> > > getfattr -n user.pvfs2.num_dfiles /mnt/pvfs2
> > /mnt/pvfs2: user.pvfs2.num_dfiles: No such attribute
> >
> > All of the above is run as root. I don't think it is anything special
> > about the num_dfiles attribute either; it looks like I can't set any
> > xattrs on the root directory. It always responds with "Operation not
> > permitted".
> >
> > -Phil
> >
>
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>
More information about the Pvfs2-developers
mailing list