FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
-
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.
-
You’re right. I have follow this tuto: [url]http://fogproject.org/wiki/index.php?title=Image_Upload:_Error_Checking_Mount[/url] and i have thought in my case, I should add all paths.
I delete it.[B][U]TEST[/U]:[/B]
[U]/etc/exports -> OK[/U]
[IMG]http://image.noelshack.com/fichiers/2015/17/1429629845-freenas19.png[/IMG][U]Path -> OK[/U]
[IMG]http://image.noelshack.com/fichiers/2015/17/1429629907-freenas20.png[/IMG]
[IMG]http://image.noelshack.com/fichiers/2015/17/1429629968-freenas21.png[/IMG][U]Upload client -> Not[/U]
[IMG]http://image.noelshack.com/fichiers/2015/17/1429630035-freenas22.png[/IMG]
-
Did you restart the nfs server so it reloads the exports?
Normally this can be done with [code]exportfs -a[/code]
However if this isn’t available to you, it may be needed of something like:
[code]service nfs restart[/code]Or [code]service mountd restart[/code]
Does it still give you the bad exports list statement?
-
[IMG]http://image.noelshack.com/fichiers/2015/17/1429685896-freenas23.png[/IMG]
All it’s ok after restartWhen i look the log of my FreeNAS:
[IMG]http://image.noelshack.com/fichiers/2015/17/1429689682-freenas24.png[/IMG]
-
Do me a favor and for now remove the ip from the exports lines and restart mounts. Does it work then?
-
Doesn’t work. I have the same error.
[IMG]http://image.noelshack.com/fichiers/2015/17/1429692530-freenas25.png[/IMG]Last line. 192.168.56.4 is my client how i want upload.
Maybe my mistake did not come from my FreeNAS…Everything looks ok for the configuration.
-
When you access the system via a mount point or anything does it auto specify as /Volume1/data/images?
-
FTP with root, i am directly “/”. In anonymous: “/mnt/Volume1/data/images”
SSH with root, “/root”If i add NFS share, i can put the path “/mnt/Volume1/data/images” but the data in “/etc/exports” will be changed. So i desable it.
If i add NFS share, look the “/etc/exports”
[IMG]http://image.noelshack.com/fichiers/2015/17/1429705966-freenas26.png[/IMG]If i edit this file with the good config "*(ro, ,sync…), i have the same error.
-
OMFG !!!
[IMG]http://image.noelshack.com/fichiers/2015/17/1429772127-freenas27.png[/IMG]
1 week I’m on the same problem, and it works finally! I can upload a client on my FreeNAS !!!
The upload is not finished, I will tell you my work when everything will be perfect (upload/download)
-
Ok. So the upload are finish but my images is on “/dev/@MAC” and not /images/name".
[IMG]http://image.noelshack.com/fichiers/2015/17/1429776385-freenas28.png[/IMG]I find maybe a solution: [url]http://fogproject.org/forum/threads/ftp-rename-failed.8924/[/url]
I will test this solution. If i understand, it’s a FTP or TFTP (FTP for my FreeNAS) that moves the image from “/dev/@MAC” there to"/images/NameImage".
[IMG]http://image.noelshack.com/fichiers/2015/17/1429777100-freenas30.png[/IMG]
As we can see, my Fog Server (192.168.56.102) connects to my FreeNAS (ROOT FTP login successful /User root login successful) but can’t copy…
Root have all the permission:
[IMG]http://image.noelshack.com/fichiers/2015/17/1429777674-freenas31.png[/IMG] -
I test the cmd on my FreeNAS
chown -R fog:wheel /mnt/Volume1/data/images
(Wheel is the group of my root)
EDIT: Doesn’t Work…FOGFTP: Failet to rename file…
-
Go to your storage node settings, ensure the username and password in there are correct.
If they are, reset your fog user’s password, then reset the storage node’s password.
If that doesn’t work, then try to change the owner of /images (recursively) to fog, and set permissions to 777, then try again?
-
The username/password of my FreeNAS must be correct compare which user? FOG_TFTP_FTP_USERNAME/PASSWORD ?
I do the upload in my Storage Management with the user “root” of my FreeNAS.
There are too many users, I am lost ! -
If you’re doing the Storage Management with the “root” user of FreeNAS, make sure the information the Storage Node has is correct.
This has NOTHING to do with FOG_TFTP_FTP_USERNAME/PASSWORD. That field is reserved almost entirely for the kernel downloading.
-
I have change now. I create a user Free/Free, change NFS, permission, etc.
On my page management, storage node, i put this user. But same problem…[IMG]http://image.noelshack.com/fichiers/2015/17/1429803126-freenas32.png[/IMG]
[IMG]http://image.noelshack.com/fichiers/2015/17/1429803204-freenas33.png[/IMG]
[IMG]http://image.noelshack.com/fichiers/2015/17/1429803439-freenas34.png[/IMG] -
What does this command output?
On the Free NAS:
[CODE]ls -laR /mnt/Volume1/data/images[/CODE]