[linux-lvm] How long does PVmove take

Dieter Stueken stueken at conterra.de
Wed Aug 6 03:19:01 UTC 2003

B. J. Zolp wrote:
> Its been at 80-98% cpu the whole time too.  I have a feeling
> something is wrong.

Have a look at the device settings by "hdparm /dev/hdx" to see, if
DMA was disabled. If it was turned off, you should also have a look
into your syslog for IDE bad sector errors occurred. If so, the linux
IDE driver will switch off DMA immediately, as some years ago, buggy IDE
controller caused this kind of problem. Nowerdays this cause of errors
became quite unlikely. Instead it most likely there is (or was) really
some bad sector on your disk, and the error has nothing to do with the
use of DMA mode (but may cause further problem for pvmove).

Summary: swich on dma mode again (hdparm -d 1...). If you don't have
some very aged PII board you may even tell the driver, not to swich
off DMA for each error "hdparm -k 1..". But you should watch out for
any disk erros very carefully, and use some diagnostic tools to monitor
your disks, i.E. http://smartmontools.sourceforge.net/

Dieter Stüken, con terra GmbH, Münster
     stueken at conterra.de

More information about the linux-lvm mailing list