Is it possible to move an image stored on fog local server, to an external nfs storage
-
I think I’m loosing my mind, I’m sure this was a recent discussion, but I can’t seem to find it.
Yes you can do this manually with FTP. For FOG to do this with built in replication, both the master node and storage node need to be in the same storage group.
What is your logic for not placing both nodes (master and slave) in the same storage group?
-
@george1421 i think the reason is (for me it is) my master has little storage only 50GB and the Storage Node has 4TB. When i put both in a group i have very quick a full master storage.
Regards X23
-
Just speaking without putting to much thought into it.
The location plugin with the external storage node should do it. Basically you will have two locations one for images on the master node and one for images on the storage node. Understand target hosts can only be members of a single location. So what ever location you allocate them to, will decide what storage node they use. Its not a real clean solution but it might work. But I think I would still just add more disk space to the master node and not mess with this dual storage device setup.
-
@x23piracy if your fog server only has 50 GB, sounds like you used fedora or CentOS and didn’t customize the partitioning?
-
@Wayne-Workman no it was never planned bigger than this, for more storage i have the 4TB storage node. it’s Ubuntu 14.04.4 on VMWare Esx 5.5, the storage node is a physical server.
Regards X23
-
While I hear what you are saying, but IMO it would be much easier in the long run to just add a new vmdk file to your virtual server and store your images there. Then you don’t have to mess with the cross species storage node.
https://forums.fogproject.org/topic/6642/moving-fog-s-images-files-off-the-root-partition
-
@george1421 sorry george but that is not my problem. i am doing this for work and my boss is an idiot. Should i need to say more? What is missing is storage for the VM’s. I don’t know why my boss is doing IT he has not a hunch from it.
In one hand they throw money out of the window and in the other hand they would give a shit for it stuff. Sorry for being loud
But you are right, in normal i would take one big machine
Regards X23
-
Hi guys.
X23Piracy, i have the same setup than you, 150gb for fog partition, then 1TB to store images. Thats my logic ^^
George, sorry but i don’t understand what u said with “location plugin”.
I tried to simply copy .img files on my storage server, (with CP) but FOG didn’t recognize it in webgui, and besides , it would have really surprised me^^ -
@arnaudrigole said in Is it possible to move an image stored on fog local server, to an external nfs storage:
George, sorry but i don’t understand what u said with “location plugin”.
I tried to simply copy .img files on my storage server, (with CP) but FOG didn’t recognize it in webgui, and besides , it would have really surprised me^^Location plugin: There are add on modules you can use with fog (not part of the core fog program but is part of the fog capabilities) you can install. The location plugin is one such module. This location plugin extends the base fog server to understand the concepts of location (or logical grouping of storage nodes and target computers). This way you can make computer A only talk to storage node A and maybe not storage node B at another site.
What you guys are trying to do is not part of FOG itself. You are trying to augment (add to) FOGs internal storage with an external device. You want to make a transparent connection with NFS between your fog storage and the external NAS server. This is NOT a FOG issue but a linux/nfs issue where you can not share out a nfs mounted share on your fog server. The storage node doesn’t work as I think you want it to. A FOG Storage Node is typically complete/independent fog server but acts as a slave to the master node. You can make a Windows server work mostly like a FOG (linux) Storage Node, but it still will not add to the available space of your master node.
What you need a block level network device you can add to your FOG server like an ISCSI target from a SAN/NAS device.
-