mirror of
https://github.com/ceph/ceph
synced 2024-12-13 15:08:33 +00:00
6643f4d972
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
13 lines
196 B
Bash
Executable File
13 lines
196 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
mb=100000
|
|
|
|
rbd create foo --size $mb
|
|
DEV=$(sudo rbd map foo)
|
|
dd if=/dev/zero of=$DEV bs=1M count=$mb
|
|
dd if=$DEV of=/dev/null bs=1M count=$mb
|
|
sudo rbd unmap $DEV
|
|
rbd rm foo
|
|
|
|
echo OK
|