Ok i see. Thank you

Posts made by Slowave
-
Image Size: ON SERVER: question
Hi,
I just have a quick question. On âImage Managementâ, we can see Image Size:On CLIENT and ON SERVER.
ON CLIENT: 24.90 GiB -> ok, itâs true.
ON SERVER: 2.01 GiB -> itâs weird.
When i look directly on the server, my image size = 8.1.
What refers to the 2.01?
I ask this because in one month and a half, I spend my oral memory, so I can be able to answer all questions.
Thank. -
RE: How to: Use FOG (1.1.2) with FreeNAS (Storage node - 9.1.1)
I see an error: [url]http://fogproject.org/wiki/index.php/Use_FOG_with_FreeNAS[/url]
Step 6:
[U]Verification[/U]: cmd: cat /etc/exports. Itâs not the good image.
-
How to: Use FOG (1.1.2) with FreeNAS (Storage node - 9.1.1)
Hello.
I have often seen people want to use Fog Server with a Storage Node FreeNAS. At my office, it works so i describe you step by step how to do.
There are probably several solutions i think, but i propose you a simple solution that works with me.I consider that your FreeNAS is ok for the installation and NIC.
[U]Fog Server[/U]: 192.168.56.102
[U]FreeNAS[/U]: 192.168.56.240[U][SIZE=5]FOG Server:[/SIZE][/U]
[U]Step 1[/U]: Storage Management
Add the Storage node.Storage Node Name: FNAS
IP Address: 192.168.56.240
Is Master Node: As you want.
Group: As you want.
Image Path: /mnt/Volume1/data/images
User/Pass: Free/Free (Not very secure)
[U]Step 2[/U]: Image Management
For your image, choose the storage group witch contains the new storage node.[SIZE=5][U]FreeNAS[/U][/SIZE]:
[U]Step 1[/U]: Add Volume1
Storage -> ZFS Volume Manager:Volume Name: Volume1
Volume layout: All the disk (in my case)[U]Step 2[/U]: Create the path
Clic on [B]Volume1[/B] -> Create ZFS Dataset:
Dataset Name: [B]data[/B]
Compression level: inherit
Enable atime: inherit
ZFS Deduplication: inheritClic on[B] data[/B] -> Create ZFS Dataset:
Dataset Name: [B]images[/B]
Compression level: inherit
Enable atime: inherit
ZFS Deduplication: inheritClic on [B]images[/B] -> Create ZFS Dataset:
Dataset Name: [B]dev[/B]
Compression level: inherit
Enable atime: inherit
ZFS Deduplication: inherit[IMG]http://image.noelshack.com/fichiers/2015/18/1430127023-freenas42.png[/IMG]
[U]Step 3[/U]: Create .mntcheck
On the folder â/imagesâ and â/devâ, create the file â.mntcheckâ
CMD: touch .mntcheck
[U]Step 4[/U]: Create new user.
Account -> Users -> Add User
Username: Free
Primary Group ID: Free
Home Directory: /mnt/Volume1/data/images
Home Directory Mode: 777[IMG]http://image.noelshack.com/fichiers/2015/18/1430127205-freenas43.png[/IMG]
[U]Step 5[/U]: Permission for the path
Storage -> clic on data/images -> Change Permissions
User: Free
group: Free
Mode: 777
Type of ACL: Unix
Set Permission recursively: [B]YES[/B][U]Verification[/U]: cmd: ls -laR /mnt/Volume1/data/images
[U]Step 6[/U]: NFS
Donât edit â/etc/exportsâ. In my case, when i restart the service, the file faded. I had to WEBGui.On the left.
Sharing -> Inux (NFS) Shares -> Add Unix (NFS) Share.Comment:âŠ
Authorized networks: 192.168.56.0/24
All directories: OK
Maproot User: Free
Maproot Group: Free
Path: /mnt/Volume1/data/imagesOK.
[IMG]http://image.noelshack.com/fichiers/2015/18/1430127941-freenas44.png[/IMG]Idem for the folder â/devâ
[IMG]http://image.noelshack.com/fichiers/2015/18/1430128040-freenas45.png[/IMG][U]Verification[/U]: cmd: cat /etc/exports
[IMG]http://image.noelshack.com/fichiers/2015/18/1430128125-freenas46.png[/IMG][U]Step 7[/U]: FTP (I donât know if itâs really necessary)
Services -> FTP -> Advenced Mode
Path: /mnt/Volume1/data/images
File Permission: 666
Directory Permission: 777Now: you can upload your client.
Problem, you may also get an error message at the end: FOGFTP: failed to rename file.
[url]http://www.fogproject.org/wiki/index.php/Images_Directory_Permissions[/url]Method 1 doesnât works with me, so i use method 2.
[IMG]http://image.noelshack.com/fichiers/2015/18/1430128580-freenas47.png[/IMG]
CMD: cp -a /mnt/Volume1/data/image/dev/@MAC /mnt/Volume1/data/images/NameOfYourImage
cp -a to keep the same permission.
Thatâs it. If I have forgotten nothing, you can use FreeNAS with FOG Server
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
It was not a problem of Timeout FTPâŠBut it doesnât matter, i can do cp -a /images/dev/@MAC /images/name
[QUOTE]What user does the FreeNAS use? [/QUOTE]
Iâm only one user of FreeNASThe download is ok to the new client.
I will write the tutorial !
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
Ok, so with FreeNAS, itâs impossible to modify the configââŠ
Answer a modo on the FreeNasâ forum:
[QUOTE]Because you shouldnât be modifying config files! FreeNAS does that stuff for you. Use the WebGUI how it is intended, or go to full-blown FreeBSD. [/QUOTE]
[url]https://forums.freenas.org/index.php?threads/ftp-timeout-login.30437/[/url]Monday, i will explain the steps to export image on FreeNAS, but in the end, you will have to cp /dev/@MAC /images/nameofyourmachine
See you later.
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
Itâs weird. Everything is ok for me. I upload my pictures with [url]http://www.noelshack.com/[/url]
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
Yes i can go where i want after connection. â/etcâ or â/mntâ for example.
[IMG]http://image.noelshack.com/fichiers/2015/17/1429865693-freenas37.png[/IMG]
Itâs not a history of timeout FTP the error ? Before, itâs was on 300s. I try to increase.
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
Itâs â/mnt/Volume1/data/imagesâ
[IMG]http://image.noelshack.com/fichiers/2015/17/1429864928-freenas36.png[/IMG] -
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
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] -
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
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 ! -
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
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âŠ
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
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] -
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
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)
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
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.
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
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.
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
[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]
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
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]
-
RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS
[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