@sebastian-roth Thank you and everyone replied for help and patience. That someone who messed up is me This is a test server so going to be far more efficient to reload.
Thanks again everyone.
@sebastian-roth Thank you and everyone replied for help and patience. That someone who messed up is me This is a test server so going to be far more efficient to reload.
Thanks again everyone.
@sebastian-roth Thanks - couldn’t wait for computer so created a Virtualbox session and got the same error after following your instructions. Please see screenshot
@sebastian-roth
mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1901580k,nr_inodes=475395,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=390968k,mode=755)
/dev/mapper/ubuntuserver--vg-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mapper/pdc_bcaehfcjbj1 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl,stripe=4)
/dev/mapper/ubuntuserver--vg-Images on /mnt/share type ext4 (rw,relatime,data=ordered)
lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=390968k,mode=700,uid=1000,gid=1000)
ls -al /images:
total 16
drwxrwxrwx 4 fog root 4096 Dec 17 09:24 .
drwxr-xr-x 26 root root 4096 Dec 17 09:24 ..
drwxrwxrwx 3 fog root 4096 Dec 17 09:24 dev
-rwxrwxrwx 1 fog root 0 Dec 17 09:24 .mntcheck
drwxrwxrwx 2 fog root 4096 Dec 17 09:24 postdownloadscripts
total 12
drwxrwxrwx 3 fog root 4096 Dec 17 09:24 .
drwxrwxrwx 4 fog root 4096 Dec 17 09:24 ..
-rwxrwxrwx 1 fog root 0 Dec 17 09:24 .mntcheck
drwxrwxrwx 2 fog root 4096 Dec 17 09:24 postinitscripts
cat /etc/fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntuserver--vg-root / ext4 errors=remount-ro 0 1
/dev/mapper/pdc_bcaehfcjbj1 /boot ext2 defaults 0 2
/dev/mapper/ubuntuserver--vg-swap_1 none swap sw 0 0
/dev/mapper/ubuntuserver--vg-Images /mnt/share ext4 defaults 0 1
@george1421 said in Network boot of host comes up with mount permission denied:
showmount -e 127.0.0.1
I think I know just enough to cause problems. Syntax on my /etc/fstab mount for an lvm volume was wrong and my box freaked on restart.
On diagnosing, I think I may have an inkling. I mounted an lvm volume for images and made this a default storage container on the web interface. I’m assuming that write rights need to be given to fog user for this to work? Is the /images/dev and /images being mapped to my mount as storage? to answer question above:
Export list for 127.0.0.1:
/images/dev *
/images *
The computer I was imaging is otherwise engage and will only be able to test this evening again.
Thank you for all the responses!
rebooted my server this morning and came up with an nfs-mount error. Need to sort this out first to get back up and running.
To answer above as best I can in the meantime:
The screenshot in the picture showing the line “permission denied” is exactly what I am getting except for my IP. Maybe related to NFS issue above?
Loaded latest version 1.4.4.
Once I have NFS sorted will post again with results.
This problem is exactly like - https://forums.fogproject.org/topic/4979/problem-mounted-file-system-permission-denied-solved
I have followed advise from wiki as well and other posts.
Running Ubuntu Server LTS 16.4.3 with install of PHP7 as per wiki advice for that OS.
There was no /home/fog/images and images/dev with requisite files so created that. Strangely, images folder is sitting in root directory rather than /home/fog.
How do I resolve this please? What log file can I attach?
S