Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume's limit and space overflow #64

Open
sejesnet opened this issue Jul 20, 2022 · 1 comment
Open

Volume's limit and space overflow #64

sejesnet opened this issue Jul 20, 2022 · 1 comment

Comments

@sejesnet
Copy link

Good morning. May be somebody meet this. We using seaweedfs on Openshift as StorageClass. We have several PVC volumes, which you may find on xxx.xxx.10.35:9335/ui/index.html. Or you may look it on volume server in /opt/seaweedfs/volumes. BUT! We noticed that every day near grow up nonamed volumes.
Version we use:

  • Openshift v4.8
  • Seawedfs (filer,volumes, master) v3.13
Master-run-options

OPTS="-mdir=/opt/seaweedfs/master
-port=9333
-port.grpc=19333
-peers xxx1.com:9333,xxx2.com:9333
-defaultReplication=010
-volumeSizeLimitMB 1000"

Filer-run-options

OPTS="-master=xxx1.com:9333,xxx2.com:9333,xxx3.com:9333
-port=9337
-port.grpc=19337
-metricsPort=9092"

Volume-run-options

OPTS="-dir=/opt/seaweedfs/volumes
-max=0
-minFreeSpacePercent=5
-mserver=xxx1.com:9333,xxx2.com:9333,xxx3.com:9333
-port=9335
-port.grpc=19335
-metricsPort=9091
-dataCenter=dc1
-rack=rack1"

Here example:

-rw-r--r--. 1 weedfs weedfs 1049348832 Jul 20 00:44 97.dat  <---- Here it is, I don't know who make it.
-rw-r--r--. 1 weedfs weedfs       5072 Jul 20 00:44 97.idx  <----- After some time, they eat all volumes limit and all space.
-rwxr-xr-x. 1 weedfs weedfs         57 Jul 18 15:34 97.vif
-rw-r--r--. 1 weedfs weedfs 1049912512 Jul 19 20:13 98.dat
-rw-r--r--. 1 weedfs weedfs       5088 Jul 19 20:13 98.idx
-rwxr-xr-x. 1 weedfs weedfs         57 Jul 18 15:34 98.vif
-rw-r--r--. 1 weedfs weedfs 1048851496 Jul 20 02:33 99.dat
-rw-r--r--. 1 weedfs weedfs       5184 Jul 20 02:33 99.idx
-rwxr-xr-x. 1 weedfs weedfs         57 Jul 18 15:34 99.vif
-rw-r--r--. 1 weedfs weedfs   26848880 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_19.dat
-rw-r--r--. 1 weedfs weedfs        944 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_19.idx
-rwxr-xr-x. 1 weedfs weedfs         57 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_19.vif
-rw-r--r--. 1 weedfs weedfs   43182616 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_20.dat
-rw-r--r--. 1 weedfs weedfs        944 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_20.idx
-rwxr-xr-x. 1 weedfs weedfs         57 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_20.vif
-rw-r--r--. 1 weedfs weedfs   27246568 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_21.dat
-rw-r--r--. 1 weedfs weedfs        848 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_21.idx
-rwxr-xr-x. 1 weedfs weedfs         57 Jul  7 14:17 pvc-2d5b89e2-bc7c-4eee-a1f2-f14b8a0cb4fb_21.vif

Selection_335

Could you please help find problem.

@chrislusf
Copy link
Collaborator

There are metadata logs.

Need to add a feature to compact these metadata logs. Not started yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants