| | 1 | [[PageOutline]] |
| | 2 | |
| | 3 | == Data Retention on Lustre == |
| | 4 | |
| | 5 | Your can lose access to your data on Lustre in either of the following ways. |
| | 6 | |
| | 7 | 1. You fail to read the data for at least one year - with the exceptions of any (relative path) directories **opt** and **conda-envs**. |
| | 8 | |
| | 9 | 2. The user ID of Principal Investigator (PI) associated with the data is no longer active. |
| | 10 | |
| | 11 | === Data inactivity after 1 year === |
| | 12 | |
| | 13 | If any given data on Lustre has not been read in 1 year or more - with the exceptions of directories **opt** and **conda-envs**, then the owner and their PI will receive an email notification regarding data inactivity with a 30-day response window before data access removal. All access to the given data will be removed for 30-days prior to purging. (For example, see last access times in the results of the commands **ls -l --time-style=iso** and **man ls**.) |
| | 14 | |
| | 15 | |
| | 16 | Afterward, within the 30-day period, you can submit a request for [https://tulane.service-now.com/tulaneit?id=sc_cat_item&sys_id=277b5905db004c10e8ce5bd2ca961945&sysparm_category=8d648d93dbc44c10f460562bdc9619ad&catalog_id=-1| Cypress HPC Consultation] to have access to your data on Lustre restored. Your request will be completed subject to the approval of your Principal Investigator (PI). |
| | 17 | |
| | 18 | === Inactive Tulane Status of Principal Investigator === |
| | 19 | |
| | 20 | If the Tulane email/LDAP status of the PI associated with any given data on Lustre has become “inactive”, then action similar to the above will be taken for the given data on Lustre. |
| | 21 | |
| | 22 | For further assistance, please submit a request for [https://tulane.service-now.com/tulaneit?id=sc_cat_item&sys_id=277b5905db004c10e8ce5bd2ca961945&sysparm_category=8d648d93dbc44c10f460562bdc9619ad&catalog_id=-1| Cypress HPC Consultation]. |
| | 23 | |
| | 24 | === How to check for older files === |
| | 25 | |
| | 26 | To obtain the ages of all files in your group's directory under /lustre/project, you'll need read permissions for all of the (sub)directories containing those files. |
| | 27 | |
| | 28 | === lfs find === |
| | 29 | |
| | 30 | You can use the following command on Cypress to determine those files and subdirectories in your group's directory under /lustre/project for which the access time is (1) year (equivalently 365 days) or more. |
| | 31 | |
| | 32 | {{{ |
| | 33 | # this can fail due to lack of read permissions |
| | 34 | lfs find --atime +365 /lustre/project/<group-id> |
| | 35 | }}} |
| | 36 | |
| | 37 | where <group-id> denotes your group-id - same as the Principal Investigator’s Tulane ID. |
| | 38 | |
| | 39 | In case you encounter a read permission error, the above command will abort before finishing. |
| | 40 | |
| | 41 | The resulting output will include the file path of the offending directory as well as the |
| | 42 | following error message. |
| | 43 | |
| | 44 | {{{ |
| | 45 | error: find failed for /lustre/project/<group-id> |
| | 46 | }}} |
| | 47 | |
| | 48 | For assistance with this error and read permissions, you can submit a request for [https://tulane.service-now.com/tulaneit?id=sc_cat_item&sys_id=277b5905db004c10e8ce5bd2ca961945&sysparm_category=8d648d93dbc44c10f460562bdc9619ad&catalog_id=-1| Cypress HPC Consultation] |
| | 49 | |
| | 50 | === (Linux) find === |
| | 51 | |
| | 52 | Alternatively, to find older files you can use the Linux [[cypress/BasicLinuxComands#find|find]] command as in the following - using the -ls option to include dates of last access, etc. in the result. |
| | 53 | |
| | 54 | {{{ |
| | 55 | # this can be incomplete due to lack of read permissions |
| | 56 | find /lustre/project/<group-id> -atime +365 -ls |
| | 57 | }}} |
| | 58 | |
| | 59 | In case you encounter a read permission error, the above command will abort before finishing. |
| | 60 | |
| | 61 | The resulting output will include the file path of the offending directory as well as the |
| | 62 | following error message. |
| | 63 | |
| | 64 | {{{ |
| | 65 | Permission denied |
| | 66 | }}} |
| | 67 | |
| | 68 | For assistance with this error and read permissions, you can submit a request for [https://tulane.service-now.com/tulaneit?id=sc_cat_item&sys_id=277b5905db004c10e8ce5bd2ca961945&sysparm_category=8d648d93dbc44c10f460562bdc9619ad&catalog_id=-1| Cypress HPC Consultation] |
| | 69 | |