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 18:15:02 2003	[thread overview]
Message-ID: <20030817231415.GA4328@gondor.com> (raw)
In-Reply-To: <20030816195606.B25758@uk.sistina.com>

On Sat, Aug 16, 2003 at 07:56:06PM +0100, Alasdair G Kergon wrote:
> If pvmove process itself freezes, then a long/wide 'ps' output for that
> process, kcopyd & kmirrord (incl cols: NI, VSZ, RSS, STAT 
> and symbolic WCHAN).

I noticed the WCHAN fields in my ps output were not very useful, because
they pointed to a module and were not decoded.

So I took the numeric value (92fa83) and looked it up by hand. It seems
to point to the schedule() call in line 56 of dm-daemon.c for both
kcopyd and kmirrord. 

And then, I made a quite worrying observation: When the hanging happens,
the device being copied is in a completely garbled state. In this case,
/dev/vgraid/lvol5 didn't look like an ext3 filesystem at all. 

So I looked at the underlying devices, and both /dev/hda4 and /dev/md2 had
a copy of the actual filesystem, only differing in the last 512K. This
conforms to the fact that the mirroring was done for all but one 512K
block. But these 512K are completely different (target device all zeroes).

However, these are only the underlying devices. Looking at
/dev/vgraid/lvol5 a little bit closer revealed that it contained parts
of some other filesystem. Very strange. And worrying. I don't even want
to know if writing to this LV would overwrite some unrelated partition.

Jan

  parent reply	other threads:[~2003-08-17 18:15 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
2003-08-17 18:15   ` Jan Niehusmann [this message]
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
     [not found]   ` <20030817114638.GA1839@gondor.com>
2003-08-17 12:42     ` Alasdair G Kergon
2003-08-17 13:27       ` Jan Niehusmann
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
  -- 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=20030817231415.GA4328@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.