FOG 1.2.0 on Ubuntu 12.04 LTS but now want to add Windows 2012 NFS nodes, can't get it working please help!
-
Hi ch3i!
I’m not that sure what you mean by the NFS exports configuration and don’t really know how to test the NFS connection to be honest?
-
AFAIK the syncing is done via FTP (working for you) but image upload is done via NFS (not working for you).
As ch3i suggested try testing NFS connection: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS#Testing_NFS
In FOG 1.2.0 starting a debug session works a little different. Select one of your clients to test NFS with. Select “Basic Tasks” and the “Debug”. Boot up the client or wait till it comes up by wake on LAN. When you get to the linux shell prompt you can go ahead with the commands in the wiki article. Creating the test.txt file is just a little differnt on your Windows Server but I guess you can make this up yourself.
-
Thanks for the testing guide, however I have just discovered what I think is a massive issue…
I just went to create the txt file for debug in terminal and got: bash: /images/test.txt: Permission denied
And then looked at the File System under File Explorer and see the “images” folder has a padlock on it!
AND all my images have gone…oooouch OMG!
They have all vanished, please help?
-
And just tried to image a box and get this:
-
Can someone help please? Have I lost everything?
-
Your post has been open for a total period of 2 hours. We are all doing this work for free. I understand the need to get this fixed, but you must not expect us to just drop for you.
That said, the fact that all of the information you’re seeing is stating “Permission Denied” have you ensured the permissions are set and correct? Have you ensured that the FTP User has the correct permissions? Have you ensured the NFS has the correct permissions?
-
Hi Tom, sorry I’m just panicking now, did you see my last post? its seems I have lost all my images
-
@Kevin-Talbot said:
Hi Tom, sorry I’m just panicking now, did you see my last post? its seems I have lost all my images
Please post the result of :
ls -lhart /images
Edit : using a terminal/ssh connection on your FOG server.
-
root@fog-server:~# ls -lhart /images
total 8.5K
-rwxrwxrwx 1 4294967294 4294967294 0 Mar 2 2015 .mntcheck
drwxr-xr-x 25 root root 4.0K Sep 11 15:30 …
drwxrwxrwx 2 4294967294 4294967294 64 Sep 15 10:18 dev
drwxrwxrwx 2 4294967294 4294967294 4.0K Sep 15 10:19 .
root@fog-server:~# -
@Kevin-Talbot said:
root@fog-server:~# ls -lhart /images
total 8.5K
-rwxrwxrwx 1 4294967294 4294967294 0 Mar 2 2015 .mntcheck
drwxr-xr-x 25 root root 4.0K Sep 11 15:30 …
drwxrwxrwx 2 4294967294 4294967294 64 Sep 15 10:18 dev
drwxrwxrwx 2 4294967294 4294967294 4.0K Sep 15 10:19 .
root@fog-server:~#All of your nodes are syncing ? It’s the same storage group ?
-
I got them to sync yes by adding the windows node to the default storage group but then I moved the windows node to a seperate storage group. I then attempted to upload an image to the windows node but it didn’t work, that was where I was stuck.
However, the bigger problem is I seem to have lost all my images on the fog server, there is a padlock on the “images” folder?
-
Teamviewer? Maybe between @ch3i and myself?
-
just need to get my images back now or are they lost forever
-
@Kevin-Talbot Teamviewer? Maybe between @ch3i and myself?
-
yes Tom that would be great!!! I know very little about Linux unfortunately!
-
This post is deleted! -
@Kevin-Talbot I’ve deleted your post… security. Please use PM.
-
/images was not gone. The windows NFS share was mounted on top of the /images folder. No data was lost. Unmounted and bam all the images were back.
-
@Kevin-Talbot Back to your original question, since your only requirement is to “utilize Windows 2012 server”
install Hyper-V, create a VM, install linux on them, install fog in normal mode - change the mysql settings in /opt/fog/.fogsettings to point to the primary fog server. Change DHCP/ProxyDHCP at each site to point to the newly created fog VMs. Add the new storage nodes to the primary server.
Snapshot along the way.
-
Thanks to Tom who found all my images, life saver!
I have scrapped the windows NFS idea and just made a standard node on Ubuntu which I now have running at a remote site on a separate subnet but now need a little help/advise please?
I have added the Location Plugin
I have created a second storage group and put this node into it.
I then added a new location and added the node to it.
I have copied 1 image over manually to this new storage node, configured the DHCP at the site to point at the main fog server.
Went to site with a box and attempted to image it, PXE was intermittently loading from the main server across the WAN but did load and allow Full Registration albeit it was slow.
I chose the new location during registration.
It started imaging but it was slow, around 500m/min
So question is was it actually pulling from the new local node or pulling accross the WAN?
Only other thing which I should mention, I did not tick the TFTP from this node box under the location?
Please help?