pvfs2-xattr - Man Page

pvfs2-xattr – set or view extended attributes

Synopsis

pvfs2-xattr [-s] [-k key] [-v val] [-t] filename

Description

The pvfs2-xattr utility either sets or creates extended attributes.  The -s and -t options are mutually exclusive.

The options are as follows:

-s

Set an extended attribute

-k

Specify the key.  This must start with the prefix user..

-v

Specify the value.

-t

Display an extended attribute.

Environment

PVFS2_DEBUGFILE

If set to the path of a local file, redirect debug output to it.

PVFS2_DEBUGMASK

Set the OrangeFS debug mask.  Possible masks are documented in pvfs2-set-debugmask(1).

PVFS2TAB_FILE

If set, the full pathname for an alternate pvfs2tab file

Files

/etc/pvfs2tab

Examples

Set an attribute on /mnt/foo.

pvfs2-xattr -s -k user.a -v bar /mnt/foo

Display the same attribute on the same file.

pvfs2-xattr -k user.a -t /mnt/foo

Bugs

Please submit bug reports to pvfs2-developers@beowulf-underground.org

See Also

pvfs2tab(5)

Info

2017-08-14