• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Uploaded Images won't move from /dev to /images

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    16
    2.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fritoss007
      last edited by

      Server
      • FOG Version: 1.2.0
      • OS: Ubuntu 14.04 LTS
      Client
      • Service Version:
      • OS: Windows 7
      Description

      I’m having one master node with 2 other remote nodes and I need only certain images to synch across all sites. So site related images stay local.

      I’ve created 2 storages on each sites /images/sitename_Only and /imges/sitename_Synchro.

      All .mntcheck and /dev folders created properly. Chmod -R 777 and chown -R fog:root ran on /images.

      /etc/exports modified according to olfders

      fog username and password ok as I tested it with an ftp client (create, move, upload, download and delete) a file and a folder from images folder and dev folder

      MAC folder get created in dev properly.

      all storage node in web interace are set properly with fog username and password. proper folder, storage group and interface.

      finally I have no error message at the end of the upload session.

      1 Reply Last reply Reply Quote 0
      • F
        fritoss007
        last edited by fritoss007

        Hi Wayne,

        i’ve just finished my migration and everything when smooth ! thanks for your help again…

        one last question…how can I mark this post as resolved ?

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by Wayne Workman

          Typically, this is FTP credentials related, but perhaps not this time. Perhaps this time, it’s a configuration issue and I say this only because you appear to have changed directory names around. I’m also not fully understanding how you have organized fog for your use.

          So, 1 master node, 2 remote nodes. Why would you alter the images path on any of the nodes? If each node is it’s own server, why would local paths need changed?

          I guess we should start with information collection. Please post a cropped screenshot of your “All storage nodes” page, and then please post cropped screenshots of each storage node’s settings.

          Then, please post the output of these commands for each of your 3 servers, use the code wrapper tool to put the output into:
          ls -lahRt /images;showmount -e

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • F
            fritoss007
            last edited by

            Thanks Wayne for your reply it’s really apreciated…and please forgive my bad english as I’m a french canadian !

            what I want to achive is being able to upload a image when you are on far site like “Fermont” locally only, without any synchro across the whole storage nodes, but if you need it to be synchro, then you can upload into a synchronized storage. best of both world. Remote sites are through a WAN.

            one thing though, I can make it work by moving the /site_name//dev/MAC into /site_name*/image_name from cli.

            I’m still focusing on Sept-Iles site as it is my main site.

            here are the screenshots :
            0_1481033908235_upload-7a9a517e-0ff5-4d35-b532-4e52ce847a07
            0_1481033935319_upload-ab816123-9c50-4fc9-bbee-b03fdaa2d06e
            0_1481033969910_upload-42cf0b72-7368-4db6-a926-b5c5303bcc28
            0_1481033996330_upload-1490febd-8f74-4b50-a368-a5821ad29f2c
            0_1481034017439_upload-9d7e712b-ec30-442c-af0c-172808f13984
            0_1481034039769_upload-2b1ef5ca-be59-402a-aed0-3a6d2f52db43
            0_1481034065272_upload-d981a5cf-2357-4eea-a0b8-bd4359f3f004
            0_1481034079475_upload-0b691975-9594-4cb9-ae99-edccab640e77
            0_1481034096765_upload-8a590bab-12a3-4e45-886d-6ddec2d9a2ae

            root@FOG:/images/Sept-Iles_Only/test# ls -lahRt /images;showmount -e
            /images:
            total 16K
            drwxrwxrwx  4 fog  root 4.0K Dec  6 09:13 Sept-Iles_Only
            drwxrwxrwx  9 fog  root 4.0K Dec  5 09:30 Full_Synchro
            drwxr-xr-x 26 root root 4.0K Dec  5 08:35 ..
            drwxrwxrwx  4 fog  root 4.0K Dec  5 08:35 .
            
            /images/Sept-Iles_Only:
            total 16K
            drwxrwxrwx 4 fog  root 4.0K Dec  6 09:13 .
            drwxrwxrwx 2 fog  root 4.0K Dec  6 09:13 dev
            drwxrwxrwx 2 root root 4.0K Dec  5 16:09 test
            -rwxrwxrwx 1 fog  root    0 Dec  5 08:35 .mntcheck
            drwxrwxrwx 4 fog  root 4.0K Dec  5 08:35 ..
            
            /images/Sept-Iles_Only/dev:
            total 8.0K
            drwxrwxrwx 2 fog root 4.0K Dec  6 09:13 .
            drwxrwxrwx 4 fog root 4.0K Dec  6 09:13 ..
            -rwxrwxrwx 1 fog root    0 Dec  5 08:36 .mntcheck
            
            /images/Sept-Iles_Only/test:
            total 18G
            drwxrwxrwx 4 fog  root 4.0K Dec  6 09:13 ..
            -rwxrwxrwx 1 root root  18G Dec  5 16:54 sys.img.000
            drwxrwxrwx 2 root root 4.0K Dec  5 16:09 .
            -rwxrwxrwx 1 root root 8.4M Dec  5 16:09 rec.img.000
            -rwxrwxrwx 1 root root   15 Dec  5 16:09 d1.original.fstypes
            -rwxrwxrwx 1 root root    0 Dec  5 16:09 d1.original.swapuuids
            -rwxrwxrwx 1 root root  259 Dec  5 16:09 d1.original.partitions
            -rwxrwxrwx 1 root root    2 Dec  5 16:09 d1.fixed_size_partitions
            
            /images/Full_Synchro:
            total 48K
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:30 .
            drwxrwxrwx 4 fog root 4.0K Dec  5 08:35 ..
            drwxrwxrwx 2 fog root 4.0K Dec  2 17:13 dev
            drwxrwxrwx 2 fog root 4.0K Dec  2 16:34 Win8
            drwxrwxrwx 2 fog root 4.0K Dec  2 16:15 Win7
            drwxrwxrwx 2 fog root 4.0K Dec  1 10:08 AWFPE121ALab
            drwxrwxrwx 2 fog root 4.0K Nov  9 13:28 MK223
            drwxrwxrwx 2 fog root  16K Jan 11  2016 lost+found
            drwxrwxrwx 2 fog root 4.0K Jan 11  2016 postdownloadscripts
            -rwxrwxrwx 1 fog root    0 Jan 11  2016 .mntcheck
            
            /images/Full_Synchro/dev:
            total 8.0K
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:30 ..
            drwxrwxrwx 2 fog root 4.0K Dec  2 17:13 .
            -rwxrwxrwx 1 fog root    0 Jan 11  2016 .mntcheck
            
            /images/Full_Synchro/Win8:
            total 17G
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:30 ..
            -rwxrwxrwx 1 fog root  16G Dec  2 17:13 sys.img.000
            -rwxrwxrwx 1 fog root 252M Dec  2 16:34 rec.img.000
            drwxrwxrwx 2 fog root 4.0K Dec  2 16:34 .
            -rwxrwxrwx 1 fog root   15 Dec  2 16:32 d1.original.fstypes
            -rwxrwxrwx 1 fog root    0 Dec  2 16:32 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  2 16:32 d1.original.partitions
            -rwxrwxrwx 1 fog root    2 Dec  2 16:32 d1.fixed_size_partitions
            
            /images/Full_Synchro/Win7:
            total 18G
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:30 ..
            -rwxrwxrwx 1 fog root  18G Dec  2 16:58 sys.img.000
            drwxrwxrwx 2 fog root 4.0K Dec  2 16:15 .
            -rwxrwxrwx 1 fog root 8.4M Dec  2 16:15 rec.img.000
            -rwxrwxrwx 1 fog root   15 Dec  2 16:15 d1.original.fstypes
            -rwxrwxrwx 1 fog root    0 Dec  2 16:15 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  2 16:15 d1.original.partitions
            -rwxrwxrwx 1 fog root    2 Dec  2 16:15 d1.fixed_size_partitions
            
            /images/Full_Synchro/AWFPE121ALab:
            total 25G
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:30 ..
            -rwxrwxrwx 1 fog root  25G Dec  1 11:09 sys.img.000
            drwxrwxrwx 2 fog root 4.0K Dec  1 10:08 .
            -rwxrwxrwx 1 fog root 8.4M Dec  1 10:08 rec.img.000
            -rwxrwxrwx 1 fog root   15 Dec  1 09:59 d1.original.fstypes
            -rwxrwxrwx 1 fog root    0 Dec  1 09:59 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  1 09:59 d1.original.partitions
            -rwxrwxrwx 1 fog root    2 Dec  1 09:59 d1.fixed_size_partitions
            
            /images/Full_Synchro/MK223:
            total 17G
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:30 ..
            -rwxrwxrwx 1 fog root  17G Nov  9 14:45 sys.img.000
            drwxrwxrwx 2 fog root 4.0K Nov  9 13:28 .
            -rwxrwxrwx 1 fog root 8.3M Nov  9 13:28 rec.img.000
            -rwxrwxrwx 1 fog root   15 Nov  9 13:27 d1.original.fstypes
            -rwxrwxrwx 1 fog root    0 Nov  9 13:27 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Nov  9 13:27 d1.original.partitions
            -rwxrwxrwx 1 fog root    2 Nov  9 13:27 d1.fixed_size_partitions
            
            /images/Full_Synchro/lost+found:
            total 20K
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:30 ..
            drwxrwxrwx 2 fog root  16K Jan 11  2016 .
            
            /images/Full_Synchro/postdownloadscripts:
            total 12K
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:30 ..
            drwxrwxrwx 2 fog root 4.0K Jan 11  2016 .
            -rwxrwxrwx 1 fog root  233 Jan 11  2016 fog.postdownload
            clnt_create: RPC: Unknown host
            root@FOG:/images/Sept-Iles_Only/test#
            
            root@FOG01:~# ls -lahRt /images;showmount -e
            /images:
            total 16K
            drwxrwxrwx  4 fog  root 4.0K Dec  5 09:12 .
            drwxrwxrwx  9 fog  root 4.0K Dec  5 09:12 Full_Synchro
            drwxr-xr-x 25 root root 4.0K Dec  5 09:02 ..
            drwxrwxrwx  3 fog  root 4.0K Dec  2 11:14 Port-Cartier_Only
            
            /images/Full_Synchro:
            total 36K
            drwxrwxrwx 4 fog root 4.0K Dec  5 09:12 ..
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:12 .
            drwxr-xr-x 2 fog root 4.0K Dec  5 09:09 postdownloadscripts
            drwxr-xr-x 2 fog root 4.0K Dec  5 09:09 lost+found
            drwxr-xr-x 2 fog root 4.0K Dec  5 09:02 Win8
            drwxr-xr-x 2 fog root 4.0K Dec  5 08:56 Win7
            drwxr-xr-x 2 fog root 4.0K Dec  5 08:48 MK223
            drwxr-xr-x 2 fog root 4.0K Dec  5 08:38 AWFPE121ALab
            -rwxrwxrwx 1 fog root    0 Dec  5 08:38 .mntcheck
            drwxrwxrwx 2 fog root 4.0K Jun 21 10:48 dev
            
            /images/Full_Synchro/postdownloadscripts:
            total 12K
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:12 ..
            drwxr-xr-x 2 fog root 4.0K Dec  5 09:09 .
            -rwxrwxrwx 1 fog root  233 Dec  5 09:09 fog.postdownload
            
            /images/Full_Synchro/lost+found:
            total 8.0K
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:12 ..
            drwxr-xr-x 2 fog root 4.0K Dec  5 09:09 .
            
            /images/Full_Synchro/Win8:
            total 17G
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:12 ..
            -rwxrwxrwx 1 fog root  16G Dec  5 09:08 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Dec  5 09:02 .
            -rwxrwxrwx 1 fog root 252M Dec  5 09:02 rec.img.000
            -rwxrwxrwx 1 fog root    0 Dec  5 09:02 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  5 09:02 d1.original.partitions
            -rwxrwxrwx 1 fog root   15 Dec  5 09:02 d1.original.fstypes
            -rwxrwxrwx 1 fog root    2 Dec  5 09:02 d1.fixed_size_partitions
            
            /images/Full_Synchro/Win7:
            total 18G
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:12 ..
            -rwxrwxrwx 1 fog root  18G Dec  5 09:02 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Dec  5 08:56 .
            -rwxrwxrwx 1 fog root 8.4M Dec  5 08:56 rec.img.000
            -rwxrwxrwx 1 fog root    0 Dec  5 08:56 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  5 08:56 d1.original.partitions
            -rwxrwxrwx 1 fog root   15 Dec  5 08:56 d1.original.fstypes
            -rwxrwxrwx 1 fog root    2 Dec  5 08:56 d1.fixed_size_partitions
            
            /images/Full_Synchro/MK223:
            total 17G
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:12 ..
            -rwxrwxrwx 1 fog root  17G Dec  5 08:55 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Dec  5 08:48 .
            -rwxrwxrwx 1 fog root 8.3M Dec  5 08:48 rec.img.000
            -rwxrwxrwx 1 fog root    0 Dec  5 08:48 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  5 08:48 d1.original.partitions
            -rwxrwxrwx 1 fog root   15 Dec  5 08:48 d1.original.fstypes
            -rwxrwxrwx 1 fog root    2 Dec  5 08:48 d1.fixed_size_partitions
            
            /images/Full_Synchro/AWFPE121ALab:
            total 25G
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:12 ..
            -rwxrwxrwx 1 fog root  25G Dec  5 08:48 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Dec  5 08:38 .
            -rwxrwxrwx 1 fog root 8.4M Dec  5 08:38 rec.img.000
            -rwxrwxrwx 1 fog root    0 Dec  5 08:38 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  5 08:38 d1.original.partitions
            -rwxrwxrwx 1 fog root   15 Dec  5 08:38 d1.original.fstypes
            -rwxrwxrwx 1 fog root    2 Dec  5 08:38 d1.fixed_size_partitions
            
            /images/Full_Synchro/dev:
            total 8.0K
            drwxrwxrwx 9 fog root 4.0K Dec  5 09:12 ..
            drwxrwxrwx 2 fog root 4.0K Jun 21 10:48 .
            -rwxrwxrwx 1 fog root    0 Jun 21 10:48 .mntcheck
            
            /images/Port-Cartier_Only:
            total 12K
            drwxrwxrwx 4 fog root 4.0K Dec  5 09:12 ..
            drwxrwxrwx 2 fog root 4.0K Dec  2 11:14 dev
            drwxrwxrwx 3 fog root 4.0K Dec  2 11:14 .
            -rwxrwxrwx 1 fog root    0 Dec  2 11:14 .mntcheck
            
            /images/Port-Cartier_Only/dev:
            total 8.0K
            drwxrwxrwx 2 fog root 4.0K Dec  2 11:14 .
            -rwxrwxrwx 1 fog root    0 Dec  2 11:14 .mntcheck
            drwxrwxrwx 3 fog root 4.0K Dec  2 11:14 ..
            Export list for FOG01:
            /images/Port-Cartier_Only/dev *
            /images/Port-Cartier_Only     *
            /images/Full_Synchro/dev      *
            /images/Full_Synchro          *
            
            root@FOG01:~# ls -lahRt /images;showmount -e
            /images:
            total 20K
            drwxr-xr-x  2 fog  root 4.0K Dec  5 09:19 AWFPE121ALab
            drwxrwxrwx  5 fog  root 4.0K Dec  5 09:19 .
            -rw-r--r--  1 fog  root    0 Dec  5 09:19 .mntcheck
            drwxr-xr-x 24 root root 4.0K Dec  5 09:00 ..
            drwxrwxrwx  3 fog  root 4.0K Dec  5 08:59 Fermont_Only
            drwxrwxrwx  9 fog  root 4.0K Dec  5 08:30 Full_Synchro
            
            /images/AWFPE121ALab:
            total 20G
            -rw-r--r-- 1 fog root  20G Dec  5 13:17 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Dec  5 09:19 .
            -rw-r--r-- 1 fog root 8.4M Dec  5 09:19 rec.img.000
            -rw-r--r-- 1 fog root    0 Dec  5 09:19 d1.original.swapuuids
            -rw-r--r-- 1 fog root  259 Dec  5 09:19 d1.original.partitions
            -rw-r--r-- 1 fog root   15 Dec  5 09:19 d1.original.fstypes
            -rw-r--r-- 1 fog root    2 Dec  5 09:19 d1.fixed_size_partitions
            drwxrwxrwx 5 fog root 4.0K Dec  5 09:19 ..
            
            /images/Fermont_Only:
            total 12K
            drwxrwxrwx 5 fog root 4.0K Dec  5 09:19 ..
            drwxrwxrwx 2 fog root 4.0K Dec  5 08:59 dev
            drwxrwxrwx 3 fog root 4.0K Dec  5 08:59 .
            -rwxrwxrwx 1 fog root    0 Dec  5 08:38 .mntcheck
            
            /images/Fermont_Only/dev:
            total 8.0K
            drwxrwxrwx 2 fog root 4.0K Dec  5 08:59 .
            -rwxrwxrwx 1 fog root    0 Dec  5 08:59 .mntcheck
            drwxrwxrwx 3 fog root 4.0K Dec  5 08:59 ..
            
            /images/Full_Synchro:
            total 48K
            drwxrwxrwx 5 fog root 4.0K Dec  5 09:19 ..
            drwxrwxrwx 9 fog root 4.0K Dec  5 08:30 .
            drwxr-xr-x 2 fog root 4.0K Dec  2 18:41 Win8
            drwxr-xr-x 2 fog root 4.0K Dec  2 17:03 Win7
            drwxr-xr-x 2 fog root 4.0K Dec  2 09:41 AWFPE121ALab
            drwxr-xr-x 2 fog root 4.0K Nov  9 14:52 MK223
            -rwxrwxrwx 1 fog root    0 Aug 16 14:37 .mntcheck
            drwxrwxrwx 2 fog root 4.0K Aug 16 13:55 dev
            drwxr-xr-x 2 fog root 4.0K Aug 16 13:55 postdownloadscripts
            drwxr-xr-x 2 fog root  16K Jun 21 14:24 lost+found
            
            /images/Full_Synchro/Win8:
            total 17G
            drwxrwxrwx 9 fog root 4.0K Dec  5 08:30 ..
            -rwxrwxrwx 1 fog root  16G Dec  2 20:04 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Dec  2 18:41 .
            -rwxrwxrwx 1 fog root 252M Dec  2 18:41 rec.img.000
            -rwxrwxrwx 1 fog root    0 Dec  2 18:40 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  2 18:40 d1.original.partitions
            -rwxrwxrwx 1 fog root   15 Dec  2 18:40 d1.original.fstypes
            -rwxrwxrwx 1 fog root    2 Dec  2 18:40 d1.fixed_size_partitions
            
            /images/Full_Synchro/Win7:
            total 18G
            drwxrwxrwx 9 fog root 4.0K Dec  5 08:30 ..
            -rwxrwxrwx 1 fog root  18G Dec  2 18:40 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Dec  2 17:03 .
            -rwxrwxrwx 1 fog root 8.4M Dec  2 17:03 rec.img.000
            -rwxrwxrwx 1 fog root    0 Dec  2 17:03 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  2 17:03 d1.original.partitions
            -rwxrwxrwx 1 fog root   15 Dec  2 17:03 d1.original.fstypes
            -rwxrwxrwx 1 fog root    2 Dec  2 17:03 d1.fixed_size_partitions
            
            /images/Full_Synchro/AWFPE121ALab:
            total 25G
            drwxrwxrwx 9 fog root 4.0K Dec  5 08:30 ..
            -rwxrwxrwx 1 fog root  25G Dec  2 12:37 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Dec  2 09:41 .
            -rwxrwxrwx 1 fog root 8.4M Dec  2 09:41 rec.img.000
            -rwxrwxrwx 1 fog root    0 Dec  2 09:41 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Dec  2 09:41 d1.original.partitions
            -rwxrwxrwx 1 fog root   15 Dec  2 09:41 d1.original.fstypes
            -rwxrwxrwx 1 fog root    2 Dec  2 09:41 d1.fixed_size_partitions
            
            /images/Full_Synchro/MK223:
            total 17G
            drwxrwxrwx 9 fog root 4.0K Dec  5 08:30 ..
            -rwxrwxrwx 1 fog root  17G Nov  9 16:33 sys.img.000
            drwxr-xr-x 2 fog root 4.0K Nov  9 14:52 .
            -rwxrwxrwx 1 fog root 8.3M Nov  9 14:52 rec.img.000
            -rwxrwxrwx 1 fog root    0 Nov  9 14:52 d1.original.swapuuids
            -rwxrwxrwx 1 fog root  259 Nov  9 14:52 d1.original.partitions
            -rwxrwxrwx 1 fog root   15 Nov  9 14:52 d1.original.fstypes
            -rwxrwxrwx 1 fog root    2 Nov  9 14:52 d1.fixed_size_partitions
            
            /images/Full_Synchro/dev:
            total 8.0K
            drwxrwxrwx 9 fog root 4.0K Dec  5 08:30 ..
            drwxrwxrwx 2 fog root 4.0K Aug 16 13:55 .
            -rwxrwxrwx 1 fog root    0 Aug 16 13:55 .mntcheck
            
            /images/Full_Synchro/postdownloadscripts:
            total 12K
            drwxrwxrwx 9 fog root 4.0K Dec  5 08:30 ..
            drwxr-xr-x 2 fog root 4.0K Aug 16 13:55 .
            -rwxrwxrwx 1 fog root  233 Aug 16 13:55 fog.postdownload
            
            /images/Full_Synchro/lost+found:
            total 20K
            drwxrwxrwx 9 fog root 4.0K Dec  5 08:30 ..
            drwxr-xr-x 2 fog root  16K Jun 21 14:24 .
            Export list for FOG01:
            /images/Fermont_Only/dev *
            /images/Fermont_Only     *
            /images/FullSynchro/dev  *
            /images/Full_Synchro     *
            
            1 Reply Last reply Reply Quote 0
            • F
              fritoss007
              last edited by

              here are my exports settings :

              root@FOG:/images/Sept-Iles_Only/test# cat /etc/exports
              /images/Full_Synchro                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1)
              /images/Full_Synchro/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
              /images/Sept-Iles_Only                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3)
              /images/Sept-Iles_Only/dev/                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4)
              root@FOG:/images/Sept-Iles_Only/test#
              
              root@FOG01:~# cat /etc/exports
              /images/Full_Synchro                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1)
              /images/FullSynchro/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
              /images/Fermont_Only                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3)
              /images/Fermont_Only/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4)
              root@FOG01:~#
              
              root@FOG01:~# cat /etc/exports
              /images/Full_Synchro                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1)
              /images/Full_Synchro/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
              /images/Port-Cartier_Only                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3)
              /images/Port-Cartier_Only/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4)
              root@FOG01:~#
              
              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @fritoss007
                last edited by Wayne Workman

                @fritoss007 Lots of good information here, I understand what you’re trying to do.

                1. You probably created all of these sub-directories inside of /images because you realized that you can’t have two nodes on the same machine sharing the same directory and replication still work. This is solved in FOG 1.3.0 Release Candidate, I had a setup like this at my last job where one FOG Server had two storage node definitions on it - each residing in the exact same directory, and each node being a member of a different group. This would greatly simplify your setup. Also, FOG 1.3.0 Release Candidate allows you to simply turn off replication for an image if you like (it’s a checkbox), and also allows for cross-group sharing. So you could in theory have each node in it’s own group and no other, and simply share the images you want shared from the main group to the other groups. So there are more robust ways of approaching what you want to accomplish with replication in FOG 1.3.0 release candidate. You can update all three servers to FOG 1.3.0 Release Candidate by following these instructions: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                2. The showmount -e command error’d out on the Sept_Iles server. Try running this command on that server by itself and see what happens. It could be that RPC isn’t running.

                3. Inside of /etc/exports the fsid= field should start with 0 and count upwards from there, like 0, 1, 2, 3. This is another thing (among thousands of things) that is fixed in FOG 1.3.0 RC. If you upgrade, you’ll not need to customize /etc/exports so it would become a non-issue.

                4. I can probably model exactly what you would want and post screenshots of it, this would be pertaining to 1.3.0 RC though.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by Wayne Workman

                  Here is how you would probably want to organize your three FOG storage nodes in FOG 1.3.0 Release Candidate. Of course you can deviate and do what you feel is best.

                  Below, each node is a member of it’s own group, and is the master of that group. Below, I included a picture of what image sharing between groups looks like. Below, I’ve illustrated how one individual image belonging to one of the groups can be shared with the other groups. In this setup, the “Primary Group”, the one marked as primary on the image (big green checkbox) is the node where image captures for that image would go to. From this master storage node, it’s then replicated to any other group it’s shared with to the foreign group’s master node, first. From the masters, as normal, the masters replicate to other members in their group if you should add nodes to any of these groups in the future.

                  I’ve highlighted areas that will be of interest to you.

                  0_1481076189987_All Storage Groups.png

                  0_1481076508738_Image Options.png

                  0_1481076210261_Image storage groups.png

                  \

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • F
                    fritoss007
                    last edited by fritoss007

                    Thanks a lot Wayne for your replies. So from what I can understand I should move to 1.3.0 ? is this version stable enough for a production environnement ?

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @fritoss007
                      last edited by Wayne Workman

                      @fritoss007 The current 1.3.0 release candidate has less problems than 1.2.0 has. It performs faster. It has support for things you will need support for, like nvme disks, ssd disks, flash disks, Surface Pros, and just new hardware in general. It also supports Win10. All the below stuff I mentioned about replication applies too, and that’s just one area of improvement. Everything is better. Problems with 1.3.0 are getting fewer and fewer with each release candidate I won’t say it’s perfect (it’s not), but I think it’s worth it.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • F
                        fritoss007
                        last edited by

                        Thanks Wayne I’ll think about that migration on christmas vacation…it could be the right time to do it…

                        any hints on migration to 1.3.0 ?

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @fritoss007
                          last edited by Wayne Workman

                          @fritoss007 Not really, you’re on Ubuntu 14 which typically has the least problems (for Ubuntu distros). Back up your database first via FOG Configuration -> Configuration Save -> Export.

                          After the upgrade, the first thing you’ll want to do is straighten out your storage groups and nodes, and then go straighten out your images (what storage groups they belong to, which are primary, etc.). You may want to do some screencaps of what groups the images are currently in.

                          I posted the link for how to upgrade below in an older post.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • F
                            fritoss007
                            last edited by

                            Thanks Wayne your help is really apreciated…

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @fritoss007
                              last edited by

                              @fritoss007 These two articles may assist in helping you understand the new replication features, and the location plugin should you choose to use it.

                              https://wiki.fogproject.org/wiki/index.php?title=Replication
                              https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 0
                              • F
                                fritoss007
                                last edited by fritoss007

                                Hi Wayne,

                                i’ve just finished my migration and everything when smooth ! thanks for your help again…

                                one last question…how can I mark this post as resolved ?

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @fritoss007
                                  last edited by

                                  @fritoss007 Just ask and we can resolve posts.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fritoss007
                                    last edited by

                                    Wayne resolved it…thanks !

                                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @fritoss007
                                      last edited by

                                      @fritoss007 No I did, but that doesn’t matter.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post

                                      155

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project