FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node



  • if I start in debug mode. what action do I have to do manually?

    Thank you


  • Moderator

    @jeremyvdv said in FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node:

    mount 10.1.5.8:/volume1/images on / images permission denied

    Where are you seeing this message?

    If I try to connect to the share on the nas with my FOG user it works.

    From what device does it work? FOG server?

    The target computer connects to the NFS share using the credentials of root if the nfs share has squash root parameter. root will not be able to connect to the nfs share, yet a normal user can mount it. If you pxe boot the target computer in debug mode (tick the debug checkbox before scheduling the task) you can run the commands interactively on the target computer for testing.



  • Hello

    I followed your tutorial and thank you for doing this.

    I have my storage which is well added but when I want to capture I have access denied …

    mount 10.1.5.8:/volume1/images on / images permission denied

    If I try to connect to the share on the nas with my FOG user it works.

    Can you help me ?

    Thank you



  • @tom-elliott Quite right, but then we can put the 3 folders in one and the same shared folder. For the tutorial I did like that but we could also make a central shared folder for example name “FOG” with the 3 folders in, “images”, “snapins” and “tftpboot” except that the path would be /volume1/FOG/images, /volume1/FOG/snapins…


  • Moderator

    @tom-elliott Fair enough, but he doesn’t appear to be exporting the mounted share.

    I don’t know why exactly he’s mounting it on his FOG server, it doesn’t seem important to making this process work.


  • Senior Developer

    @quazz what I mean is a shared share being shared.

    For example, if you have a share at 192.168.10.1 mounted to server 192.168.10.5, sharing rw from 192.168.10.5 would fail as the locks have already been dedicated to 192.168.10.5. If all mounts are to the central point you would be fine.


  • Moderator

    @tom-elliott That sounds a bit weird to me? Surely a server should allow multiple rw clients simultaneously? (even for the same share)



  • @tom-elliott Yes it will work, look at the capture that I made directly on the NAS without going through the storage of the FOG server:
    0_1530539272095_image1.jpeg
    while capturing the image is stocked on /volume1/images/dev folder:
    0_1530538288129_Capture12.PNG
    and when he is captured 100%, it will appear on the folder /volume1/images directly:
    0_1530538343709_Capture4.PNG

    I’m capturing one right now:
    0_1530538799576_Capture.PNG


  • Senior Developer

    Are you sure capture will work when you mount the NAS nfs to the fog server? Typically you cannot share and nfs share in read and right. What I mean by this: if the folder is read only you can share it without much issue regardless of how many times it’s shared, but for read write, it must be mounted exactly once. At least anything I’ve ever seen.


Log in to reply
 

249
Online

7.2k
Users

14.4k
Topics

135.6k
Posts