Skip to content

Instantly share code, notes, and snippets.

@alram
Created August 8, 2013 23:05
Show Gist options
  • Save alram/6189647 to your computer and use it in GitHub Desktop.
Save alram/6189647 to your computer and use it in GitHub Desktop.
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