| 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 | |