Just a few notes on maintaining QNAP (nas04, 192.168.122.132) storage.
Access the Web interface or ssh admin@nas04 from ncc1711. The storage has the “Recycle bin” functionality in use for some filesystems. Over time these “@Recycle” special folders tend to fill up the storage volume. They need to be cleaned once in a while. Run the following command to identify these folders:
|
1 |
/opt/bin/find /share/CACHEDEV1_DATA -maxdepth 2 -type d -name "@Recycle" -exec du -sh {} \; |
A known disk hog location can be cleaned up like so:
|
1 |
/opt/bin/find /share/CACHEDEV1_DATA/backups/@Recycle -type f -mtime +30 -print0 | /opt/bin/xargs -0 -P4 -n5 /bin/rm |