FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
-
Hi (last threads who i create )
Now, i play with FOG Server 1.1.2 and a FreeNAS 9.1.1 (storage node)
I explain my work.
[SIZE=4][B][U]FreeNAS[/U][/B][/SIZE]:
[U]IP[/U]: 192.168.56.240- I create a user:Cyril1 with password:Cyril1
- I create a mount a volume for the folder images and dev
[IMG]http://image.noelshack.com/fichiers/2015/16/1429187016-freenas1.png[/IMG]
-
Chmod -R 777 /Volume1
[IMG]http://image.noelshack.com/fichiers/2015/16/1429187237-freenas2.png[/IMG]
And with “ls -l” i see it’s ok. .mntckeck in /images and /images/dev ok with the same permission. -
NFS on the folder “Images”
[IMG]http://image.noelshack.com/fichiers/2015/16/1429187481-freenas3.png[/IMG]
4)FTP on the folder “data”
[IMG]http://image.noelshack.com/fichiers/2015/16/1429187585-freenas4.png[/IMG]
[SIZE=4][B][U]FOGSERVER[/U][/B][/SIZE]:
[IMG]http://image.noelshack.com/fichiers/2015/16/1429187795-freenas5.png[/IMG]
[U]1st error[/U]:
[IMG]http://image.noelshack.com/fichiers/2015/16/1429187880-freenas6.png[/IMG][U]2nd error[/U]: Upload client.
[IMG]http://image.noelshack.com/fichiers/2015/16/1429187992-freenas7.png[/IMG]NFS it’s ok i think. My error is the permission. But it’s 777 for the user Cyril1 and for the management username, i put Cyril1…
It’s not the good user ?Thank for your help
-
Permission “/dev”
[IMG]http://image.noelshack.com/fichiers/2015/16/1429188712-freenas8.png[/IMG]
-
Hello,
Are you trying to mount /images using NFS? If you have mounted the images repository with NFS, will not work.
The client try to mount /images using NFS, but in the server you have mounted it by NFS too. NFS doesnt support the “remount”.
Client === NFS ===> server (/images) === NFS ===> Datacenter (not allow)
-
Ok, so in my work, i delete “3)” ?
After this step, i have the same problem.
-
What Linux Distro?
-
Fog Server: Debian 7.8
NAS: FreeNAS 9.1.1 -
Hi,
In your dev/ have you the .mntcheck ?
[CODE]drwxrwxrwx 2 root root 4096 avril 13 12:02 .
drwxrwxrwx 24 root root 4096 avril 13 12:02 …
-rwxrwxrwx 1 root root 0 oct. 22 17:07 .mntcheck
[/CODE]After that, to be functionnal FOG need to have a FTP access on this share to move the temp upload on “dev/” to “folder_image/” with the same account (in your case Cyril1), you enable FTP on your NAS.
Regards,
Ch3i. -
Yes i have
[IMG]http://image.noelshack.com/fichiers/2015/16/1429196661-freenas9.png[/IMG]And FTP, it’s enable.
I try to connect FTP from my fog server :
[IMG]http://image.noelshack.com/fichiers/2015/16/1429197162-freenas10.png[/IMG]After login, i’m in my folder “/data” and i can go on “/images” and “/dev” if i want.
-
-
In my fog server database, for “user”, should I add my user “Cyril1” or not ?
-
[quote=“Slowave, post: 45664, member: 29028”]In my fog server database, for “user”, should I add my user “Cyril1” or not ?[/quote]
Hi,
In my case I’ve created a fog user in my Readynas with the same login “fog”, password and uid (UID isn’t important).
Regards,
Ch3i. -
Select host, user, password FROM user;
[IMG]http://image.noelshack.com/fichiers/2015/16/1429255602-freenas12.png[/IMG]
I have not a user “fog” so i use fogstorage. (I 'don’t know how is the user “nas” i have never create this, but this IP (192.168.56.103) is my NAS FOG, and the upload client is OK…And the name of my FOG NAS is not “nas” but “NAS”)
So, i use fogstorage
[IMG]http://image.noelshack.com/fichiers/2015/16/1429255893-freenas13.png[/IMG]I create the same user on my FreeNAS, with the same password. I change the permission for /mnt/Volume1, etc.
Same result:“Permission denied”
-
I just tried with use “fog” and password “password”, same result.
But already, I have a first problem. On my Dashborad", “Disk Information”, i can’t see the storage space of my FreeNAS. It’s not good i think.
[U]If we can make it work, i think i will make a tutorial video for the FreeNAS for the [/U][U]community, because i see on this forum, we have some problems with this[/U].
-
[quote=“Slowave, post: 45669, member: 29028”]
But already, I have a first problem. On my Dashborad", “Disk Information”, i can’t see the storage space of my FreeNAS. It’s not good i think.
[/quote]To have information of other storages in the main page, I think it’s functionnal only if you use a FOG Storage Node (like install a FOG storage node on another server)
Regards,
Ch3i. -
Ok ok, this is a false problem.
It remains only one problem.
-
My configuration summary when I used my Readynas :
- Server FOG :
Login : fog
Password : 12345678 (example :p)- Readynas :
Login : fog
Password : 12345678
UID : same as the fog user in my Debian server where installed FOG
FTP and NFS (R/W) for the user FOGRegards,
Ch3i. -
Huuuuuum, in my FreeNAS, “/etc/export” is empty. A try to use this example: [url]http://fogproject.org/wiki/index.php?title=Image_Upload:_Error_Checking_Mount[/url]
EDIT: I look your configuration
-
[quote=“Slowave, post: 45696, member: 29028”]Huuuuuum, in my FreeNAS, “/etc/export” is empty.[/quote]
It’s a problem :rolleyes:
[IMG]http://image.noelshack.com/fichiers/2015/16/1429187237-freenas2.png[/IMG]
Try “Change” instead “Cancel” lol
Regards,
Ch3i. -
Ahahah, i have really clic on “Change” !
I will edit “export” as the wiki. -
[quote=“Slowave, post: 45698, member: 29028”]Ahahah, i have really clic on “Change” !
I will edit “export” as the wiki.[/quote]lol