• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Slowave
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 67
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by Slowave

    • RE: Image Size: ON SERVER: question

      Ok i see. Thank you 🙂

      posted in General
      SlowaveS
      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.

      posted in General
      SlowaveS
      Slowave
    • 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.

      posted in Tutorials
      SlowaveS
      Slowave
    • 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: inherit

      Clic on[B] data[/B] -> Create ZFS Dataset:
      Dataset Name: [B]images[/B]
      Compression level: inherit
      Enable atime: inherit
      ZFS Deduplication: inherit

      Clic 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/images

      OK.
      [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: 777

      Now: 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 🙂

      posted in Tutorials
      SlowaveS
      Slowave
    • 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 FreeNAS

      The download is ok to the new client.

      I will write the tutorial ! 🙂

      posted in General
      SlowaveS
      Slowave
    • 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.

      posted in General
      SlowaveS
      Slowave
    • 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]

      posted in General
      SlowaveS
      Slowave
    • 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.

      posted in General
      SlowaveS
      Slowave
    • 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]

      posted in General
      SlowaveS
      Slowave
    • RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS

      [IMG]http://image.noelshack.com/fichiers/2015/17/1429862198-freenas35.png[/IMG]

      posted in General
      SlowaveS
      Slowave
    • 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]

      posted in General
      SlowaveS
      Slowave
    • 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 ! 😄

      posted in General
      SlowaveS
      Slowave
    • 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


      posted in General
      SlowaveS
      Slowave
    • 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]

      posted in General
      SlowaveS
      Slowave
    • 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)

      posted in General
      SlowaveS
      Slowave
    • 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.

      posted in General
      SlowaveS
      Slowave
    • 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.

      posted in General
      SlowaveS
      Slowave
    • 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 restart

      When i look the log of my FreeNAS:

      [IMG]http://image.noelshack.com/fichiers/2015/17/1429689682-freenas24.png[/IMG]

      posted in General
      SlowaveS
      Slowave
    • 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]

      posted in General
      SlowaveS
      Slowave
    • 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

      posted in General
      SlowaveS
      Slowave
    • 1 / 1