@Wayne-Workman
Hi Wayne,
You gonna try with my environment? thats it ? tell me if u need everything.
Posts made by arnaudrigole
-
RE: Permission denied / Input/Output error - NFS ext storage [urgent]
-
RE: Permission denied / Input/Output error - NFS ext storage [urgent]
When i try to upload the image from my client, it say:
can’t chmod /images/@clientmacaddr : no such file or directory
/bin/fog.upload line 112 : /images/@clientmacaddr/d1.fixed_size_partitions : No such file or directory
/usr/share/fog/lib/partition-funcs.sh : line 66: /images/clientmacaddr/d1.original.fstypes no such files or directory…I think its because the fog server has no rw rights again … but where !?!
-
RE: Permission denied / Input/Output error - NFS ext storage [urgent]
Yeah i followed all the procedure more than 5 times…, each time i recreate a fog environment with 1.2 or trunk
i tried to access nfs storage on a windows machine with mount 192.168.253.20:/images * it works, but i have no rw access too ! ; it returns me :
Error 0x8007045D Input/output : same as linux!Everyone + Anonymous access have total access on /images and /images/dev
NFS rights: -
Permission denied / Input/Output error - NFS ext storage [urgent]
Hi Fog community,
Sorry, its me again… my shcool project evaluation is next week and i still have a problem mouting an NFS storage node located on a windows server 2012R2.
I followed this procedure:
https://wiki.fogproject.org/wiki/index.php?title=Windows_Storage_Node
and i can’t pass the step “fog server” step which say i have to transfer local .mntcheck files on nfs server over NFS.i can mount the @nfsserverIP:/images /images2
then cd /images2
then i try to cp or touch -> permission denied :(!!!I run fog 1.2.
Can’t upload an image too, permission deniedFOG_TFTP user is “fog” with a pw i defined, same as the user on fog vm, same as the user defined on filezilla ftp server.
Sorry again for my poor english…!
can anybody help me? -
RE: No DHCP response when trying to inventory a host {FOG TRUNK}
Ok thanks, i resolved the problem by reinstalling fog 1.2; and so re-encounter my nfs issues…I can not do anything without encountering an error :(!
-
No DHCP response when trying to inventory a host {FOG TRUNK}
Hi Fog community,
All is in the title, since i installed FOG trunk, i can’t register, upload, image a computer. It boot on PXE, then when i select “quick inventory” or “full inventory”, it said:
~ Starting logging: OK
~ Initializing random number generator … done.
~ Starting eth0 interface and waiting for the link to come up
~ udhcpc (v1.24.1) started
Sending discover…
Sending discover…then…
No DHCP response on interface eth0, skipping it.
EDIT: i tried to manually ad the host to launch an upload task; it boot, told me “DHCP answer received on eth0”, then Input/Output error trying to open http://192.168.253.10/fog/service/ipxe/boot.php …
I don’t understand why the computer catches an ip when it boot on PXE, then it wanna catch another IP when inventory ?!
EDIT: i just did a clean install of fog trunk on a new virtual machine (debian 8), same problem, "No DHCP response on interface eth0, skipping it. Failed to get an IP via DHCP, tried on interface(s): eth0. Please check your network setup and try again.
thanks for your help!
-
RE: Another possibility to export storage on Windows ?
Hi,
I tried to follow this procedure 3 or 4 times, it never worked…
i got blocked when trying to access /images2, IO error everytime!So i wanna try everything else to export fog storage…
-
RE: Another possibility to export storage on Windows ?
@Wayne-Workman
Thanks for your help, are you sure than its impossible to exports a directory already exported?I run FOG version 1.2, not trunk
I need windows because its the only possibility of storage in my company, and my school project requirements are : 2 differents operating systems, so i choosed fog on linux for deployment and Windows for storage.
-
Another possibility to export storage on Windows ?
Hi Fog community,
due to all my problems with NFS storage node hosted on windows … , here is another possibility that i try to use now: i defined a local directory as nfs export on fog vm, then i exported it with cifs on external windows machine.
details:
in /etc/exports
/srv/cifs/GSBDAT01/images (with same parameters than default)
/srv/cifs/GSBDAT01/images/dev (with same parameters than default)in /etc/fstab
//192.168.253.20/images /images2 cifs credentials=/etc/cifs/GSBDAT01.credentialsi’ve installed cifs-utils, copied .mntcheck files on my external server.
EDIT: i did chmod 777 on /images2 directory too
On fog webui, i defined a storage node with ip 127.0.0.1 on /images2, user and password are same as default storage.When i boot on pxe and try to upload an image, it don’t work…
Failed to mount NFS volume, block on mounting 127.0.0.1/images2/dev on /images , CONNECTION REFUSEDAny ideas?
Thanks for your help, thats my school project, and i’ve same issues in my company -
RE: Another post for TFTP / NFS authentication issues
@ITSolutions
Ok thanks,
FOG 1.2.0 is running on a Debian 8 server. NFS share is coming from a Windows 2008 R2 server, Filezilla server is running on 0.9.56 beta.How can i test the access the NFS share from other machine? with mount cmd too?
@Wayne-Workman @Tom-Elliott
I did all the commands as root and it still the same … -
RE: Another post for TFTP / NFS authentication issues
Thanks for your reply.
For the local storage, uncrypt the password solved the problem, thank you
For the NFS , i ran all SSH cmds with under root account… i tried with “fog” also but still the same :
" cd /images2 "
" -bash: cd: /images2: Permission non accordée " -
Another post for TFTP / NFS authentication issues
Hi Fog community,
I have 2 problems ;
First (sorry, but again…) i tried for several week to setup a NFS share to store my images on a external server, but i doesn’t work for some reasons…
i followed this procedure : https://wiki.fogproject.org/wiki/index.php/Windows_Storage_Node but i can’t validate the step to copy the .mntcheck files:
" mkdir /images2"
" chmod 777 /images2"
" mount 10.1.11.64:/Images /images2 "
" cd /images2 "
" -bash: cd: /images2 : Permission non accordée"Another problem is that i can’t use the fog local storage too: i changed the “fog” password on the server “passwd fog”, so i changed it on fog local storage node on webgui too, using FOGCrypt, but look at what it say now…:
Which ID should i use for the local storage node and distant storage node??
Thank you for your help!!!
Arnaud -
RE: [SOLVED] Fatal Error: Failed to mount NFS Volume
@Wayne-Workman
Ok, thanks for your precisions, i’ll work on NFS storage later. -
RE: [SOLVED] Fatal Error: Failed to mount NFS Volume
@Sebastian-Roth
Why did u say “but you should be able to setup FOG as a storage node on your windows server.”
its the opposite , no ? I want to setup my Windows server as a storage node for FOG.@Wayne-Workman Is there a simple way to externalize the fog storage … ? without using NFS because its look very hard. How FOG users store their images on a Windows Server? are they forced to use the NFS ? They fianlly use linux or local fog storage ?
-
RE: [SOLVED] Fatal Error: Failed to mount NFS Volume
@Quazz
Thanks for your reply, but i really think that its not a complicated problem like that…
I just never setup a NFS share between unix and Windows and i think i dont setup credentials as i should.@Sebastian-Roth
•NFS share (windows) <-> NFS share (linux) <-> FOG client: does not work!Maybe my problem is here!?
So whats the better solution to export images of fog server on a external storage ?Thanks
-
RE: [SOLVED] Fatal Error: Failed to mount NFS Volume
@Quazz
Ok i did
umount /srv/nfs/SRVADM/Images then
mount -t nfs 10.1.11.64:/FOG /srv/nfs/SRVADM/Images -> command seems to be ok but…
cd /srv/nfs/SRVADM/Images -> -bash: cd: /srv/nfs/SRVADM/Images/: Input/Output errorshowmount -e 10.1.11.64
Export list for 10.1.11.64:
/FOG (everyone)you right, the nfs share on Windows server is defined only on /FOG, but it still the same …
-
RE: [SOLVED] Fatal Error: Failed to mount NFS Volume
@Quazz
It returns me “Export list for 10.1.11.64: /FOG (everyone)” -
RE: [SOLVED] Fatal Error: Failed to mount NFS Volume
@Quazz
FOG directory is located physically on E:\informatique\Service_info\FOG\Images but the NFS share is setup on FOG so nfs assistant told me the way is : \SRVADM\FOG , so i have to set:
mount -t nfs 10.1.11.64:/E:/informatique/Service_info/FOG/Images ??
thank you -
RE: [SOLVED] Fatal Error: Failed to mount NFS Volume
@Quazz
Ok so, the mount cmd i type is exactly this : mount -t nfs 10.1.11.64:/FOG/Images /srv/nfs/SRVADM/Images
“FOG” directory is the one shared by NFS on the server, give full rw rights for “anybody” -> nothing returned by the cmd, seems to be OK, but when i type : cd /srv/nfs/SRVADM/images -> input/output errori did apt-get install nfs-common too
i’m sorry but it look so complicated to mount any Windows shared directory on a linux VM…
-
RE: [SOLVED] Fatal Error: Failed to mount NFS Volume
@Tom-Elliott
Thanks for your reply, mine are in your message below:Did you edit the /etc/exports so it’s looking at the proper directory? If the CIFS share is still mounted on the server at /srv/cifs/SRVADM/images and your Exports file is still looking at /images and /images doesn’t exist on the FOG Server, it would still have a problem. > As you said before, i re-edited it so its look like default now /images and /images/dev
If /srv/cifs/SRVADM/images is mounted to the folder /images AND, before the share is mounted, and you create the /images/.mntcheck /images/dev/.mntcheck files, then mount the samba over the TOP of the folder, the mounted folder needs these files so you’d have to run the same touch commands to ensure those files are present on the share as well. > I’m afraid but i think i don’t understand… After i re-modified the /etc/exports file , i did touch commands on /images and /images/dev. I did not succeed the externalization of image storage, so i just want to go back on default configuration
I think there’s almost too much going on to properly assist. > Yes
What is going on? Are you still mounting the /srv/cifs/SRVADM/images folder? > it appears to be hard for me, i’m actually blocked by NFS and access rights… but i’ll continue to work on it but not now (FOG is currently used for production in my company)
What’s in your /etc/exports file? >** /images (ro,sync,no…default string)
/images/dev (rw,sync, … default string too)What version are you running? > Fog 1.2.0
Where are you defining the mount? > When i did my tests for storage externalization, i wanna mount //SRVADM/FOG/Images (Windows 2008R2) on /srv/cifs/SRVADM/Images (Fog Server)
I could also be chasing a rabbit down a hole as I’m still not sure you can NFS Export a CIFS Share either. > i think i don’t understand … but i recreated a shared directory by NFS services on my Win 2008R2, and when i try to mount it as : “mount -t nfs //SRVADM:FOG/Images /srv/cifs/SRVADM/images it return me :” mount.nfs : Failed to resolve server //SRVADM: name or service not known" , tried with IP -> same.
If you’re that worried about security, why are you using a common system that OTHER users are accessing and writing data to as your mount point for where FOG stores its images? -> SRVADM is a server dedicated to IT service, we have no common data on it, but i told this only for crypto virus who infect “Everybody” shared directories
Have a good sunny day