Fog Storage Node on Seagate Central 4TB Drive
-
I have a Fog server setup on a virtual machine with enough disk space to run linux and fog only. The company I work for purchased an NAS without first asking what my specifications were. As such I am stuck with a Seagate Central 4TB Drive. I am unable to find away to appropriately give the Fog server access to store the images on this device. I have tried going through and mounting it to the linux system, and going through the Fog Web Console to give it the appropriate address & location for the image directory. Nothing I have tried is working. Can someone point me in the right direction to get this working? Or point me to a thread with the answer to this, I have not been able to locate the correct information.
-
i am not familiar with the device. does it support NFS and FTP protocols?
-
I know it does not support NFS, and I cannot find anything on it in regards to FTP. I know it support SMB, and it does have software to be used as a media streaming server. The only purpose I want to use it for though would be for Fog.
-
can you mount the volume with full privileges, and symbolic link the /images location to the drive?
-
That worked perfectly, thankyou!
For reference for anyone else having this issue, I used the following link to setup the permanent mount in ubuntu 14.04, then went to storage management and pointed to the Fog server under the new mounted directory.
[url]https://wiki.ubuntu.com/MountWindowsSharesPermanently[/url] -
Running into another issue regarding this. And again I apologize because my knowledge of Linux is limited, i found a similar thread but can’t seem to get it to work. [url]http://serverfault.com/questions/531624/fog-server-nfs-issue[/url]
When trying to take an image, i receive this
[CODE]Mounting File System…mount: mounting 172.20.0.95:/fogimages/dev/ on /images failed: permission deniedFatal Error: failed to mount NFS volume[/CODE]
Please note, 172.20.0.95 is the ip for my fog server, and “fogimages” is the folder that is linked to my seagate nas.
I have followed the post located here: [url]http://fogproject.org/forum/threads/permission-denied-when-trying-to-image-after-update-to-1-1-1-1-1-2.10941/#post-31487[/url]
It did not resolve my problem. -
Update
When i run “service nfs-kernel-server restart” i get the following messages on the images and images/dev directories
“does not support NFS export”, and I assume that this is because the NAS Drive I have does not support the NFS protocol? -
The Naz that you are running is it already mounted to your fog server? You can’t mount and NFS share if it’s already NFS shared
-
I removed the following from etc/exports which didn’t help
[CODE]/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1)
/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
[/CODE]
I have the following under etc/fstab (This is how I mounted the NAS to Ubuntu)
[CODE]//172.20.0.29/kogokadmin/fimages /images cifs username=UserNameForStorage,password=PasswordForStorage,iocharset=utf8,sec=ntlm 0 0
[/CODE] -
Still not able to get this to work, any ideas anyone?
-
Hi,
maybe this gives you hints:
[url]http://fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/[/url]
[url]http://fogproject.org/forum/threads/no-disk-usage-free-space-information-for-another-storage-node-nfs.4276/[/url]Regards X23
-
I have previously read these two threads, and did not find anymore leads from them. The main page of FOG shows that my storage has 3.62Tib of storage (which is what the seagate has), I just can’t push images to it…I have attached a PDF file containing images of my storage setup, fstab file, and exports file.
[url=“/_imported_xf_attachments/1/1156_setup.pdf?:”]setup.pdf[/url]
-
On the NAS, have you ensured the /images/dev folder exists as well as the /images/.mntcheck and /images/dev/.mntcheck AS well as ensure the /images folder (as a whole) has 777 permissions?
-
I just verified that the .mntcheck exists in both of those directories, and I changed the permission on the images folder on the NAS (labeled fimages) with the following command:
[CODE]chmod -R 777 fimages[/CODE]
Still receiving the same error.