Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Felix Seibert
xtreemfs_client
Commits
73f7b18b
Commit
73f7b18b
authored
Mar 27, 2018
by
Felix Seibert
Browse files
fix
parent
29dafbd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
xtreemfs_client/OSDManager.py
View file @
73f7b18b
...
...
@@ -176,7 +176,6 @@ class OSDManager(object):
for
osds_folder
in
self
.
distribution
.
OSDs
[
osd
].
folders
:
all_folders
.
append
(
osds_folder
)
for
input_folder
in
all_folders
:
print
(
"input_folder: "
+
str
(
input_folder
))
osd_for_tile
=
self
.
distribution
.
get_containing_osd
(
input_folder
).
uuid
osd_to_folders_map
[
osd_for_tile
].
append
(
input_folder
)
...
...
@@ -482,8 +481,8 @@ class OSDManager(object):
host_name
=
osd_to_host_map
[
key
]
command
=
""
for
move_folder
in
osd_to_folders_map
[
key
]:
folder_path
=
os
.
path
.
join
(
self
.
pathToMountPoint
,
move_folder
.
folder_id
)
folder_tmp_path
=
os
.
path
.
join
(
tmp_dir
,
move_folder
.
folder_id
)
folder_path
=
os
.
path
.
join
(
self
.
pathToMountPoint
,
move_folder
)
folder_tmp_path
=
os
.
path
.
join
(
tmp_dir
,
move_folder
)
# copy folder to temporary location
command
+=
"srun -N1-1 --nodelist="
+
host_name
command
+=
" cp -r "
+
folder_path
+
" "
+
tmp_dir
+
" ; "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment