To find out, wehre the space is used use this command du -hxd 1 <path_to_check>.Start with /
du -xhd1 /
To find out, wehre the space is used use this command du -hxd 1 <path_to_check>.Start with /
du -xhd1 /
Everytime i try a du command it looks like it freezes, or it just takes a long time?
It counts usage, that takes time
du -xhd1 /
The x is important. Using this, du will not descend into other filesystem. So the execution is limited to the root fs in this case. Much faster than also scanning other filesystems (data drives)
thanks for your help, after a long time i succeeded in delete a lot of file. Now i am down from 23 GB to 7 GB
Did you find the reason for the file system getting full?
If not, we will await you back in this thread ...
Yeah, i did. It is kinda weird. I deleted over 2GB from a failed resync task and after that some more unused files(4 GB) from old installed programmes. After that i stopped and when i woke up the next morning, even more space was free (from 16 GB to 7GB). But everything is still working so i am happy.
If you delete a file, which is still in use by a program, it will disappear in the directory, but the space is not freed, only when the progran usingthat file finishes. This explains the "magic" of more free space.
I deleted over 2GB from a failed resync task
Were these tasks from OMV rsync service or a script/command you were running manually or as scheduled jobs?
Well, something is clearly messed up. All my files seem to be gone. I cant access them over samba or a resync job everything i get a message saying: No such file or directory.
This is odd, because they do show up in my samba setting, but i cannot access them
Is there any way to access my files again?
You have played quite a bit to the system, so I am not completley clear what status it is in.
First thing to do is go to the cli, look if the files are there and take a backup via cli
Give us an idea what the system looks like:
plug the USB disk. this will be the backup target
go to the cli via ssh execute the commands one at a time and paste the output.
lsblk
mount
cd /srv
ls -al
For each directory dev-disk-...
cd dev-disk-by-..... (press TAB to autocomplete the directory name)
ls -al
du -xhd1
I am trying to go into the drives in the way you describe it, but i cant get in them. I can see them but not access them. I think i am just gonna reinstall OMV
Which command did not work? Paste the output of all commands one by one..
Re-installing omv will not change anything on the data disks, so it will not help, if you can not access the directories..
Okay, i am able to get into the disks, but what then? I cannot get the data of the drives so this is useless i believe. Or i am getting it wrong. I cant access the drives and the data on them over samba so i pretty much lost the data on it.
I can not make sense about the description you gave about your system. If it is a missconfiguration the data may still be on the disks. If you yust deleted files, no need to reinstall.
But if you do not follow advice given: "post output of the commands" no one can help you.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!