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

easier to start mogilefsd in readonly mode #74

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments
Open

easier to start mogilefsd in readonly mode #74

GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

If you lose you master databases for some reason, it is difficult to start 
everything in a read-only mode if you only have a slave remaining. To get this 
going, here's the steps we had to perform:

1) create a new mogilefs readonly user on the remaining slave, this user should 
have full access on tempfile and devices, but readonly on all other tables
2) update the devices table so that any alive devices are set to readonly (ex: 
update mogilefs.device set status='readonly' where status='alive';)
3) update your mogielfsd.conf to use the readonly user/database server
4) start mogilefsd

Original issue reported on code.google.com by [email protected] on 30 Sep 2012 at 10:26

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

No branches or pull requests

1 participant