Volume with no files is registered as having 23GB
Started a new pod and /workspace had unusual amount of data used for the pod. Deleting everything from the volume still shows substantial usage. Seems like a bug in calculating storage.
root@5c5eadaefa32:/workspace# df -h
Filesystem Size Used Avail Use% Mounted on
overlay 10G 64M 10G 1% /
tmpfs 64M 0 64M 0% /dev
/dev/sdb 26G 23G 4.0G 85% /workspace
shm 17G 0 17G 0% /dev/shm
/dev/mapper/ubuntu--vg-ubuntu--lv 38G 21G 16G 58% /usr/bin/nvidia-smi
tmpfs 95G 0 95G 0% /sys/fs/cgroup
tmpfs 95G 12K 95G 1% /proc/driver/nvidia
tmpfs 95G 4.0K 95G 1% /etc/nvidia/nvidia-application-profiles-rc.d
tmpfs 95G 0 95G 0% /proc/asound
tmpfs 95G 0 95G 0% /proc/acpi
tmpfs 95G 0 95G 0% /proc/scsi
tmpfs 95G 0 95G 0% /sys/firmware
root@5c5eadaefa32:/workspace# ls -al
total 0
drwxr-xr-x 2 root root 6 Oct 15 17:48 .
drwxr-xr-x 1 root root 90 Oct 15 17:41 ..
root@5c5eadaefa32:/workspace#
root@5c5eadaefa32:/workspace# du -sh .
0 .
2 Replies
Registered?, the pod status for that isn't frequently updated I think.. So do you have a problem with putting files there?
Yeah maybe it can bug for the we site's pod report
Can report it here #🧐|feedback
du -h --max-depth=1 | sort -hr
df -h won't be able to show your usage for /workspace, try above command