I'm not sure if I got your question.. Do you store both data and backup on NAS? Is /tmp mapped to nas?
Yes, delete operation over NAS can be very fast. You will only notice difference for large size files and overloaded network. NAS disks rotate at higher speed and works in RAID to improve I/O.
NAS folders are mounted using NFS or SMB or other supported protocol. If you delete a file from mounted directory, it will get deleted. Backup is only solution. Take regular backup.
Quote:
The folders in theory were not hard linked I would like to know if anybody has ever had a similar experience and if it is well known that this can happen because I fail to see why deleting temporary files related to past backups should also delete the remote files on a NAS ... without warning.
Thanks for any suggestions
|
No it should not delete files but I can think of few possiblities:
- /tmp is mapped wih nas over NFS or CIFS.
- /tmp is monitored using script and events. A cutomemade script watches the filesystem for specified changes and executes the relevant commands.
- Linux also allows to map same shared nas directory. So you can have it mapped to /tmp and /data.. run mount command to see connection.
HTH
__________________
Vivek Gite
Linux Evangelist

Be proud
RHEL user, and let the world know about your enterprise choices!
Join RedHat user group.

Always use
CODE tags for posting system output and commands!

Do you run a Linux? Let's face it,
you need help