Problem configuring new storage node / creating images
-
so i uploaded the files on my post above
-
Your host does not have an image assigned to it. This is why it’s not working for you. Please assign an image and try again.
-
Also, have you uploaded an image that can be pushed to the client machine?
-
okay so now i have weekend, i will try this on monday…
i thought the quik image is to create a image of the local device where you boot from…
seems that i misunderstood that.
thank you in advance for your help, i will post on monday again if it works.
-
Hey Tom,
okay, so i am at work now and have tried smth.
i created an image. i selected the host and assigned it to the image which i ceated.
then i created a basic upload task for my host.i get the following error, i think the configuration of my nfs storage is not configured correctly…
[ATTACH=full]1106[/ATTACH]i think theres some trouble becouse my /images/windows folder has no dev folder…
i tried to copy/move the dev folder from /images/ to /images/windows but i have no permissions to do this.
do you have any ideas?
[url=“/_imported_xf_attachments/1/1106_2014-07-07 08.32.55.jpg?:”]2014-07-07 08.32.55.jpg[/url]
-
The only thing is you need the dev folder within.
FOG Works as such:
/images/<imagename(s)> is the actual uploaded images. These are mounted Read-only so as to be used. Inside of the /images/ folder (or in your case, /images/windows/) there should be three things. First, there should be: /images/windows/.mntcheck and /images/windows/dev and /images/windows/dev/.mntcheck
Command line ability to do this within linux as root user is:
[code]mkdir -pv /images/windows/dev
touch /images/windows/{.mntcheck,dev/.mntcheck}
chown -R fog:root /images/windows
chmod -R 777 /images/windows[/code]Next you need to make sure the exports file is properly setup.
Change the references from /images AND /images/dev to /images/windows AND /images/windows/dev respectively. Restart the NFS server with:[code]service nfs restart
service nfs-kernel-server restart[/code]This should help.
If you don’t have permissions to do this, then find a person who does as these are the required elements to operate with FOG.
-
thanks for this explaination,
i set up my fog server as you wrote above.
after a day of searching i found out why i can’t execute the chown command, it was a fault in my user mapping.now i did the following things:
created the dev folder in my /images/windows path
created mntcheck in /images/windows and /images/windows/dev
chown my /images/windows folder successfullychanged my references in /var/www/fog/lib/fog/config.class.php to /images/windows and /images/windows/dev
restarted my nfs server.
[SIZE=14px][FONT=Arial][COLOR=#000000]Unfortunately i get the same error when i try to upload an image as in the picture above…[/COLOR][/FONT][/SIZE]
[SIZE=14px][FONT=Arial][COLOR=#000000]“Failed to mount NFS Volume”[/COLOR][/FONT][/SIZE]
[SIZE=14px][FONT=Arial][COLOR=#000000][/COLOR][/FONT][/SIZE]
-
ok so after i read moe and more resources i get a step further.
my exports file is correctly configured, the storage nod eis correctly configured now too.
the error on uploading the image looks now like this:
[ATTACH=full]1120[/ATTACH]seems that there is a error with my nfs share… i’m going to take a deeper look at this.
[url=“/_imported_xf_attachments/1/1120_2014-07-09 08.48.43.jpg?:”]2014-07-09 08.48.43.jpg[/url]
-
Hello pdpk
to solve your problem you need chanhe the file
#sudo nano /etc/exports
/images/windows *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsi$
/images/windows/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2) -
exportfs –a
-
[quote=“Gilberto Ferraz, post: 32554, member: 2615”]exportfs –a[/quote]
hello gilberto,
when i ran the command exportfs -a i get the following error:
[CODE]root@OptimusFOG:/images# exportfs -a
exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/images/windows”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.xexportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/images/windows/dev”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.xexportfs: /images/windows/dev does not support NFS export
exportfs: /images/windows does not support NFS export[/CODE]my share is on a NTFS formated HDD maybe this is the problem?
-
ok it works. i changed the exports back to it’s defaults and now it works!
thanks tom for your help and thanks gilberto!
now this post can be closed!