]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
make sure we are using the mount options
authorAlfredo Deza <alfredo@deza.pe>
Thu, 8 Aug 2013 23:09:26 +0000 (16:09 -0700)
committerSage Weil <sage@inktank.com>
Fri, 9 Aug 2013 01:38:08 +0000 (18:38 -0700)
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
(cherry picked from commit 34831d0989d4bcec4920068b6ee09ab6b3234c91)

src/ceph-disk

index 77a9d9a2612295ad4c0c21e6d078b353c8955665..e34faaf0689aad90e279d2df86faef2ad1f7f49d 100755 (executable)
@@ -1345,6 +1345,7 @@ def move_mount(
     path,
     cluster,
     osd_id,
+    mount_options,
     ):
     LOG.debug('Moving mount to final location...')
     parent = '/var/lib/ceph/osd'
@@ -1363,6 +1364,8 @@ def move_mount(
     subprocess.check_call(
         args=[
             '/bin/mount',
+            '-o',
+            mount_options,
             '--',
             dev,
             osd_data,
@@ -1525,6 +1528,7 @@ def mount_activate(
                 path=path,
                 cluster=cluster,
                 osd_id=osd_id,
+                mount_options=mount_options,
                 )
         return (cluster, osd_id)