Skip to content

Commit

Permalink
make sure we are using the mount options
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Deza <[email protected]>
  • Loading branch information
alfredodeza committed Aug 8, 2013
1 parent 2e9c25f commit 34831d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ceph-disk
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -1363,6 +1364,8 @@ def move_mount(
subprocess.check_call(
args=[
'/bin/mount',
'-o',
mount_options,
'--',
dev,
osd_data,
Expand Down Expand Up @@ -1525,6 +1528,7 @@ def mount_activate(
path=path,
cluster=cluster,
osd_id=osd_id,
mount_options=mount_options,
)
return (cluster, osd_id)

Expand Down

0 comments on commit 34831d0

Please sign in to comment.