Archive for October 4th, 2010

Linux command line – measure disk performance

It can be quite annoying to clone your virtual LVM xen images and you notice that the host machine takes about 3 hours to clone a tiny 15Gb image.

A very handy tool, which is normally installed on RadHat / CentOS / Fedora machines is ‘hdparm’.
It gives you very quickly a slight idea of the disk performance.

hdparm -t /dev/drive

Clone xen LVM with ‘virt-clone’:

virt-clone -o existing_not_running_vm -n new_vm -f /dev/VolGroup00/new_vm --prompt