LFS-PCC-PIN-UNPIN(1)

NAME
lfs-pcc-pin,lfs-pcc-unpin - set or clear pcc pin flag on Lustre file

SYNOPSIS
lfs pcc pin [--id|-i ID] <FILE...>
lfs pcc unpin [--id|-i ID] <FILE...>

DESCRIPTION
Set/Clear flag on a lustre file so that it cannot or can be removed from local cache storage by lpcc_purge.

OPTIONS

--id|-i
    The ARCHIVE ID to be pinned or un-pinned. If ID is not specified, use the first archive attached to the mounted filesystem by default.

EXAMPLES

$ lfs pcc pin -i 2 /mnt/lustre/file
    Set pcc pin flag on file /mnt/lustre/file for archive ID 2 so that once it is copied to local cache storage, it will not be removed automatically by lpcc_purge.

$ lfs pcc unpin -i 2 /mnt/lustre/file
    Clear pcc pin flag on file /mnt/lustre/file for archived ID 2 so that if it is in local cache storage, it can be removed automatically by lpcc_purge.

SEE ALSO
lfs(1),
    lfs-pcc(1), llapi_pcc_attach(3) lfs-pcc-detach(1), lfs-pcc-state(1),