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 ?
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 ?
Thanks Wayne your help is really apreciated…
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 ?
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 ?
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:~#
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 :
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 *
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.