I'm trying out GeoDrive on a Linux client server and after getting everything installed and working I'm left with a couple of questions.
1. When I store a file on my geodrive mount I end up with three copies, the original one lets say /root/file1, the one on the geodrive mount lets call it /geodrive1/file1 and one in cache which would be /var/local/geodrive/.../cache/file1. Even after waiting a few hours, I don't see the file being stubbed, at least, it's still taking up the same amount of space.
This is my geodrive's mount point's config:
The way I thought it would work is you copy a file to your geodrive mount and in 30 seconds that file would be uploaded to the Atmos server and the file in cache would be stubbed after 45 seconds.
2. I created a geodrive mount, stored a file on it, confirmed that the file was copied to the atmos server, then I removed my geodrive. Next I checked the atmos server and the file was still there. So, I thought I'd be able to access it again by making another geodrive drive with the same information. But when i did that I no longer see file1. I copied file2 to the new geodrive and it went to the storage, so now I have file1 and file2 on the storage, but I can only see file2 on the geodrive. Shouldn't I be able to see anything i have in storage? What if I want to upload/download the same files from different servers? I'm sure I'm missing something here.
Anyway, if anyone can help with these questions I'd really appreciate it. I think I'm just missing something in the configuration somewhere but I'm unsure where to look.
Next, I unmounted the /geodrive with the geodrivecfg tool and changed the timeout settings to match what I posted before, then remounted it with geodrivecfg.
3. Next I copied the geodrive install file to /geodrive1.
4. After waiting a few minutes I used the firefox plugin to verify that the file was copied to the cloud storage. It was there in a folder called GeoDriveTest1.
Questions:
1. At this point, if I do a 'geodrivecfg --delete' on server1's /geodrive1 how do I get it back? What I was doing was repeating the 'geodrivecfg --add' command I had a few lines up, which gets me access to the same folder but I can not see the file I previously uploaded.
2. What do I need to do on server2 to mount /geodrive1 and see the file that server1 uploaded? If I use the same 'geodrivecfg --add' command I had used on server1, I get access to the same folder but I can not see the file I previously uploaded.
bill_dgx
1 Rookie
•
5 Posts
1183
0
Posted January 4th, 2012 08:00
What I did:
1. Installed geodrive to two freshly built 5.6 vms.
2. On server1 I ran this command:
geodrivecfg --add --mount-point /geodrive1 --cloud-server 10.209.82.232:80 --subtenantid mySubTenantid --uid GeoDriveTest1 --shared-secret mySharedSecret --root /GeoDriveTest1/
Which gave me:
[root@server1]~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_root-lv_root
14G 2.6G 11G 21% /
/dev/mapper/vg_root-lv_tmp
2.0G 68M 1.8G 4% /tmp
/dev/sda1 190M 17M 164M 10% /boot
tmpfs 24G 0 24G 0% /dev/shm
fuse 14G 2.6G 11G 21% /geodrive1
Next, I unmounted the /geodrive with the geodrivecfg tool and changed the timeout settings to match what I posted before, then remounted it with geodrivecfg.
3. Next I copied the geodrive install file to /geodrive1.
4. After waiting a few minutes I used the firefox plugin to verify that the file was copied to the cloud storage. It was there in a folder called GeoDriveTest1.
Questions:
1. At this point, if I do a 'geodrivecfg --delete' on server1's /geodrive1 how do I get it back? What I was doing was repeating the 'geodrivecfg --add' command I had a few lines up, which gets me access to the same folder but I can not see the file I previously uploaded.
2. What do I need to do on server2 to mount /geodrive1 and see the file that server1 uploaded? If I use the same 'geodrivecfg --add' command I had used on server1, I get access to the same folder but I can not see the file I previously uploaded.