Rsync and open files

Matt Miller m.miller at duke.edu
Mon Aug 2 19:16:21 GMT 2004


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 at molex.com
>> john.adams at 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


More information about the rsync mailing list