We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
not correct disk in users (debian9)
not correct disk in users (debian9)
Hi, in my box (debian9), i use a vestacp for backup of others servers, all files are saved in /home/$user/web/, i have not web and i have not database in any user, only files (tar) in this location: /home/$user/web/. But, the size in vestacp always is 0 for all my users...Any help?
This command was run too:
In vestacp:
thanks
This command was run too:
Code: Select all
sudo /usr/local/vesta/bin/v-update-sys-queue traffic && sudo /usr/local/vesta/bin/v-update-sys-queue disk && v-update-user-counters
Code: Select all
#du -mchs /home/myuser/
213G /home/myuser/
213G total
Code: Select all
Ancho de Banda 0 mb
Dominios Web: 0 / 1
Correo electrónico: [email protected]
Dominios DNS: 0 / 1
Plan:backup
Disco:1 mb
Dominios de Correo: 0 / 1
Acceso SSH: nologin
Web: 0 mb
Base de Datos: 0 mb
Base de Datos: 0 / 1
Direcciones IP: 0
Correo: 0 mb
Directorios de Usuario: 1 mb
Tareas Programadas: 0 / unlimited
Respaldos: 0 / 0
Servidor de Nombre:
ns1.example.ltd
ns2.example.ltd
Re: not correct disk in users (debian9)
I am not on Debian, but could you check if the inodes of that directory is full.
This should show the inodes, and if it is used up.
or perhaps, the problem could also be that the directory is full, install ncdu
and then run it
This would pinpoint if the actual category is full, and if you press enter on a directory, ncdu switches to showing summary of that directory.
If you see any offending folders, by pressing d would delete the folder.
Code: Select all
df -i
or perhaps, the problem could also be that the directory is full, install ncdu
Code: Select all
sudo apt install ncdu
Code: Select all
ncdu
If you see any offending folders, by pressing d would delete the folder.
Re: not correct disk in users (debian9)
Hi, thanks for your reply
No, i have not problem with space or inodes
thanks again.
Code: Select all
# df -i
S.ficheros Nodos-i NUsados NLibres NUso% Montado en
udev 2048542 1557 2046985 1% /dev
tmpfs 2058055 1551 2056504 1% /run
/dev/md3 122036224 215561 121820663 1% /
tmpfs 2058055 1 2058054 1% /dev/shm
tmpfs 2058055 5 2058050 1% /run/lock
tmpfs 2058055 13 2058042 1% /sys/fs/cgroup
/dev/md2 131072 336 130736 1% /boot
thanks again.
Re: not correct disk in users (debian9)
Maybe someone could chime in and try helping you out!
Re: not correct disk in users (debian9)
Well, it is not something urgent because that server only stores backups, but obviously it would be useful to know how much each user is occupying ...
Thanks for your interest.
Thanks for your interest.
Re: not correct disk in users (debian9)
Ok, this is the problem (for me):
/usr/local/vesta/bin/v-update-user-disk
For me is enouth with replace this code for:
then:
Perfect :)
Thanks
/usr/local/vesta/bin/v-update-user-disk
Code: Select all
# Defining directory list
dir_list=$(ls $HOMEDIR/$user/ |grep -v '^web$' | grep -v '^mail$' |\
grep -v '^conf$')
Code: Select all
dir_list=$(ls $HOMEDIR/$user/)
Code: Select all
sudo /usr/local/vesta/bin/v-update-sys-queue traffic && sudo /usr/local/vesta/bin/v-update-sys-queue disk && v-update-user-counters
Perfect :)
Thanks