-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Making a volume server readOnly & Some other questions #405
Comments
|
Sorry to ask but what kind of details you need. I can give you anything what you want But am unaware that what you want from me to see what is the issue! |
after chmod 664 will they get vacuumed as well or not? |
I did chmod as |
I tried chmod 444 and it made them readonly.. But am still not sure that vacuum is happening or not. |
I checked the code. It still vacuums even it is readonly. I think we should not vacuum if it is readonly. |
It should be 444. My mistake.
The deletion would not work if the volume server restarts.
Chris
…On Sat, Nov 26, 2016 at 6:39 PM, Junaid Farooq ***@***.***> wrote:
Okay thanks for the feedback.
1: What are you preferring now? chmod 444 or 644?
2: I have tried to do something that I chmod 444 a volume. and then I
deleted a file on it. it returned {"error":""}, the port 8888 stopped
showing this file BUT on localhost:8080, I could still see that the file
is present in volume files NOT in trash column. What this could be?
3: Our system is sending constant requests for deleting whole directories
in recursive way, What will be the effect of this? (doing readOnly)
I cannot see this on http://localhost:8888/javascript/ but its not on
trash as well.
[image: image]
<https://cloud.githubusercontent.com/assets/13561999/20645113/8244d430-b474-11e6-8976-0fcaedebeffe.png>
thanks in advance!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#405 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABeL7ws9K4WkyY4U3olqc_tg2Mk6YATYks5rCO12gaJpZM4K81x3>
.
|
Hi Chris, After a restart how long it could take that volume server came up again? we have a 70TB, V server I restarted it, its been 5 hours its not up yet. |
It should not be this long.
Chris
…On Sun, Nov 27, 2016 at 4:16 PM, Junaid Farooq ***@***.***> wrote:
Hi Chris, After a restart how long it could take that volume server came
up again? we have a 70TB, V server I restarted it, its been 5 hours its not
up yet.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#405 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABeL75SM1yjQprErLNeTC7abU6L35MQEks5rCh1rgaJpZM4K81x3>
.
|
Is there any way to vacuum a specific volume with volume id? as if volume is 2567, is there any way to vacuum it? |
You can trigger the vaccum this way by sending http requests to volume
server:
see
https://github.com/chrislusf/seaweedfs/blob/9ba52db5858c480cb8cf4125b0d698f188f22ba8/weed/topology/topology_vacuum.go#L134
and
https://github.com/chrislusf/seaweedfs/blob/9ba52db5858c480cb8cf4125b0d698f188f22ba8/weed/topology/topology_vacuum.go#L150
…On Sun, Nov 27, 2016 at 6:23 PM, Junaid Farooq ***@***.***> wrote:
Is there any way to vacuum a specific volume with volume id? as if volume
is 2567, is there any way to vacuum it?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#405 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABeL74egs5OxMhHos-ZSzI0Ke3X8yr4vks5rCjs3gaJpZM4K81x3>
.
|
@ijunaid8989 After 9ba52db do you still see vacuuming of older volumes? We're only seeing vacuuming of the newest volumes and we've not set readonly on any volumes. It seems the code above excludes older full volumes no matter how many deleted files/bytes they have. |
@ingardm Actually we are not on that latest version we are just using the old version 0.70Beta. So I am not sure what is the case, But at that time Chris added the functionality for not to vacuum read only volumes. |
We have 1 master volume and 2 volume servers..
Do we have such parameters that so that we can keep a volume just for read operations and dont write anything on it anymore?
One more thing. we had a volume server of 70 TB. We first started it with max 2000 volumes and it had been created 763 and we needed to stop it to create more so we stopped it to 765 max. But it is consuming the total 70 TB. why is it so?
other hand we have 2370 max volumes in the same 74TB. why 765 taking all the available space?
The text was updated successfully, but these errors were encountered: