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

backup volume disk usage #3044

Closed
zemul opened this issue May 12, 2022 · 1 comment
Closed

backup volume disk usage #3044

zemul opened this issue May 12, 2022 · 1 comment

Comments

@zemul
Copy link
Contributor

zemul commented May 12, 2022

System Setup

  • List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount".
    master : weed master -mdir=/export/data/seaweedfs/master/mdir1 -peers=10.17.100.28:9333,10.17.100.29:9333,10.17.100.30:9333 -port=9333 -volumeSizeLimitMB=5000 -defaultReplication=001

  • OS version. [centos7]

  • output of weed version [version 30GB 2.88 linux amd64]

Describe the bug
command : weed backup -dir=. -collection=qqqq -volumeId=3273
Master Set volumeSizeLimitMB =5000, if voulme CompactionRevision is greater than 0,Backup file size =30G,I don't actually use that much

image

/vol/status result:
{
"Id": 3273,
"Size": 4168,
"ReplicaPlacement": {
"node": 1
},
"Ttl": {
"Count": 0,
"Unit": 0
},
"DiskType": "",
"Collection": "qqqq",
"Version": 3,
"FileCount": 3,
"DeleteCount": 0,
"DeletedByteCount": 0,
"ReadOnly": false,
"CompactRevision": 2,
"ModifiedAtSecond": 1650448176,
"RemoteStorageName": "",
"RemoteStorageKey": ""
}

I suspect that's the problem, but I don't understand

image

@chrislusf
Copy link
Collaborator

Thanks for the good details! Added a fix to remove the pre-allocation for backup.

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