OS Manuals

llapi_pccdev_set(3)

llapi_pccdev_set - Add/delete a PCC backend on a client

LLAPI_PCCDEV_SET(3) Lustre Library Functions LLAPI_PCCDEV_SET(3)

llapi_pccdev_set - Add/delete a PCC backend on a client

#include <lustre/lustreapi.h>
int llapi_pccdev_set(const char *path, const char *cmd);

The function llapi_pccdev_set() adds or deletes a PCC backend on the client with the mount point referenced by path. The input argument cmd could be in the following forms:

"add $PCCPATH $PARAM"
Add a PCC backend referenced by the HSM root path $PCCPATH.
"del $PCCPATH"
Delete a PCC backend referenced by the HSM root path $PCCPATH.
"clear"
Clear and remove all PCC backends on a client.

llapi_pccdev_set() return 0 on success or a negative errno value on failure.

Insufficient memory to complete operation.
Memory region is not properly mapped.
One or more invalid arguments are given.
PCC backend operation is not supported.

llapi_pccdev_set() is part of the lustre(7) user application interface library since release 2.13.0

lustreapi(7)

2024-08-28 Lustre User API

lustre 2.17.59-r2 · enterprise-packages · ingested 2026-10-11