Hi Yogi
This has to do with GRsync, Mount, & Umount.
A brief history. I was never able to PUT a file from my computer to a Remote Computer. The only way we could get my data on a Remote Computer was to use the Remote Computer to FETCH the data.
E.g. Computer A (my office) TO Computer B (in house) always failed for some reason. But Computer B FROM Computer A always worked without errors.
OK - An IT guy stopped by my house the other day and got everything working just fine. Sorta.
This is from my Linux computers in the office, using GRsync to an external Hard Drive connected to my wife's Windows XP computer in the house. This part was working fine, and still is working, but I have created a new problem.
To start with, in order to get GRsync to work, naturally you have to mount the remote Hard Drive.
Mounting the shared folder from the external hard drive worked like a charm.
The shared folder, 2015OffSiteStorage appeared in the /mnt folder on my computer, so was accessible to GRsync and synced perfectly with the external drive at the house.
I also use GRSync to copy to my local USB hard drive, I've never had a problem with anything local.
HERE is where my new problems began.
I have a 1 terrabyte drive IN a computer up here in my office, using only about 100 gigs for an OS partition. I created 750 gig partition I named DataStorage, and inside this I created a shared folder named 2015OnSiteStorage, so far so good.
The umount /mnt/2015OnSiteStorage or unmount /mnt2015OffSiteStorage always gives the error message, the above names, not mounted according to mtab. I can see they are mounted, and if I open a shared file copy on my desktop and copy to it, it appears in the /mnt folder as well, so it's live and synced. This is confusing enough.
But here is the problem I am writing to ask you about.
I manually move both of the above named files to trash so they are NOT in /mnt, and the /mnt folder is empty.
OK, I Mount the folder 2015OnSiteStorage, then use GRSync to copy files to it. They appear in this folder on the expected computer. But here is the surprise. I open the external hard drive on the remote computer down at the house, and there is the 2015OnSiteStorage folder, using up almost all of the space on that hard drive, since it was a large file, and this is only a 200 gig drive.
How can RSync write to a folder not named in the path?
Since I can't unmount, I moved the 2015OnSiteStorage folder from /mnt to TRASH.
When I ran GRSync to copy the files I place in 2015OffSiteStorage, I found it also copied the files to my 1 terrabyte drive. These computers have DIFFERENT IP address, and I use the IP address to Mount the folders.
I called my IT guy and he said what is happening is totally impossible.
I gave him a copy of how I have GRSync set up, ever button turned on or off.
And the information from several codes he had me type in Terminal.
I was looking on-line and found several folks who have had this problem in the past.
GRSync or RSync writing to ALL of their mounted shared folders, even when they are unmounted.
Do you have any idea of what's going on here?
Yes I know I should be using NSF for the Linux to Linux, but must use CIFS for Windows machine.
I've tried using the / behind file names, this just produces a second folder inside the first.
This is what I use in Terminal to mount the remote hard drives over the LAN to /mnt.
sudo mount -t cifs //192.168.1.12/2015OffSiteMirror /mnt -o username=gary,file_mode=0777,dir_mode=0777
sudo mount -t cifs //192.168.1.14/2015OnSiteMirror /mnt -o username=gary,file_mode=0777,dir_mode=0777
They mount just fine, but as I said, won't unmount using umount.
umount /mnt/2015OnSiteMirror Always says it is not mounted by mtab.
My Destination in GRSync is /mnt/2015OnSiteMirror/
or the alternate session /mnt/2014OffSiteMirror/
It does not matter if I manually remove to TRASH the folder in /mnt I don't want written to, it still gets written to.
HELP!
Thanks Yogi
TTUL
Gary