I'm trying to setup a web application on the Azure Preview Portal. I've created a Linux Centos 6.2 machine from the Azure VM gallery and attached some disks to it.
df -h gives me this:
Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root 28G 4.2G 22G 16% / tmpfs 1.7G 0 1.7G 0% /dev/shm /dev/sda1 485M 94M 366M 21% /boot /dev/sdb1 133G 188M 126G 1% /mnt/resource /dev/sdc1 40G 176M 38G 1% /mnt/datadrive
sdc1 are both storage drives.
sdb1 is the default one created when you create the machine and
sdc1 was attached by me as another 40GB drive.
I want to test the performance of each drive and compare it with the boot drive (that is probably
I've tried using
dd for it:
dd if=/dev/sda1 of=/tmp/zero bs=1k count=100k // test for sda1 dd if=/dev/sdb1 of=/tmp/zero bs=1k count=100k // test for sdb1 dd if=/dev/sdc1 of=/tmp/zero bs=1k count=100k // test for sdc1
But I'm not sure if it actually does the test in different partition in each run. Is this a correct way to test the read/write of different partitions ? thanks.