mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
make sure we are using the mount options
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
(cherry picked from commit 34831d0989
)
This commit is contained in:
parent
f4aa05a44f
commit
6cbe0f021f
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user