From 6cbe0f021f62b3ebd5f68fcc01a12fde6f08cff5 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 8 Aug 2013 16:09:26 -0700 Subject: [PATCH] make sure we are using the mount options Signed-off-by: Alfredo Deza (cherry picked from commit 34831d0989d4bcec4920068b6ee09ab6b3234c91) --- src/ceph-disk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ceph-disk b/src/ceph-disk index 77a9d9a261229..e34faaf0689aa 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -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) -- 2.39.5