Created
August 8, 2013 23:05
-
-
Save alram/6189647 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ceph-disk b/src/ceph-disk | |
index 77a9d9a..b2208fa 100755 | |
--- a/src/ceph-disk | |
+++ b/src/ceph-disk | |
@@ -1345,6 +1345,7 @@ def move_mount( | |
path, | |
cluster, | |
osd_id, | |
+ options | |
): | |
LOG.debug('Moving mount to final location...') | |
parent = '/var/lib/ceph/osd' | |
@@ -1363,6 +1364,7 @@ def move_mount( | |
subprocess.check_call( | |
args=[ | |
'/bin/mount', | |
+ '-o', options | |
'--', | |
dev, | |
osd_data, | |
@@ -1525,6 +1527,7 @@ def mount_activate( | |
path=path, | |
cluster=cluster, | |
osd_id=osd_id, | |
+ options=mount_options | |
) | |
return (cluster, osd_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment