-
Notifications
You must be signed in to change notification settings - Fork 17
Improve add-db-to-osd.sh #8
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
Improve add-db-to-osd.sh #8
Conversation
bac099a to
f657006
Compare
bkelly16
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback Anthony
add-db-to-osd.sh
Outdated
| OSD_PER_DB_LIMIT=5 | ||
|
|
||
| while getopts 'b:fo:d:h' OPTION; do | ||
| while getopts 'b:fo:d:h:r' OPTION; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
":" needs to trail the r here, not precede
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, haven't used getopts much and was confused re the subtleties. Pushed an ammendment
add-db-to-osd.sh
Outdated
| ceph osd set noout | ||
| echo "Stop OSD.$OSD_ID" | ||
| systemctl stop ceph-osd@$OSD_ID | ||
| # Is this a relic of Filestore and thus superfluous? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct - we can remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pushed
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
f657006 to
3187d58
Compare
|
lgtm, merging (sorry for taking so long hahahaha) |
|
No problem, good sir. |
Improve spelling and caps, add the ability to specify the number of offload slices per device, add an ok-to-stop check.