QNAP NAS storage
-
How do i know the FTP path on my NAS ? And where can i specify this 2nd path on the fog GUI ?
I tried on my NAS to manually move my image uploaded on /share/CACHE_DEV1_DATA/imagesfog/dev/<ADRESSEMAC> to /share/CACHE_DEV1_DATA/imagesfog/imagesNAS(folder specified on the GUI FOG) with this command :
mv /share/CACHEDEV1_DATA/imagesfog/dev/001999547b85/ /share/CACHEDEV1_DATA/imagesfog/imagesnas
and then i could download it correctly.
I don’t rlly know how the FTP is working to create the folder imagesnas and move the image, but every permissions are allowed on my NAS, and i can correctly connect to the ftp path with the fog user i specified in the GUI interface.
-
@Sunks Please share a screenshot of your storage node settings.
-
@Quazz My storage nodes NAS
i can add some other screenshot of my nas
after the upload the image is right there, and sit there instead of moving.
The service FTP is enable on my NAS (it’s in french):
-
@Sunks I believe you need a trailing forward slash
So add a / to the path on the storage node.
Also, post apache logs if the issue persists after trying this.
-
@Quazz I can’t add any slash, the webGUI delete automatically te last /
My error apache is empty. I tried severals time to download image today and there is nothing
if anyone have any others ideas…
Thanks for the help guys
-
@Sunks Which Ubuntu version is your server running?
If it’s 14.04 or newer, would you be willing to upgrade FOG to trunk?
-
@Quazz said in QNAP NAS storage:
If it’s 14.04 or newer, would you be willing to upgrade FOG to trunk?
Yea it’s 14.04. The 1.3 version will help me ? i’m gonna try.
Thanks
-
@Quazz I think your nfs and ftp location are differents, like that :
ftp : ftp://your_nas/imagesfog/
nfs : nfs://your_nas/share/CACHEDEV1_DATA/imagesfog/In your version of FOG you can’t specify different path for ftp and nfs; in you screenshot it’s :
Image Chemin
In the 1.3 you can specify the ftp and nfs path.FYI when you capture or deploy it’s the NFS server of your NAS that is mounted on the client. For the capture the move from /dev/mac_address to the destination folder is assured via FTP.
Capture : 1-Capture via NFS --> 1-Move via FTP --> Done
Deploy : 1-Deploy via NFS --> Done -
Thanks
So i updated my fog to 1.3I will try to upload/deploy with that storage node setting :
By the way, do i have to encrypt my password in the storage node ?
-
Ok it’s now working fin, you can mark this topic as solved.
So it was due to the ftp path, i couldn’t specify the correct ftp path in the fog interface 1.2.0.
Thanks a lot for your help guys.
-
Got this working over the weekend with QNAP. The NFS shares are slightly different in v4.3.3 of the QNAP software on the TS-231. You don’t have to specify the full local path. Only the shared path location.