OS Manuals

lfs-pcc-pin(1)

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

LFS-PCC-PIN(1) Lustre User Utilities LFS-PCC-PIN(1)

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

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

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

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.

Set PCC pin flag on file /mnt/lustre/file for archive ID 2 so that once copied to local cache, it will not be removed automatically by lpcc_purge:

$ lfs pcc pin -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:

$ lfs pcc unpin -i 2 /mnt/lustre/file

The lfs pcc pin command is part of the lustre(7) filesystem package since release 2.17.0.

lfs(1), lfs-pcc(1), lfs-pcc-attach(1), lfs-pcc-detach(1), lfs-pcc-state(1), llapi_pcc_attach(3), mdt.enable_pin_gid(4)

2026-03-19 Lustre

lustre 2.17.60-r0 · enterprise-packages · ingested 2026-10-22