We have begun to experience a problem where two users accessing the same file at the same time are being allowed to do so with full write permission. The result is that two versions of the file appear on the server.
It used to be that if a file was being accessed by one user the second user would be told that the file was available as read-only.
The only thing that has changed is that one of the two users that are seeing this problem is now working remotely using QSYNC. We never saw this problem when the two users were accessing the server via the office network.
Any ideas of how I might be able to achieve the old style of behaviour?
Thanks in adavnce.
issue with two users opening the same file
-
- New here
- Posts: 3
- Joined: Tue Feb 09, 2010 10:08 am
-
- Guru
- Posts: 13191
- Joined: Sat Dec 29, 2007 1:39 am
- Location: Stockholm, Sweden (UTC+01:00)
Re: issue with two users opening the same file
That mean they're effectively working on different files and creating different versions of it, which Qsync then according to configured settings try to synchronize.
Access the shared folder directly instead of by using Qsync.Any ideas of how I might be able to achieve the old style of behaviour?
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
- dolbyman
- Guru
- Posts: 35243
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: issue with two users opening the same file
use a vpn ...exposing any qnap part to the open web is asking for trouble
so forget about qsync(and stop forwarding any ports to the nas) and setup a vpn server (on firewall or dedicated appliance)
so forget about qsync(and stop forwarding any ports to the nas) and setup a vpn server (on firewall or dedicated appliance)
- spile
- Been there, done that
- Posts: 641
- Joined: Tue May 24, 2016 12:13 am
Re: issue with two users opening the same file
Context is everything.
Where in this thread is there mention of using QSync (a tool I can recommend as is Freefile sync) in a non-lan environment?
Where in this thread is there mention of using QSync (a tool I can recommend as is Freefile sync) in a non-lan environment?
-
- Guru
- Posts: 13191
- Joined: Sat Dec 29, 2007 1:39 am
- Location: Stockholm, Sweden (UTC+01:00)
Re: issue with two users opening the same file
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
- spile
- Been there, done that
- Posts: 641
- Joined: Tue May 24, 2016 12:13 am
Re: issue with two users opening the same file
Ahh. Good point but the use of a file sync utility such as QSync or FreeFile sync is not inherently unsafe.
-
- Guru
- Posts: 13191
- Joined: Sat Dec 29, 2007 1:39 am
- Location: Stockholm, Sweden (UTC+01:00)
Re: issue with two users opening the same file
No they aren't.
But file sync tools aren't good solutions when there's a risk that users can update the same files concurrently in different locations.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
- spile
- Been there, done that
- Posts: 641
- Joined: Tue May 24, 2016 12:13 am
Re: issue with two users opening the same file
- dolbyman
- Guru
- Posts: 35243
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: issue with two users opening the same file
Qsync uses port 8080 to connect to the NAS via port forwarding ... never a good idea to forward anything to the NAS directly. And port 8080 is a prime suspect for fingerprinting and subsequent exploit based hacks
- spile
- Been there, done that
- Posts: 641
- Joined: Tue May 24, 2016 12:13 am
Re: issue with two users opening the same file
So rather than ditching a useful sync app, just turn off upnp and manual port forwards then.
-
- Guru
- Posts: 13191
- Joined: Sat Dec 29, 2007 1:39 am
- Location: Stockholm, Sweden (UTC+01:00)
Re: issue with two users opening the same file
Ditching the app that is inappropriate for the use case and that causes the problems that is the topic of this thread seem very appropriate to me.
dolbyman added that any open port forwards had better be closed and that using a remote access VPN solution would be the best. I agree with that as that would also be the only secure way forward to accessing the NAS directly, as was my suggested solution for the OP.
If you disagree with our advice for the OP, then please suggest the solution that you think would help her/him better in the concurrent file usage situation that is the use case here.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!