All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Niehusmann <list039@gondor.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] pvmove hangs
Date: Sun Aug 17 13:27:02 2003	[thread overview]
Message-ID: <20030817182602.GA3737@gondor.com> (raw)
In-Reply-To: <20030817184138.E25758@uk.sistina.com>

On Sun, Aug 17, 2003 at 06:41:38PM +0100, Alasdair G Kergon wrote:
> 383/384 means the kernel mirror has only successfully copied 383 out 
> of 384 512-KB regions from (major, minor) (3,4) to (9,2).
> 
> The first pvmove segment has 
>   12 16MB extents = 393216 sectors = 384 512KB regions.

Well, now after I did some pvmoves of individual LVs, pvmove /dev/hda4
hangs at a different point:

activate/dev_manager.c:487 pvmove  Mirror status: 2 003:004 009:002 511/512
activate/dev_manager.c:532 pvmove  Mirror percent: 99.804688

dmsetup says:

0 524288 mirror core 1 1024 2 003:004 111146736 009:002 56852864 
524288 229376 linear 003:004 88864496
753664 2326528 linear 003:004 89093872
[...]

I hope I understand these numbers correctly: The first line means that
the virtual device vgraid-pvmove0 starts with 524288 blocks (512 byte
each). These are located at position 111146736 on /dev/hda4 and 
56852864 on /dev/md2. (But I don't know what core 1 1024 2 means)

I can read/write these areas with dd, without error messages.

> We haven't implemented bad sector error reporting and handling yet,
> so for now, you have to construct pvmoves to avoid any bad sectors.

I don't think the drives have bad sectors - at least I didn't see any
signs of bad sectors by now.

And I pvmoved a 19GB LV, much more than the global pvmove gets done.
All the moves had decent performance, ~20MB/s, where the source drive
only reads ~30MB/s with dd. The only strange thing I saw was that there
sometimes where some seconds without any disk activity at all. 

Jan

  reply	other threads:[~2003-08-17 13:27 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-16  5:21 [linux-lvm] pvmove hangs Jan Niehusmann
2003-08-16 10:48 ` Jan Niehusmann
2003-08-16 13:57 ` Alasdair G Kergon
2003-08-17 11:11   ` Jan Niehusmann
2003-08-17 11:34     ` Alasdair G Kergon
2003-08-17 11:41       ` Jan Niehusmann
2003-08-17 12:00         ` Alasdair G Kergon
     [not found]   ` <20030817114638.GA1839@gondor.com>
2003-08-17 12:42     ` Alasdair G Kergon
2003-08-17 13:27       ` Jan Niehusmann [this message]
2003-08-17 13:50         ` Alasdair G Kergon
2003-08-17 13:55         ` Alasdair G Kergon
2003-08-18 12:58     ` Alasdair G Kergon
2003-08-18 13:21       ` Jan Niehusmann
2003-08-18 17:55       ` Jan Niehusmann
2003-08-19 17:52         ` Jan Niehusmann
2003-08-17 18:15   ` Jan Niehusmann
2003-08-18  6:46     ` Alasdair G Kergon
2003-08-18  7:07       ` Jan Niehusmann
2003-08-18  9:13     ` Alasdair G Kergon
2003-08-18  9:30       ` Jan Niehusmann
  -- strict thread matches above, loose matches on Subject: below --
2005-04-26  9:19 Gergely Imre
2005-04-26 13:30 ` Diaz Rodriguez, Eduardo
2005-04-27  5:46   ` Gergely Imre
2005-04-27 13:04 Gergely Imre
2005-04-28  9:46 ` Diaz Rodriguez, Eduardo
2005-04-28 10:23   ` Gergely Imre
2005-04-28 11:13     ` Diaz Rodriguez, Eduardo
2010-08-17 19:26 Allen, Jack
2010-08-17 22:12 ` Thomas Hager
2010-08-17 23:09   ` Allen, Jack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030817182602.GA3737@gondor.com \
    --to=list039@gondor.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.