I didn't have a docker issue but when I couldn't login to my Web Panel I got useful info from this log:
/var/log/nginx/openmediavault-webgui_error.log
I didn't have a docker issue but when I couldn't login to my Web Panel I got useful info from this log:
/var/log/nginx/openmediavault-webgui_error.log
OK, so docker is running.... what is your question?
When I install my container again through portainer. I cant but because I get this message:
Failure
Cannot restart container 115a1ad003925db7e46c614df57990dcfcb1066b2585790ec1a395e7065b61b8: error creating overlay mount to /var/lib/docker/overlay2/7e1dd00f4e334752a40ba8bc8e1e6b9f528fed3b38096bf0b2d5c08540fec77d/merged: no such file or directory
So my containers can not be installed.
Also, when I tried to login into portainer I get some red error box about not being to retrieve endpoints.
I think I may have it working. I also need to remove all the images within Portainer and now it seems to working ok.
Thanks all for helping.
Sorry guys this has happened again my system drive is almost full but yet my docker installation are on separate externa HDD (not root drive). (i.e. after it happened the first time, I uninstalled Docker and containers and reinstalled to a separate drive) which cleared my system drive.
It seems my overlay directory is getting big again. Not sure why as my containers are on external drives as well.
Tried docker system prune and apt-get clean but no effect.
Here is an output of df -h
root@omv:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 381M 7.4M 374M 2% /run
/dev/sdb1 15G 14G 67M 100% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sdd1 29G 11G 19G 36% /srv/dev-disk-by-label-Monkey
/dev/sdf1 55G 4.3G 51G 8% /srv/dev-disk-by-label-Chimp
/dev/sde1 1.4T 944G 432G 69% /srv/dev-disk-by-label-Elephant
/dev/sda1 4.6T 1.5T 3.1T 33% /srv/dev-disk-by-label-Hippo
tmpfs 1.9G 4.0K 1.9G 1% /tmp
folder2ram 1.9G 58M 1.9G 4% /var/log
folder2ram 1.9G 0 1.9G 0% /var/tmp
folder2ram 1.9G 984K 1.9G 1% /var/lib/openmediavault/rrd
folder2ram 1.9G 20K 1.9G 1% /var/spool
folder2ram 1.9G 14M 1.9G 1% /var/lib/rrdcached
folder2ram 1.9G 4.0K 1.9G 1% /var/lib/monit
folder2ram 1.9G 1.3M 1.9G 1% /var/cache/samba
overlay 55G 4.3G 51G 8% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/overlay2/a5a93bce326088f29b0ba7ad37a4e3cda2ce6f312a8fdd8813eb576432507be3/mer ged
overlay 55G 4.3G 51G 8% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/overlay2/a1abdd70d84037b393a202b0a8409e43c076314081b020cbd8a4633be6c55d09/mer ged
overlay 55G 4.3G 51G 8% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/overlay2/1458a2cc0cb09c2a5fd8ba3b050da9cb8ac21f748278b23ae6c139ec9d609f2a/mer ged
overlay 55G 4.3G 51G 8% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/overlay2/188bf838ffea4791ddb394afb9a949c8cf1a097503dcb1173218e6a5c3c05be3/mer ged
overlay 55G 4.3G 51G 8% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/overlay2/9397afb54ec1be9c6d1027bc452a27f3ba535eb3be5e4513391eaaf2b5eb2bcc/mer ged
shm 64M 0 64M 0% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/containers/951706ddbf092e8fb56d3da302f2b19871e3cbd03783f887e258054ce6799963/m ounts/shm
shm 64M 8.0K 64M 1% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/containers/01b7c0a863bd5dffcaaf99acbb5d8ac292c62cbb89d0477333430a763b4caa5d/m ounts/shm
shm 64M 0 64M 0% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/containers/bd2675c29002b764dadd25ff7390d55c34fcd2bbf238b6a56e52681f25773c6c/m ounts/shm
shm 64M 0 64M 0% /srv/dev-disk-by-label-Chimp/AppData2/Dock er/containers/12b0066a2779805fd41555132acdb6ad09a1ef304062cc1cf1de5b92ac772603/m ounts/shm
Alles anzeigen
Thanks.
I followed that and have 4.6G in a non directory at the bottom but dont know how to access the directory?
The total here adds up to about 9-10G but OMV UI says 15G (which is the size of my system drive).
EDIT: I''ve installed and ran ndcu and it only shows 4.6GB but OMV UI shows 15GB
Unmount all your data hard disks. Then examine the mount points in /srv which should be now empty. If they are not, find out why.
Unmount all your data hard disks. Then examine the mount points in /srv which should be now empty. If they are not, find out why.
I've unmounted all data disks but how do I check the mount points please?
EDIT: As all I see now is my root system drive with only 65MB left
Look in every directory and subdirectory under /srv. They should be empty with no disks mounted there.
ok so if I have done it right, I changed my directory to cd /srv and then ran ncdu -x
it finding loads of files. it seems my external hard drives are mounted even though at the moment they physically disconnected
EDIT: This is whats showing in /srv
root@omv:/srv# ls
5abca6fb-5bf9-42da-8cf1-3f5e1381ff95 a222ea17-b53b-42a2-8278-3a7321364d31 dev-by-disk-label-Monkey dev-disk-by-label-Chimp dev-disk-by-label-Hippo ftp salt
9b151806-f786-4611-8289-29b12d8a5756 d97deb01-7286-4661-b6d7-520fa715fe43 dev-disk-by-label-AppData dev-disk-by-label-Elephant dev-disk-by-label-Monkey pillar
If your hard drives are physically disconnected, they can't be mounted.
What you are seeing are files that should have been written to the hard drives but weren't because the drive or drives were not mounted when the files were written. They got written to the mount point directory instead and are counted as being part of the root filesystem because they are part of the root filesystem.
How much do all those files add up to? Did you look in those subdirectories?
So ncdu -x has found 9GB of backup data - so I guess coud this be one of my drives failed to mount for some reason and then the backup was made on my root drive?
So its safe to delete everything within /srv if my external drives are disconnected as this is now sitting on my system drive?
So ncdu -x has found 9GB of backup data - so I guess coud this be one of my drives failed to mount for some reason and then the backup was made on my root drive?
Exactly. A common problem, especially with USB external drives.
You can delete the backup data if you are sure you don't need it.
Don't delete the dev-by-disk-label- directories. Those are the mount points.
Don't delete the dev-by-disk-label- directories. Those are the mount points.
oops - i had deleted them before i received your post. I reattached my drives and everything seems ok - i hope i havent done long term damage?
oops - i had deleted them before i received your post. I reattached my drives and everything seems ok - i hope i havent done long term damage?
It might have just rebuilt the directory structure based on the omv config file, since the drives were unmounted when you deleted them.... if you ssh your server and cd to /srv, are your drive paths back there and complete? If so, It's likely OK.
It might have just rebuilt the directory structure based on the omv config file, since the drives were unmounted when you deleted them.... if you ssh your server and cd to /srv, are your drive paths back there and complete? If so, It's likely OK.
They're there but the underlying directories are empty but I guess that is what should be expected as they should not be on the system drive?
They're there but the underlying directories are empty but I guess that is what should be expected as they should not be on the system drive?
If the underlying directories are not there (and the drives are mounted) then that is a problem
If the underlying directories are not there (and the drives are mounted) then that is a problem
i'm navigating around using ncdu and underlying directories are not there but if i use windows explorer i see them and the omv ui shows the external drives as mounted with data being used.
when i try to ssh and cd into the external drive I get this but maybe I'm doing it wrong?
i'm navigating around using ncdu and underlying directories are not there but if i use windows explorer i see them and the omv ui shows the external drives as mounted with data being used.
when i try to ssh and cd into the external drive I get this but maybe I'm doing it wrong?
Maybe it got listed under a new label or something when you mounted it? What happens if you ls on the /srv directory.
Are new directories there.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!