anyone happen to know how NetApp's DataONTAP handles open files?
matt On Aug 2, 2004, at 3:04 PM, Jim Salter wrote:
Rsync does not handle open files. Your operating system does. Either the OS allows rsync access, or it doesn't. Quick crib sheet:
Normal behavior for *BSD or Linux systems: the root user has access to any file, at any time. Non-root users may or may not, depending on system configuration, but in my experience read-only use of open files is nearly always permissible on these systems, in the absence of special preparation otherwise (custom FLOCK, etc).
Win32 systems: These systems DO NOT allow access to open files, even for reading. Even if you are asking under Administrator or LOCALSYSTEM credentials. There is a workaround, but it costs a lot of money (approximately $850 last time I checked): the St. Bernard Open File Manager. The aforementioned app will allow you access to files which are currently under a no-read lock; without it, rsync just throws an error, skips the file, and moves on to the next one in queue.
HTH.
Jim Salter JRS Systems
I didn't see this answered in the FAQ, and it's important to one of my application owners.
How does RSYNC handle open or write in process files?
Thank you!
J
jadams@molex.com john.adams@molex.com
CONFIDENTIALITY NOTICE: This message (including any attachments) may contain Molex confidential information, protected by law. If this message is confidential, forwarding it to individuals, other than those with a need to know, without the permission of the sender, is prohibited.
This message is also intended for a specific individual. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message or taking of any action based upon it, is strictly prohibited.
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Matt Miller IT Infrastructure Duke - Fuqua School of Business