⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
rbd
All Projects
Ceph
»
rbd
Overview
Activity
Roadmap
Issues
Spent time
Download (300 Bytes)
Bug #22660
» rbd_rename_program1.sh
Rename script1 -
Debashis Mondal
, 01/11/2018 08:25 AM
#!/bin/sh
imagename
=
"Myimage"
i
=
1
while
[
$i
-lt
100000
]
do
output
=
"
$(
rbd
ls
$1
)
"
time_in_milisec
=
"
$(
date
+
"%T.%6N"
)
"
rbd rename
$1
/
$output
$1
/
$imagename$i
>>
rbd_rename_concurrency.txt
echo
"
$time_in_milisec
"
"
$output
"
"
$imagename$i
"
>>
rbd_rename_concurrency.txt
i
=
`
expr
$i
+ 1
`
done
« Previous
1
2
3
Next »
(1-1/3)
Loading...