Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Generate IO to /dev/vdb, attached to cinder volume

Hello,

One of my Cinder volume is attached to a Fedora instance where I am having the volume appeared in /dev/vdb.

I did the following:

  sudo fdisk -l   
  sudo mkfs -t ext3 -V /dev/vdb

[fedora@myvm1 ~]$ sudo fdisk -l

Disk /dev/vda: 20 GiB, 21474836480 bytes, 41943040 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00021380

Device Boot Start End Blocks Id System /dev/vda1 * 1953 41942989 20970518+ 83 Linux

Disk /dev/vdb: 1 GiB, 1073741824 bytes, 2097152 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

[fedora@myvm1 ~]$ uname -a Linux myvm1 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Now I would like to generate some IO to the /dev/vdb disk.

Any suggestion which inbuild tool, simple script I can use?

Any pointer would be appreciated.

Basic Aim: Want to create some IO to the LUN and see it's impact upto the underlying storage through cinder.

Generate IO to /dev/vdb, attached to cinder volume

Hello,

One of my Cinder volume is attached to a Fedora instance where I am having the volume appeared in /dev/vdb.

I did the following:

  sudo fdisk -l   
  sudo mkfs -t ext3 -V /dev/vdb

[fedora@myvm1 ~]$ sudo fdisk -l

Disk /dev/vda: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00021380

0x00021380 Device Boot Start End Blocks Id System /dev/vda1 * 1953 41942989 20970518+ 83 Linux

Linux Disk /dev/vdb: 1 GiB, 1073741824 bytes, 2097152 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

bytes

[fedora@myvm1 ~]$ uname -a Linux myvm1 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Now I would like to generate some IO to the /dev/vdb disk.

Any suggestion which inbuild tool, simple script I can use?

Any pointer would be appreciated.

Basic Aim: Want to create some IO to the LUN and see it's impact upto the underlying storage through cinder.