• Nas node storage : permission denied

    Solved FOG Problems
    19
    0 Votes
    19 Posts
    3k Views
    george1421G

    @lucas942 said in Nas node storage : permission denied:

    I just got to find a directory in / images on the NAS 14gb its name is: e86a64cbxxxx and this corresponds to the MAC address of my PC.
    So I rename this folder “Standard”?
    Because the name of my image is “Standard”

    You have a few things that are wrong.

    The image file should be first captured into the /images/dev/<mac_address> folder. After the image is fully uploaded to the /images/dev/<mac_address> folder the target computer logs into the FOG server (nas in your case) via FTP and issues a move command to move all of the files in /images/dev/<mac_address> to /images/<image_name>.

    The screen shot of the error you see about ftp_put tells me that in the storage node configuration there is 2 fields Management Username and Management Password. The values in those fields must match the user you created on the NAS device.

  • "Permission denied": another Nas Issue (Qnap TS-231)

    Solved FOG Problems
    9
    0 Votes
    9 Posts
    8k Views
    george1421G

    @iarwayn said in "Permission denied": another Nas Issue (Qnap TS-231):

    the fact that the Nas size and occupation doesn’t appear on the main menu, but, hey! that won’t ruin my joy.

    You will have to live with good enough. For those settings to be populated, you need a real fog server as the storage node. You need a few php pages to execute on the target NAS to return what FOG expects. You can probably get there if you install apache and php on the NAS and then copy over the FOG web site to the storage node. You may need a few php libraries beyond what the NAS php page supports by default. I probably can be done but the results (values on the fog homepage) may not be worth the effort.

    I’m pretty sure it could be done with a synology nas because it does have packages for apache and php 5.6 that could be installed… But I never had the motivation to try or to document it.

    BTW: Well done on the QNAP integration. If you feel motivated at some time please document your steps for the qnap in the tutorials section like I’ve done so the next guy can build upon what YOU have created. There is no problem for the French screen shots either, we are all professional that know how to use google translate 😉

  • Share /images on NAS Synology

    Solved FOG Problems
    9
    0 Votes
    9 Posts
    4k Views
    M

    Hey

    I found out where my error came from, here are the settings:

    Follow the tutorial of @george1421
    https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node/16

    On the Fog Web server

    0_1493113426231_Capture d’écran 2017-04-25 à 11.37.44.png

    On Nas Synology, here is the NFS configuration on all the files /volume1/images /volume1/tftpboot /volume1/snapins so that all posts find sharing Thanks @hfredh

    0_1493113614033_Capture d’écran 2017-04-25 à 10.39.05.png

    Thanks to all
    One can pass the subject in solved

    I keep you informed if I can deploy with this method normally there should be no problem

    @+

  • 0 Votes
    7 Posts
    4k Views
    JJ FullmerJ

    If you wanted to try the esxi route
    I found this info on unRaid NFS
    http://lime-technology.com/wiki/index.php/FAQ#How_do_I_configure_NFS_mounts.3F

    Then in vcenter for esxi add a datastore with the network file system option
    give esxi the unraid servers nfs address
    tell it where to mount it on esxi
    and give the datastore a name, like images

    Then on your fog vm, shutdown, edit settings, and then add a new virtual disk from that data store.
    Then mount that as /images in your /etc/fstab. You might have to format it before you can mount it with mkfs ext4 or something of that sort.

    If that overview isn’t helpful and you want to try this method, I’ll test it out a little and document the process more thoroughly when I get a chance.