FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
-
[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
-
I have edit “/etc/exports”:
[QUOTE]
/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
/data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
/Volume1/data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/Volume1/data/images/dev (rw,sync,no_wdelay,no_root_squash,insecure)
/mnt/Volume1/data/images(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/mnt/Volume1/data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)[/QUOTE]Change the permission for this file “Cyril1” 777 to.
Same result…
After, i have restart my FreeNAS, and surprise, my file is empty again ! :@ -
Try to reload your exportfs instead reboot your NAS (to determine if it’s a bug on your FreeNas install), I think the command is :
[CODE]exportfs -r[/CODE]Regards,
Ch3i -
exportfs: Command not found…
FOG STORAGE > poop > Justin Bieber> FreeNAS.
-
[quote=“Slowave, post: 45705, member: 29028”]exportfs: Command not found…
FOG STORAGE > poop > Justin Bieber> FreeNAS.[/quote]
Ooops it’s freebsd based… try :
[CODE]service mountd reload[/CODE]
Regards,
Ch3i. -
This cmd works
I have to leave my office so i will test with the good file “exports” monday.
See you later and thank you for your help !
-
[quote=“Slowave, post: 45711, member: 29028”]This cmd works
I have to leave my office so i will test with the good file “exports” monday.
See you later and thank you for your help ! :)[/quote]
Have a good Week-end
Regards,
Ch3i -
Hi,
After “service mountd reload”, i have:
“Bad exports list line”
[QUOTE]Bad exports list line /images
Bad exports list line /images/dev
Bad exports list line /data/images
Bad exports list line /data/images/dev
Bad exports list line /Volume1/data/images
Bad exports list line /Volume1/data/images/dev
Bad exports list line /mnt/Volume1/data/images
Bad exports list line /mnt/Volume1/data/images/dev [/QUOTE][IMG]http://image.noelshack.com/fichiers/2015/17/1429537843-freenas14.png[/IMG]
When i restart the “NFS service” FreeNAS, The file is deleted.
-
New.
I have not the error when i replace “" by "192.168.56.”.
Service mountd restart
->Stopping mountd
->Starting mountd[IMG]http://image.noelshack.com/fichiers/2015/17/1429601741-freenas15.png[/IMG]
But when i upload i always the same error: permission denied.
I change the id and password for the storage management by root/admin. The permission also in my Freenas for /mnt/Vol… (root 777). Same error.I put exactly the same permission on my storage node FOG and my Freenas on the folder/file.
Storage node up client -> ok.
Freenas up client -> Permission denied. -
So your images volume has the .mntcheck and dev/.mntcheck files?
-
Yes i have.
[IMG]http://image.noelshack.com/fichiers/2015/17/1429627840-freenas16.png[/IMG]I have never create the file “.mnt”. I don’t know if i can delete it.
[IMG]http://image.noelshack.com/fichiers/2015/17/1429628003-freenas17.png[/IMG] -
So what is in your exports file? Normally this is located in /etc/exports
-
[IMG]http://image.noelshack.com/fichiers/2015/17/1429628788-freenas18.png[/IMG]
Fog server, freeNAS and client are in the network 192.168.56.0/24
-
Does your freenas have /images /data/images /Volume1/data/images AND /mnt/Volume1/data/images?
You can only share one mount point at a time. If they all reference the same point, they will not work.
I’d recommend commenting or removing the
/images
/images/dev
/data/images
/data/images/dev
/Volume1/data/images
/Volume1/data/images/devSet up the FOG GUI to look at /mnt/Volume1/data/images and all shoudl start working.