I would like add a new hdd ...
-
@afaure I think I have what you want working in my test lab. I will work on proving it works tonight and then create a tutorial on how to do this in your environment. There were no secrets uncovered, it just worked once all of the bits were put in place.
-
Hi @george1421
Ok i waiting your tutorialThanks !!
-
@afaure Sorry. I finished it last week, but forgot to post a link here. https://forums.fogproject.org/topic/10450/adding-additional-image-storage-space-to-fog-server
It did install correctly and work as expected. The first post talks about setting up the operating system and the second post shows what FOG settngs are needed.
-
@george1421 Thanks for the tuto.
For information, I just updated the FOG !
I can select my new storage but i have a problem of permission !!I reading your documentation and post the result later !!
Big thanks @george1421
-
@afaure Well, lets hold the thanks for a little while. I just LOOKED at the proof of concept server again AND the capture image IS going to /images and not /images2!!!
On the negative side my tutorial does not work as intended. On the plus time I can duplicate your results exactly. Which is VERY strange since I saw (and posted in the tutorial) that partclone was saying it was copying to /images2/dev. I’m going to duplicate the test since the environment is still setup from last week to confirm. If I can confirm for sure that things are not working right I’ll ask the developers to take a second look at the FOG code since things don’t “appear” to be doing what we are telling them.
-
What you are seeing has been confirmed and I can duplicate it over and over. I have issued a bug check with the developers.
-
@george1421 The developers got back with me and there was a flaw in what I did with the instructions. By simply copy and pasting the nfs exported filesystem I introduced the error.
In the exportfs file the following was the incorrect instructions.
- Append the following lines to the end of the exports file
/images2 *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /images2/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
The
fsid
value should have been incremented to not duplicate thefsid
for two shares on the same server. So for the /images2 share thefsid
should be3
and /images2/devfsid
should be4
. The correct line should be this:/images2 *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=3) /images2/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=4)
-
Thanks @george1421 i have try this.
I have an error at the endWhere are you ftp_login
Thanks for the next reply
-
@afaure On the second storage node that’s connected to the same server, you need the same management username and password as the original server has.
-
@Tom-Elliott thanks.
The same user/password is used on the configuration node.
I have inspect the box with management password.
I have copy/paste the password -
@afaure In your case (as Tom posted) your ftp managmeent password is wrong.
In step 6 of the tutorial, ensure the management user name and password are set correctly. You can find out the answers there if you review the /opt/fog/.fogsettings file.
-
@george1421 i have been used the same username/password for the node by default.
I have create a new image/association with PC and NOW it’s WORKS !!!
A big thank you dude ! It’s DONE !
Thanks everyone !
-
@afaure Really nice. I needed to write that tutorial for a while now. With your motivation its now done and works!!
-
@george1421 ahah thanks really
I will be back soon (tomorrow) for a new thread
I used FOG since 3 years and this solution is beautiful !@george1421 thank you so much
Have a good night