[linux-lvm] Procedure to pvmove PE's on bad media?

Ragnar Kjørstad lvm at ragnark.vestdata.no
Wed Dec 26 11:54:01 UTC 2001


On Wed, Dec 26, 2001 at 12:49:49PM +0000, Octavio Di Sciullo wrote:
> 	I've tried to apply to pvmove (from lvm 0.9.1b7) the patch
> issued on this thread :
> http://lists.sistina.com/pipermail/linux-lvm/2001-September/008767.html
> , but unfortunately, it doesnt work :/. With this "forced"
> pvmove, i get an endless read loop :
> 
> "read:-1 to_read:512
> read:-1 to_read:512
> read:-1 to_read:512
> read:-1 to_read:512"
> ..... (i let it run for about 4h and the output never
> changed, nor as the drive never ceased to produce scary
> noises)
> 
> 	Now i dont really know if this the proper behavior of the
> patched pvmove in case it REALLY doesnt manage to read the
> data (i thought this was what the patch was for), or if i
> have a compatibility problem with my 0.9 lvm installed and
> the 0.9.1b7 patched pvmove.... I tried (a bit) to upgrade to
> 0.9.1b7 but i get dependency conflicts.


Did you run it as root?
(isn't -1==EPERM, meaning you have no permission?)

The proper output (I think) should be:
read:-5 to_read:512
and with 4MB extent-size you should have 8192 such messages pr bad
extent (max).



-- 
Ragnar Kjørstad
Big Storage




More information about the linux-lvm mailing list