About the storage for fog server in Ubuntu
-
~$ zfs get mountpoint storage-pool NAME PROPERTY VALUE SOURCE storage-pool mountpoint /images local ~$ zpool status pool: storage-pool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM storage-pool ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 sdb ONLINE 0 0 0 sdc ONLINE 0 0 0 sdd ONLINE 0 0 0 errors: No known data errors
Did I succeed to mount the pool?
-
@george1421 Hi, George. Right now I found that the directory /images has been created and fog server has been installed. Is there any way to fix this to use the storage pool that I created? I did not mount the volume before the installation of fog server.
-
@weidongyan So what does
dh -h
show at the moment? -
Filesystem Size Used Avail Use% Mounted on udev 2.9G 0 2.9G 0% /dev tmpfs 597M 2.0M 595M 1% /run /dev/sda1 146G 8.5G 130G 7% / tmpfs 3.0G 19M 2.9G 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 3.0G 0 3.0G 0% /sys/fs/cgroup /dev/loop8 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57 /dev/loop0 2.3M 2.3M 0 100% /snap/gnome-calculator/260 /dev/loop5 3.8M 3.8M 0 100% /snap/gnome-system-monitor/100 /dev/loop6 35M 35M 0 100% /snap/gtk-common-themes/818 /dev/loop1 91M 91M 0 100% /snap/core/6350 /dev/loop9 4.2M 4.2M 0 100% /snap/gnome-calculator/406 /dev/loop10 15M 15M 0 100% /snap/gnome-characters/296 /dev/loop11 1.0M 1.0M 0 100% /snap/gnome-logs/61 /dev/loop12 13M 13M 0 100% /snap/gnome-characters/139 /dev/loop15 15M 15M 0 100% /snap/gnome-logs/45 /dev/loop13 89M 89M 0 100% /snap/core/7270 /dev/loop14 43M 43M 0 100% /snap/gtk-common-themes/1313 /dev/loop7 141M 141M 0 100% /snap/gnome-3-26-1604/74 /dev/loop2 150M 150M 0 100% /snap/gnome-3-28-1804/67 /dev/loop3 55M 55M 0 100% /snap/core18/1066 /dev/loop4 141M 141M 0 100% /snap/gnome-3-26-1604/90 tmpfs 597M 32K 597M 1% /run/user/121 tmpfs 597M 44K 597M 1% /run/user/1000 storage-pool 450G 0 450G 0% /image
-
@george1421 I realized that I mounted the storage-pool after the installation of fog server and the /images has some folders there before I mounted. Should I uninstall fog server to start again?
-
@weidongyan Well I don’t see your storage pool mounted anywhere.
What does lsblk show?
Wait you change the post I see the /images mounted now. Rerun the fog installer with the /images mounted now. That should fix the /images directory.
-
After the fog installer is complete run this command
ls -la /images
and post the results here. -
total 16 drwxrwxrwx 4 fogproject root 4096 Aug 1 14:21 . drwxr-xr-x 30 root root 4096 Aug 2 09:38 .. drwxrwxrwx 4 fogproject root 4096 Aug 1 16:37 dev -rwxrwxrwx 1 fogproject root 0 Aug 1 14:21 .mntcheck drwxrwxrwx 2 fogproject root 4096 Aug 1 14:21 postdownloadscripts
-
@weidongyan ok that’s good. The FOG images directory is setup correctly. Now as long as after a reboot the /images directory is mounted then you should be good to go.
-
@george1421 thank you for the help.