[linux-lvm] dma_timer_expiry and pvmove problem

Tobias Wagener tobias-lvm at tobias.wagener.nu
Tue Nov 4 20:12:01 UTC 2003


every time I try to "unzip", "cp" or only "cat" one special file in my lvm
the system freezes and I must reboot.

The last messages in kernel-log are:
   Nov  5 00:46:43 go kernel: hde: dma_timer_expiry: dma status == 0x61
   Nov  5 00:46:53 go kernel: hde: error waiting for DMA
   Nov  5 00:46:53 go kernel: hde: dma timeout retry: status=0x51 { DriveReady SeekComplete Error }
   Nov  5 00:46:53 go kernel: hde: dma timeout retry: error=0x40 { UncorrectableError }, LBAsect=111599988, high=6, low=1093
   Nov  5 00:46:53 go kernel: end_request: I/O error, dev 21:01 (hde), sector 111599922

Some times ago somebody had the same problems and the answer was to
"pvmove" the files of "hde" to another harddisk and remove the "hde"-drive.

The question is (I don't try it, but I think this will happend): 
"pvmove" read this special file also, and the system will freezes, too. Is there
a way to tell pvmove to leave some sectors/inodes away? Because I think there is
a defect sector on this harddrive and that is the reason for the fatal error.
Or, does someone think, if I switch off the use of DMA, this problem will be fixed?
I'm not that kind of expert, so please be patient with me ;)

If this is not possible, another question: I think I can put some new harddisks 
in my computer and copy (with "cp") the files (without the special one) to a new 
lvm. Delete the old lvm and remove the defect drive. 
My Question now is: The new lvm will be "/dev/hdg" and "/dev/hdh", but after this
action I want that this lvm is build out of "hde" and "hdf". Is there a way to
tell the lvm to use for an existing vg other partitions than the ones defined at
build time?

Please excuse my bad english, I hope you understand everything I want to tell you ;)

Greetings Tobias

More information about the linux-lvm mailing list