Location Plugin - ID Must Be Set To Edit Error
-
Yes I defined my nas as a storage node.
I created a user called fog , and a folder called fog on the nas. Given full rights to that user.
On the FOG server I created a storage node , pointed it to the NAS server. -
@tedd77 Who makes your NAS. Because there is a setup required to turn a NAS into a storage node.
-
@george1421
QNAP 431X with 10G interface -
@tedd77 I’m sure someone wrote a how to for the QNAP. I did write one for a synology nas. Let me grab that one (and look for the qnap)
edit
https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-nodeedit2 (jackpot)
https://forums.fogproject.org/topic/10973/add-a-nas-qnap-ts-231-as-a-storage-node-fog-v1-4 -
A fog storage node needs
- NFS (set up a certain way)
- FTP (to access the nfs share)
- TFTP (if you want to pxe boot your clients)
Then when FOG is accepting that storage node and you can deploy, then switch and make the NAS the master node of its storage group. Its pretty easy to setup if you have only one site, a FOG server and a NAS. Its a little bit more complicated if you have multiple storage nodes across several sites. You can set that up, it just requires smoke and mirrors.
-
@george1421
Very good tutorial , settings were done to the qnap.
Now i can see that Fog started pointing to my QNAP and the Fog attempts to write but fails after few seconds.
see screen capture -
@tedd77 you need to ensure that the user account you created on the qnap has full rights to that directory structure, as well /share/images/dev needs to be writable by a root user. Not THE root user, but A root user. If you look at my tutorial for the synology, you will see I needed to enable extra rights on that nfs share. I can’t speak for the qnap tutorial since I did not write it. I did write one for MS Windows 2012 and had to set similar rights.
-
@george1421
It is working now however every time I reboot the nas I have to execute the following from FOG servermount -t nfs <nas_ip>:/share/images /mnt
mkdir /mnt/dev
touch /mnt/.mntcheck
umount /mntmount -t nfs <nas_ip>:/share/images/dev /mnt
touch /mnt/.mntcheck
umount /mnt -
@tedd77 Um, why are you doing that? The NAS and the FOG server should be a stand alone servers. You should not need to cross mount anything.
-
@george1421 OK looking at what you are doing closer (and not assuming this time), it appears the NAS is not keeping the hidden files .mntcheck between reboots? And you need to recreate them every NAS reboot. That is pretty strange.
-
That is exactly the case. I need to further investigate.