[Solved] Nas Buffalo need help
I just installed fog project in a virtual machine on a debian 9.11, I have an 8TB buffalo nas to disposition to store my future images.
Does anyone have a tutorial to properly configure the nas or can someone help me?
@doubleve You only need tftp if you want to boot from the nas. If you have a real fog server on the same network you can use that. For a storage node you only need NFS and FTP service.
Thank you for your return.
The buffalo nas does not have the function TFTP, I will fall back on a synology.
would you have a screenshot of the node configuration on fog
They are in my tutorial in relations to how the synology nas is setup. https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node/4 Its not a picture but text, you will have to translate to what is needed for your NAS.
@doubleve The important settings are:
- Storage Node Name: any name you like to use
- IP Address: the IP of you NAS
- Max Clients: set that to 10 for now
- Is Master Node: No!
- Storage Group: probably use the default group in your setup
- Image Path: the path you share as NFS volume, e.g.
- FTP Path: same as above
- Is Enabled: Yes!
- Management Username: the user you created on the NAS - default we use is
fogprojectand you might want to use that too
- Management Password: password set for the above user
thank you for the information the nas buffalo has the prerequisites. would you have a screenshot of the node configuration on fog
FOG doesn’t natively support NAS devices as storage nodes. The only official remote storage node is another FOG server.
With that said, you can emulate a FOG storage node if your NAS supports NFS and FTP. You will need to create a user account on your NAS that FOG can use to log into your nas during imaging. FOG also uses NFS to copy the file from the target computer to the storage node. I don’t know the buffalo nas, but most can support that feature. I can tell you from the synology nas its possible. You basically share a directory on the synology nas such as /volume1/images and /volume1/images/dev. Then create a local user that can ftp into the nas with the proper permissions to modify files in /volume1/images and /volume1/images/dev. In the case of nfs /volume1/images should be volume level shared as read only and /volume1/images/dev should be read write. One other thing in regards to NFS, you need to turn off “squash root” which block the root user from connecting to the nfs share. It is turned on by default.
I have a tutorial on how to setup a synology nas as a storage node. https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node You will need to translate it into what your nas needs. But the key points are ftp, nfs, and a user account.
Then on the fog server in the storage management page, add a new storage node. Make sure the storage paths match what you created on the nas device for both the nfs share as well as the ftp path. The management user id and password should match the account you created on the nas. And finally this is an undocumented trick, but change the default storage node (the fog server) as a slave and the nas device as the master node. With those roles reversed you will be able to capture images to the nas. By default only the master node in a storage group can capture image. All devices in a storage group can deploy images.