Fog Server on a Container Station in Qnap
-
@Sebastian-Roth Thats really hard to explain the problems… buti think i found the problem why if i want to capture or upload an image, the connection is refused.
The installer have only created a user named fogproject.
If i am login in fog management webpage with fog and starting the capture/upload,… then i think the user i loggin in “fog” have no permission. I looked up on my old Fogserver, and there are two fog user fog foguser and fogproject.Also if i create a new user in fog page, there is no user in the debian system. How du you add user fog into the system?
Would this be ok: ?
useradd -m -p $(echo “passwd” | openssl passwd -1 -stdin) -g fogproject -G fogproject fog -
@Hope1983 So the UI user/pass is not the same as the account FOG uses for managing permissions at the system level.
The normal reason a connection is refused is not due to the user who created the task vs the user the application is installed under.
Normally, the issue of connection is refused is double sharing in the same component structure that shared in the first place.
What do I mean.
Say your qnap storage is shared via NFS. And mounted on your fogserver as under /images
FOG then NFS shares /images to the devices.
You cannot share an NFS shared point as an NFS share. If you can do a block level share from QNAP to your FOG Server, you should be fine.
-
I just tested on my QNAP.
I have allow write to my fogserver IP, mount and tested file creation and it works fine.
I can’t do more test (such as creating images folder to test deploy) since my fogserver is on private network that I can’t access from work network. -
@jmeyer how can i access into the place on your second picture “Modifier l’autorisation du dossier partage”
Fog was running very well for years on a qnap Virualization Center(qnap 453 Pro). But now it is on a Containerstation with arm architecture. (Qnap TS-431XeU)
But i have installed everything so far, that the webpage is running,DHCP working and PXE Booting is giving the Fog Menü… ok but if i capture or deploy, its running well until the mounting problem… -
Here it is my problem while Capturing or Uploading
-
@Hope1983 The “connection refused” error points to the fact the NFS share cannot be mounted because
- the share does not exist
- NFS is not working in the container at all (I remember posts about NFS issues with proxmox containers)
- a firewall is blocking the NFS traffic
I suggest you boot up some Linux system e.g. any kind of Linux live CD). From that try to mount the NFS share manually.
As well in the FOG server open a console and run the following commands and post output here:
exportfs ls -alR /images
-
hm, how do i mount the nfs share manually?
Here is what this gives :
/images <world> /images/dev <world> /images: total 128 drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 . drwxr-xr-x 1 root root 4096 Feb 14 08:17 .. -rwxrwxrwx 1 fogproject root 0 Feb 5 10:31 .mntcheck drwxrwxrwx 2 fogproject root 4096 Feb 5 17:42 402_windows7_adminimage drwxrwxrwx 2 fogproject root 4096 Feb 5 18:04 Bluechip2019_Lehrerzimmer drwxrwxrwx 2 fogproject root 4096 Feb 5 18:10 Bluechip2020_lehrerzimmer drwxrwxrwx 2 fogproject root 4096 Feb 5 17:47 Bluechip4thGenWin10ProEdu drwxrwxrwx 2 fogproject root 4096 Feb 5 18:15 DELL_Windows10_Edu_2019 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:18 HP_Laptop_2019_Original drwxrwxrwx 2 fogproject root 4096 Feb 5 18:35 HpLap2019_Win10 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:47 R403Win10EDU drwxrwxrwx 2 fogproject root 4096 Feb 5 20:29 Ubuntu drwxrwxrwx 2 fogproject root 4096 Feb 5 17:44 alteLenovoLaptops_R60 drwxrwxrwx 3 fogproject root 4096 Feb 5 10:31 dev drwxrwxrwx 2 fogproject root 4096 Feb 5 18:30 hp2018_11_1 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:47 interactive2020bluechip drwxrwxrwx 2 fogproject root 4096 Feb 5 10:31 postdownloadscripts drwxrwxrwx 2 fogproject root 4096 Feb 5 18:38 r402_Linux_Windows_Cramer drwxrwxrwx 2 fogproject root 4096 Feb 5 19:16 r402_Win10Edu_bluechip2020 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:20 r402_Win10Edu_bluechip2020-30 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:43 r402_neu_2019_win7 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:55 r402_win10_cramer drwxrwxrwx 2 fogproject root 4096 Feb 5 18:51 r402_win7_unakt_MBR drwxrwxrwx 2 fogproject root 4096 Feb 5 19:35 r403S_win10_mbr drwxrwxrwx 2 fogproject root 4096 Feb 5 19:46 r403_win10_wie406 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:27 r403s_win7 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:50 r404_Acer_Linux_Budgie drwxrwxrwx 2 fogproject root 4096 Feb 5 20:18 r404_bluechip_tripleboot drwxrwxrwx 2 fogproject root 4096 Feb 5 20:12 r406_alt_letztesImage drwxrwxrwx 2 fogproject root 4096 Feb 5 20:47 r406_win10_2019 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:20 r406_win7_mbr drwxrwxrwx 2 fogproject root 4096 Feb 5 20:27 t2016HP_win10 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:30 windows10unversiegeltUEFI /images/402_windows7_adminimage: total 16301452 drwxrwxrwx 2 fogproject root 4096 Feb 5 17:42 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 3 Jul 22 2019 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Jul 22 2019 d1.mbr -rwxrwxrwx 1 fogproject root 190 Jul 22 2019 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 15 Jul 22 2019 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jul 22 2019 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 190 Jul 22 2019 d1.partitions -rwxrwxrwx 1 fogproject root 8649539 Jul 22 2019 d1p1.img -rwxrwxrwx 1 fogproject root 16682946551 Jul 22 2019 d1p2.img /images/Bluechip2019_Lehrerzimmer: total 36808296 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:04 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 7 Dec 4 2020 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Dec 4 2020 d1.mbr -rwxrwxrwx 1 fogproject root 826 Dec 4 2020 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 30 Dec 4 2020 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Dec 4 2020 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 283 Dec 4 2020 d1.original.uuids -rwxrwxrwx 1 fogproject root 826 Dec 4 2020 d1.partitions -rwxrwxrwx 1 fogproject root 12926204 Dec 4 2020 d1p1.img -rwxrwxrwx 1 fogproject root 2265790 Dec 4 2020 d1p2.img -rwxrwxrwx 1 fogproject root 37660550917 Dec 4 2020 d1p3.img -rwxrwxrwx 1 fogproject root 14826205 Dec 4 2020 d1p4.img /images/Bluechip2020_lehrerzimmer: total 45043972 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:10 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 4 Sep 16 2021 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Sep 16 2021 d1.mbr -rwxrwxrwx 1 fogproject root 1023 Sep 16 2021 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 45 Sep 16 2021 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Sep 16 2021 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 1023 Sep 16 2021 d1.partitions -rwxrwxrwx 1 fogproject root 10260889 Sep 16 2021 d1p1.img -rwxrwxrwx 1 fogproject root 331752 Sep 16 2021 d1p2.img -rwxrwxrwx 1 fogproject root 45552448143 Sep 16 2021 d1p3.img -rwxrwxrwx 1 fogproject root 551847690 Sep 16 2021 d1p4.img -rwxrwxrwx 1 fogproject root 9000624 Sep 16 2021 d1p5.img /images/Bluechip4thGenWin10ProEdu: total 9654104 drwxrwxrwx 2 fogproject root 4096 Feb 5 17:47 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 3 Jul 3 2020 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Jul 3 2020 d1.mbr -rwxrwxrwx 1 fogproject root 191 Jul 3 2020 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 15 Jul 3 2020 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jul 3 2020 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 191 Jul 3 2020 d1.partitions -rwxrwxrwx 1 fogproject root 9408732973 Jul 3 2020 d1p1.img -rwxrwxrwx 1 fogproject root 475979161 Jul 3 2020 d1p2.img /images/DELL_Windows10_Edu_2019: total 20120288 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:15 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 5 Sep 2 2020 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Sep 2 2020 d1.mbr -rwxrwxrwx 1 fogproject root 865 Sep 2 2020 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 40 Sep 2 2020 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Sep 2 2020 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 302 Sep 2 2020 d1.original.uuids -rwxrwxrwx 1 fogproject root 865 Sep 2 2020 d1.partitions -rwxrwxrwx 1 fogproject root 13392593 Sep 2 2020 d1p1.img -rwxrwxrwx 1 fogproject root 9882282 Sep 2 2020 d1p2.img -rwxrwxrwx 1 fogproject root 20227404825 Sep 2 2020 d1p3.img -rwxrwxrwx 1 fogproject root 351381908 Sep 2 2020 d1p4.img /images/HP_Laptop_2019_Original: total 14835804 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:18 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 9 Oct 4 2019 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Oct 4 2019 d1.mbr -rwxrwxrwx 1 fogproject root 885 Oct 4 2019 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 20 Oct 4 2019 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Oct 4 2019 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 302 Oct 4 2019 d1.original.uuids -rwxrwxrwx 1 fogproject root 885 Oct 4 2019 d1.partitions -rwxrwxrwx 1 fogproject root 31433356 Oct 4 2019 d1p1.img -rwxrwxrwx 1 fogproject root 958639 Oct 4 2019 d1p2.img -rwxrwxrwx 1 fogproject root 14559648563 Oct 4 2019 d1p3.img -rwxrwxrwx 1 fogproject root 598712783 Oct 4 2019 d1p4.img /images/HpLap2019_Win10: total 34041112 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:35 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 4 May 19 2021 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 May 19 2021 d1.mbr -rwxrwxrwx 1 fogproject root 902 May 19 2021 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 40 May 19 2021 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 May 19 2021 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 902 May 19 2021 d1.partitions -rwxrwxrwx 1 fogproject root 30508689 May 19 2021 d1p1.img -rwxrwxrwx 1 fogproject root 703862 May 19 2021 d1p2.img -rwxrwxrwx 1 fogproject root 34108127736 May 19 2021 d1p3.img -rwxrwxrwx 1 fogproject root 717639118 May 19 2021 d1p4.img /images/R403Win10EDU: total 23277308 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:47 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 5 Mar 20 2019 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Mar 20 2019 d1.mbr -rwxrwxrwx 1 fogproject root 249 Mar 20 2019 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 15 Mar 20 2019 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Mar 20 2019 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 249 Mar 20 2019 d1.partitions -rwxrwxrwx 1 fogproject root 10360477 Mar 20 2019 d1p1.img -rwxrwxrwx 1 fogproject root 23406934229 Mar 20 2019 d1p2.img -rwxrwxrwx 1 fogproject root 417554883 Mar 20 2019 d1p3.img /images/Ubuntu: total 4323196 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:29 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 5 Dec 9 2020 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 0 Dec 9 2020 d1.has_grub -rwxrwxrwx 1 fogproject root 1048576 Dec 9 2020 d1.mbr -rwxrwxrwx 1 fogproject root 249 Dec 9 2020 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 16 Dec 9 2020 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Dec 9 2020 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 249 Dec 9 2020 d1.partitions -rwxrwxrwx 1 fogproject root 16417 Dec 9 2020 d1p1.img -rwxrwxrwx 1 fogproject root 512 Dec 9 2020 d1p2.ebr -rwxrwxrwx 1 fogproject root 512 Dec 9 2020 d1p5.ebr -rwxrwxrwx 1 fogproject root 4425841872 Dec 9 2020 d1p5.img /images/alteLenovoLaptops_R60: total 20195892 drwxrwxrwx 2 fogproject root 4096 Feb 5 17:44 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 3 Nov 26 2020 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Nov 26 2020 d1.mbr -rwxrwxrwx 1 fogproject root 249 Nov 26 2020 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 30 Nov 26 2020 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Nov 26 2020 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 249 Nov 26 2020 d1.partitions -rwxrwxrwx 1 fogproject root 354798121 Nov 26 2020 d1p1.img -rwxrwxrwx 1 fogproject root 19955978841 Nov 26 2020 d1p2.img -rwxrwxrwx 1 fogproject root 368701504 Nov 26 2020 d1p3.img /images/dev: total 12 drwxrwxrwx 3 fogproject root 4096 Feb 5 10:31 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 0 Feb 5 10:31 .mntcheck drwxrwxrwx 2 fogproject root 4096 Feb 5 10:31 postinitscripts /images/dev/postinitscripts: total 12 drwxrwxrwx 2 fogproject root 4096 Feb 5 10:31 . drwxrwxrwx 3 fogproject root 4096 Feb 5 10:31 .. -rwxrwxrwx 1 fogproject root 249 Feb 5 10:31 fog.postinit /images/hp2018_11_1: total 29086768 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:30 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 6 May 19 2021 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 May 19 2021 d1.mbr -rwxrwxrwx 1 fogproject root 902 May 19 2021 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 20 May 19 2021 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 May 19 2021 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 902 May 19 2021 d1.partitions -rwxrwxrwx 1 fogproject root 33191492 May 19 2021 d1p1.img -rwxrwxrwx 1 fogproject root 16772320 May 19 2021 d1p2.img -rwxrwxrwx 1 fogproject root 29219068073 May 19 2021 d1p3.img -rwxrwxrwx 1 fogproject root 514702007 May 19 2021 d1p4.img /images/interactive2020bluechip: total 32417140 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:47 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 6 Jun 15 2021 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Jun 15 2021 d1.mbr -rwxrwxrwx 1 fogproject root 878 Jun 15 2021 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 15 Jun 15 2021 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jun 15 2021 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 878 Jun 15 2021 d1.partitions -rwxrwxrwx 1 fogproject root 10117299 Jun 15 2021 d1p1.img -rwxrwxrwx 1 fogproject root 5267 Jun 15 2021 d1p2.img -rwxrwxrwx 1 fogproject root 32733777850 Jun 15 2021 d1p3.img -rwxrwxrwx 1 fogproject root 450129839 Jun 15 2021 d1p4.img /images/postdownloadscripts: total 12 drwxrwxrwx 2 fogproject root 4096 Feb 5 10:31 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 235 Feb 5 10:31 fog.postdownload /images/r402_Linux_Windows_Cramer: total 4874560 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:38 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 1 Oct 14 2020 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 0 Oct 14 2020 d1.has_grub -rwxrwxrwx 1 fogproject root 1048576 Oct 14 2020 d1.mbr -rwxrwxrwx 1 fogproject root 133 Oct 14 2020 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 16 Oct 14 2020 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Oct 14 2020 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 133 Oct 14 2020 d1.partitions -rwxrwxrwx 1 fogproject root 4990467781 Oct 14 2020 d1p1.img /images/r402_Win10Edu_bluechip2020: total 48035640 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:16 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 4 Nov 4 2021 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Nov 4 2021 d1.mbr -rwxrwxrwx 1 fogproject root 894 Nov 4 2021 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 40 Nov 4 2021 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Nov 4 2021 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 894 Nov 4 2021 d1.partitions -rwxrwxrwx 1 fogproject root 13372247 Nov 4 2021 d1p1.img -rwxrwxrwx 1 fogproject root 18628 Nov 4 2021 d1p2.img -rwxrwxrwx 1 fogproject root 48693601596 Nov 4 2021 d1p3.img -rwxrwxrwx 1 fogproject root 480364212 Nov 4 2021 d1p4.img /images/r402_Win10Edu_bluechip2020-30: total 48542088 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:20 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 4 Jan 11 2022 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Jan 11 2022 d1.mbr -rwxrwxrwx 1 fogproject root 894 Jan 11 2022 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 40 Jan 11 2022 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jan 11 2022 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 894 Jan 11 2022 d1.partitions -rwxrwxrwx 1 fogproject root 13373270 Jan 11 2022 d1p1.img -rwxrwxrwx 1 fogproject root 18628 Jan 11 2022 d1p2.img -rwxrwxrwx 1 fogproject root 49212203287 Jan 11 2022 d1p3.img -rwxrwxrwx 1 fogproject root 480364292 Jan 11 2022 d1p4.img /images/r402_neu_2019_win7: total 8805436 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:43 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 3 Jun 19 2020 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Jun 19 2020 d1.mbr -rwxrwxrwx 1 fogproject root 190 Jun 19 2020 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 15 Jun 19 2020 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jun 19 2020 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 190 Jun 19 2020 d1.partitions -rwxrwxrwx 1 fogproject root 9414449 Jun 19 2020 d1p1.img -rwxrwxrwx 1 fogproject root 9006262675 Jun 19 2020 d1p2.img /images/r402_win10_cramer: total 14835696 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:55 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 4 Jan 21 2021 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Jan 21 2021 d1.mbr -rwxrwxrwx 1 fogproject root 208 Jan 21 2021 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 0 Jan 21 2021 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jan 21 2021 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 208 Jan 21 2021 d1.partitions -rwxrwxrwx 1 fogproject root 14701408130 Jan 21 2021 d1p1.img -rwxrwxrwx 1 fogproject root 489254096 Jan 21 2021 d1p2.img /images/r402_win7_unakt_MBR: total 15616104 drwxrwxrwx 2 fogproject root 4096 Feb 5 18:51 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 3 Sep 19 2019 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Sep 19 2019 d1.mbr -rwxrwxrwx 1 fogproject root 190 Sep 19 2019 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 15 Sep 19 2019 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Sep 19 2019 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 190 Sep 19 2019 d1.partitions -rwxrwxrwx 1 fogproject root 8588222 Sep 19 2019 d1p1.img -rwxrwxrwx 1 fogproject root 15981209363 Sep 19 2019 d1p2.img /images/r403S_win10_mbr: total 16077232 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:35 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 3 May 31 2019 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 May 31 2019 d1.mbr -rwxrwxrwx 1 fogproject root 249 May 31 2019 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 30 May 31 2019 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 May 31 2019 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 249 May 31 2019 d1.partitions -rwxrwxrwx 1 fogproject root 10342149 May 31 2019 d1p1.img -rwxrwxrwx 1 fogproject root 16034098486 May 31 2019 d1p2.img -rwxrwxrwx 1 fogproject root 417547128 May 31 2019 d1p3.img /images/r403_win10_wie406: total 56402388 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:46 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 4 Jan 12 2022 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Jan 12 2022 d1.mbr -rwxrwxrwx 1 fogproject root 1023 Jan 12 2022 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 45 Jan 12 2022 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jan 12 2022 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 1023 Jan 12 2022 d1.partitions -rwxrwxrwx 1 fogproject root 13290107 Jan 12 2022 d1p1.img -rwxrwxrwx 1 fogproject root 474404 Jan 12 2022 d1p2.img -rwxrwxrwx 1 fogproject root 57277578931 Jan 12 2022 d1p3.img -rwxrwxrwx 1 fogproject root 449804110 Jan 12 2022 d1p4.img -rwxrwxrwx 1 fogproject root 13751230 Jan 12 2022 d1p5.img /images/r403s_win7: total 12209712 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:27 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 1048576 Oct 23 2018 d1.mbr -rwxrwxrwx 1 fogproject root 215 Oct 23 2018 d1.original.uuids -rwxrwxrwx 1 fogproject root 661 Oct 23 2018 d1.partitions -rwxrwxrwx 1 fogproject root 9522969 Oct 23 2018 d1p1.img -rwxrwxrwx 1 fogproject root 57878362 Oct 23 2018 d1p2.img -rwxrwxrwx 1 fogproject root 12434257508 Oct 23 2018 d1p3.img /images/r404_Acer_Linux_Budgie: total 8032040 drwxrwxrwx 2 fogproject root 4096 Feb 5 19:50 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 1 Jan 14 2021 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 0 Jan 14 2021 d1.has_grub -rwxrwxrwx 1 fogproject root 1048576 Jan 14 2021 d1.mbr -rwxrwxrwx 1 fogproject root 150 Jan 14 2021 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 16 Jan 14 2021 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jan 14 2021 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 150 Jan 14 2021 d1.partitions -rwxrwxrwx 1 fogproject root 8223726622 Jan 14 2021 d1p1.img /images/r404_bluechip_tripleboot: total 78789740 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:18 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 2 Oct 7 2021 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 0 Oct 7 2021 d1.has_grub -rwxrwxrwx 1 fogproject root 1048576 Oct 7 2021 d1.mbr -rwxrwxrwx 1 fogproject root 267 Oct 7 2021 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 32 Oct 7 2021 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Oct 7 2021 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 267 Oct 7 2021 d1.partitions -rwxrwxrwx 1 fogproject root 59252295476 Oct 7 2021 d1p1.img -rwxrwxrwx 1 fogproject root 10348546646 Oct 7 2021 d1p2.img -rwxrwxrwx 1 fogproject root 11078688278 Oct 7 2021 d1p3.img /images/r406_alt_letztesImage: total 19551080 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:12 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 1 Dec 3 2018 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Dec 3 2018 d1.mbr -rwxrwxrwx 1 fogproject root 190 Dec 3 2018 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 30 Dec 3 2018 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Dec 3 2018 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 190 Dec 3 2018 d1.partitions -rwxrwxrwx 1 fogproject root 8523942 Dec 3 2018 d1p1.img -rwxrwxrwx 1 fogproject root 20010680200 Dec 3 2018 d1p2.img /images/r406_win10_2019: total 60240756 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:47 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 4 Jan 26 2022 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Jan 26 2022 d1.mbr -rwxrwxrwx 1 fogproject root 1023 Jan 26 2022 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 45 Jan 26 2022 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Jan 26 2022 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 1023 Jan 26 2022 d1.partitions -rwxrwxrwx 1 fogproject root 13291706 Jan 26 2022 d1p1.img -rwxrwxrwx 1 fogproject root 474410 Jan 26 2022 d1p2.img -rwxrwxrwx 1 fogproject root 61206477197 Jan 26 2022 d1p3.img -rwxrwxrwx 1 fogproject root 451420323 Jan 26 2022 d1p4.img -rwxrwxrwx 1 fogproject root 13747487 Jan 26 2022 d1p5.img /images/r406_win7_mbr: total 15067528 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:20 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 1 Oct 16 2018 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Oct 16 2018 d1.mbr -rwxrwxrwx 1 fogproject root 190 Oct 16 2018 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 30 Oct 16 2018 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Oct 16 2018 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 190 Oct 16 2018 d1.partitions -rwxrwxrwx 1 fogproject root 8468008 Oct 16 2018 d1p1.img -rwxrwxrwx 1 fogproject root 15419584730 Oct 16 2018 d1p2.img /images/t2016HP_win10: total 12959904 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:27 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 1048576 Oct 24 2018 d1.mbr -rwxrwxrwx 1 fogproject root 302 Oct 24 2018 d1.original.uuids -rwxrwxrwx 1 fogproject root 885 Oct 24 2018 d1.partitions -rwxrwxrwx 1 fogproject root 33318124 Oct 24 2018 d1p1.img -rwxrwxrwx 1 fogproject root 16903594 Oct 24 2018 d1p2.img -rwxrwxrwx 1 fogproject root 12859373542 Oct 24 2018 d1p3.img -rwxrwxrwx 1 fogproject root 360257370 Oct 24 2018 d1p4.img /images/windows10unversiegeltUEFI: total 2482920 drwxrwxrwx 2 fogproject root 4096 Feb 5 20:30 . drwxrwxrwx 32 fogproject root 4096 Feb 5 20:29 .. -rwxrwxrwx 1 fogproject root 5 Oct 22 2018 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1048576 Oct 22 2018 d1.mbr -rwxrwxrwx 1 fogproject root 861 Oct 22 2018 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 30 Oct 22 2018 d1.original.fstypes -rwxrwxrwx 1 fogproject root 283 Oct 22 2018 d1.original.uuids -rwxrwxrwx 1 fogproject root 395750416 Oct 22 2018 d1p1.img -rwxrwxrwx 1 fogproject root 13391806 Oct 22 2018 d1p2.img -rwxrwxrwx 1 fogproject root 254129 Oct 22 2018 d1p3.img -rwxrwxrwx 1 fogproject root 2132022950 Dec 21 2018 d1p4.img.filepart
-
I have copied all the images from my old /images from old Fog Server over WInSCP to my computer and then to the the new one. In Webpage i have import all the groups hosts and images from old fog. Is there another thing to do?
-
Could be this the problem?
-
@Hope1983 said in Fog Server on a Container Station in Qnap:
Could be this the problem?
Absolutely!!! You cannot re-export a NFS share. This is by design (NFS itself, e.g. the Linux kernel). Nothing we can do about it.
Please run the commands
mount
andlsblk
and post output here. -
Ok here it is:
root@FogServer:/# mount overlay on / type overlay (rw,relatime,lowerdir=/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/l/YEGGF6C53I6QO5WOQF7YRMF2RL:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/l/ATOLPR6UARSOSG7HPAOGBU3DMC:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/l/Q3AGW5NUAFU5GPDSD65PW4PSGI:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/l/GHU5TO3MGUS75D43VETSPOQJC4:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/l/CEQYA4JID2MFE2456R72Y565EN:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/l/BALUV6AANDYRAEDAOAIZQNBHV3:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/l/5XDWTMLYKQEMZXCGJNCDASMT6H:/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/l/NHJLVVCPKVSYFZ532CBT5K77EN,upperdir=/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/1fe927b30c012026915e2f8a4517be26894b52a1a935ed2d66b8fa1fb4b79790/diff,workdir=/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/1fe927b30c012026915e2f8a4517be26894b52a1a935ed2d66b8fa1fb4b79790/work) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev type tmpfs (rw,nosuid,size=65536k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755) none on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,name=systemd) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k) /dev/mapper/cachedev1 on /etc/resolv.conf type ext4 (rw,relatime,no_mbcache,(null),stripe=384,data=ordered,jqfmt=vfsv1,usrjquota=aquota.user) /dev/mapper/cachedev1 on /etc/hostname type ext4 (rw,relatime,no_mbcache,(null),stripe=384,data=ordered,jqfmt=vfsv1,usrjquota=aquota.user) /dev/mapper/cachedev1 on /etc/hosts type ext4 (rw,relatime,no_mbcache,(null),stripe=384,data=ordered,jqfmt=vfsv1,usrjquota=aquota.user) devpts on /dev/console type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666)
root@FogServer:/# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 2.7T 0 disk |-sda1 8:1 0 517.7M 0 part | `-md9 9:9 0 517.6M 0 raid1 |-sda2 8:2 0 517.7M 0 part | `-md256 9:256 0 517.7M 0 raid1 [SWAP] |-sda3 8:3 0 2.7T 0 part | `-md1 9:1 0 8.2T 0 raid5 | |-vg1-tp1_tmeta 252:1 0 64G 0 lvm | | `-vg1-tp1-tpool 252:6 0 8T 0 lvm | | |-vg1-tp1 252:7 0 8T 0 lvm | | `-vg1-lv1 252:8 0 2.6T 0 lvm | | `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts | `-vg1-tp1_tierdata_2_fcorig 252:4 0 8T 0 lvm | `-vg1-tp1_tierdata_2 252:5 0 8T 0 lvm | `-vg1-tp1-tpool 252:6 0 8T 0 lvm | |-vg1-tp1 252:7 0 8T 0 lvm | `-vg1-lv1 252:8 0 2.6T 0 lvm | `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts |-sda4 8:4 0 517.7M 0 part | `-md13 9:13 0 448.1M 0 raid1 `-sda5 8:5 0 8G 0 part `-md322 9:322 0 6.9G 0 raid1 [SWAP] sdb 8:16 0 2.7T 0 disk |-sdb1 8:17 0 517.7M 0 part | `-md9 9:9 0 517.6M 0 raid1 |-sdb2 8:18 0 517.7M 0 part | `-md256 9:256 0 517.7M 0 raid1 [SWAP] |-sdb3 8:19 0 2.7T 0 part | `-md1 9:1 0 8.2T 0 raid5 | |-vg1-tp1_tmeta 252:1 0 64G 0 lvm | | `-vg1-tp1-tpool 252:6 0 8T 0 lvm | | |-vg1-tp1 252:7 0 8T 0 lvm | | `-vg1-lv1 252:8 0 2.6T 0 lvm | | `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts | `-vg1-tp1_tierdata_2_fcorig 252:4 0 8T 0 lvm | `-vg1-tp1_tierdata_2 252:5 0 8T 0 lvm | `-vg1-tp1-tpool 252:6 0 8T 0 lvm | |-vg1-tp1 252:7 0 8T 0 lvm | `-vg1-lv1 252:8 0 2.6T 0 lvm | `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts |-sdb4 8:20 0 517.7M 0 part | `-md13 9:13 0 448.1M 0 raid1 `-sdb5 8:21 0 8G 0 part `-md322 9:322 0 6.9G 0 raid1 [SWAP] sdc 8:32 0 2.7T 0 disk |-sdc1 8:33 0 517.7M 0 part | `-md9 9:9 0 517.6M 0 raid1 |-sdc2 8:34 0 517.7M 0 part | `-md256 9:256 0 517.7M 0 raid1 [SWAP] |-sdc3 8:35 0 2.7T 0 part | `-md1 9:1 0 8.2T 0 raid5 | |-vg1-tp1_tmeta 252:1 0 64G 0 lvm | | `-vg1-tp1-tpool 252:6 0 8T 0 lvm | | |-vg1-tp1 252:7 0 8T 0 lvm | | `-vg1-lv1 252:8 0 2.6T 0 lvm | | `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts | `-vg1-tp1_tierdata_2_fcorig 252:4 0 8T 0 lvm | `-vg1-tp1_tierdata_2 252:5 0 8T 0 lvm | `-vg1-tp1-tpool 252:6 0 8T 0 lvm | |-vg1-tp1 252:7 0 8T 0 lvm | `-vg1-lv1 252:8 0 2.6T 0 lvm | `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts |-sdc4 8:36 0 517.7M 0 part | `-md13 9:13 0 448.1M 0 raid1 `-sdc5 8:37 0 8G 0 part `-md322 9:322 0 6.9G 0 raid1 [SWAP] sdd 8:48 0 2.7T 0 disk |-sdd1 8:49 0 517.7M 0 part | `-md9 9:9 0 517.6M 0 raid1 |-sdd2 8:50 0 517.7M 0 part | `-md256 9:256 0 517.7M 0 raid1 [SWAP] |-sdd3 8:51 0 2.7T 0 part | `-md1 9:1 0 8.2T 0 raid5 | |-vg1-tp1_tmeta 252:1 0 64G 0 lvm | | `-vg1-tp1-tpool 252:6 0 8T 0 lvm | | |-vg1-tp1 252:7 0 8T 0 lvm | | `-vg1-lv1 252:8 0 2.6T 0 lvm | | `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts | `-vg1-tp1_tierdata_2_fcorig 252:4 0 8T 0 lvm | `-vg1-tp1_tierdata_2 252:5 0 8T 0 lvm | `-vg1-tp1-tpool 252:6 0 8T 0 lvm | |-vg1-tp1 252:7 0 8T 0 lvm | `-vg1-lv1 252:8 0 2.6T 0 lvm | `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts |-sdd4 8:52 0 517.7M 0 part | `-md13 9:13 0 448.1M 0 raid1 `-sdd5 8:53 0 8G 0 part `-md322 9:322 0 6.9G 0 raid1 [SWAP] mtdblock0 31:0 0 1.1M 1 disk mtdblock1 31:1 0 384K 0 disk mtdblock2 31:2 0 32M 0 disk mtdblock3 31:3 0 216M 0 disk mtdblock4 31:4 0 32M 0 disk mtdblock5 31:5 0 216M 0 disk mtdblock6 31:6 0 15M 0 disk vg1-tp1_tierdata_0 252:2 0 4M 0 lvm `-vg1-tp1-tpool 252:6 0 8T 0 lvm |-vg1-tp1 252:7 0 8T 0 lvm `-vg1-lv1 252:8 0 2.6T 0 lvm `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts vg1-tp1_tierdata_1 252:3 0 4M 0 lvm `-vg1-tp1-tpool 252:6 0 8T 0 lvm |-vg1-tp1 252:7 0 8T 0 lvm `-vg1-lv1 252:8 0 2.6T 0 lvm `-cachedev1 252:0 0 2.6T 0 92c581ee /etc/hosts
-
@Hope1983 So from the output it looks like this is actually a docker container. I have not used docker much myself, guess others need to help on this.
-
And for manual mount command used was :
mount ip_of_the_qnap:/Directory_of_the_qnap /fog_directory/
ex :
mount 192.168.0.2:/Images /images2/
-