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

ceph-disk: Handle custom mount options for non-default-named clusters #1206

Closed
wants to merge 1 commit into from
Closed

Conversation

kazhang
Copy link
Contributor

@kazhang kazhang commented Feb 10, 2014

Mount the disk temporally and read the cluster uuid, then load the right config file.
Unmount and pass the custom options to move_mount.

Signed-off-by: Kai Zhang zakir.exe@gmail.com

Mount the disk temporally and read the cluster uuid, then load the
right config file. Unmount and pass the custom options to move_mount.

Signed-off-by: Kai Zhang <zakir.exe@gmail.com>
if mount_options is not None:
mount_options = "".join(mount_options.split())

mount_options = None
path = mount(dev=dev, fstype=fstype, options=mount_options)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's no good to use default options in some cases :(

@kazhang kazhang closed this Feb 13, 2014
liewegas added a commit that referenced this pull request Dec 14, 2016
rados: move readwrite test out of thrash matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant