/images on a nfs share into a Nas ...
-
Hi !
I want to move my Fog images on a nas (IBM V7000U).
My fog is runnin on a Ubuntu 13.10.I can mount /images on a nfs share of th Nas …
My problem is when i want to install an image on a computer … When the computer is connecting to the fog server (NFS) i’ve this error message :
“mount: mounting <serverIpAddress>:/images on /images failed: permission denied”When i look on the Fog Server the nfs share, i think, does not work …
On the Fog server :
[CODE]sudo exportfs -raexportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/images”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.xexportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/images/dev”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.xexportfs: /images/dev does not support NFS export
exportfs: /images does not support NFS export
[/CODE]When i umount /images, i can execute correctly a exportfs -ra …
Can i share a folder with nfs, mounted on a nfs share ?
It is possible to put the images on a NAS ? What is the correct way to do that ?
Thanks a lot for your help !
Sorry for my english -
Hi,
Each time I’ll try this configuration I have this error.
If you can, use iSCSI directly on the server.
Regards,
Ch3i. -
Thank’s for your help but, i can’t use iscsi !
My Fog server is virtual and the Nas is not near the server they are in 2 different building ! -
[quote=“Loops, post: 40865, member: 28164”]Thank’s for your help but, i can’t use iscsi !
My Fog server is virtual and the Nas is not near the server they are in 2 different building ![/quote]Virtual is not a problem, NAS in different building is a problem
-
;D
I will add a virtual disk on my SAN to store images -
Try to create a user fog on your NAS with the same password of the fog server, and set the right on your share with the user fog.
-
An NFS mounted share, cannot be re-shared through NFS. It will not work.
Your best option is to make the NAS it’s own “node” to link to the images, but the problem in lies that the FTP service must be enabled, but also if you can configure it so the user’s home path is not specified for FTP connections.
NFS doesn’t use any accounts to handle sharing. What this means, is you can mount the share through whatever path you need.
For example, a NFS share on a nas might be located at /master/images. You can NFS mount the share using IP.Goes.Here:/master/images and things will generally work.
When it comes to FTP (how fog checks if the image actually exists during a deploy task and moves the image from images/dev to images) though a defined home folder will make the root (/) location in the root of the place. Many NAS’s make the /master the home location for the FTP user meaning trying to mount, or move data from /master/images won’t work because it’s actually looking for /master/images in the home folder (/master/master/images).
-
[quote=“Tom Elliott, post: 40871, member: 7271”]An NFS mounted share, cannot be re-shared through NFS. It will not work.
Your best option is to make the NAS it’s own “node” to link to the images, but the problem in lies that the FTP service must be enabled, but also if you can configure it so the user’s home path is not specified for FTP connections.
NFS doesn’t use any accounts to handle sharing. What this means, is you can mount the share through whatever path you need.
For example, a NFS share on a nas might be located at /master/images. You can NFS mount the share using IP.Goes.Here:/master/images and things will generally work.
When it comes to FTP (how fog checks if the image actually exists during a deploy task and moves the image from images/dev to images) though a defined home folder will make the root (/) location in the root of the place. Many NAS’s make the /master the home location for the FTP user meaning trying to mount, or move data from /master/images won’t work because it’s actually looking for /master/images in the home folder (/master/master/images).[/quote]
And you must have the same UUID on the user fog : on NAS and fog Server.
-
No you wouldn’t
-
Thank’s a lot for your help ! but this is a little bit hard for me !
My Fog server is now running with a local image storage ! -
[quote=“Loops, post: 40878, member: 28164”]Thank’s a lot for your help ! but this is a little bit hard for me !
My Fog server is now running with a local image storage ! :/[/quote]NP