All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas McClendon <dmc.fedora@filteredperception.org>
To: dm-devel@redhat.com
Subject: recent bug in dmsetup status of mirror
Date: Wed, 22 Aug 2007 18:56:24 -0500	[thread overview]
Message-ID: <46CCCD28.4090201@filteredperception.org> (raw)

Hello,

My name is Douglas McClendon, and this is my first post to this list.  I
cannot emphasize how insanely useful I find devicemapper.  Specifically,
in how snapshot is used for the Fedora LiveCDs, and how that enables the
ability to install/live-migrate the livecd filesystem to the host,
without rebooting.

Unfortunately, it appears that between the stock F7 kernel -
2.6.21-1.3194.fc7, and the updated F7 kernel 2.6.22.1-41.fc7, the
dmsetup status results on a mirror have regressed.  The userspace tools
are the same in both cases - device-mapper-1.02.17-7.fc7

With the 2.6.21 kernel, after creating a mirror, dmsetup status shows
the mirroring progress, e.g. [1234/56789].  With the 2.6.22 kernel, it
does not.  I don't have the exact output handy to cut and paste, if need
be I can do that, or file a bug.

I don't remember exactly, but I think it was buggy in that the dmsetup
status returned only information about 1 of the 2 devices, even after
the mirror process completed.  (the reason I know the process completed,
is because the target was a qemu sparse device, whose size I was
tracking with 'du -cms'.  And then upon completion, I reloaded the
table, which housed the system's rootfs with just the new device, and
things didn't fall over dead.  And then I wrote some files, rebooted,
and mounted the 2nd device, and the test files were there.  I.e.
everything was working correctly, just the dmsetup status output seemed
wrong).

Any ideas?

And while I'm here, I'll throw in another question-  Does anybody know
how to throttle the mirroring IO so that the process can take a longer
time, but leave the system more responsive during the process?  I know
that mdadm's raid1 supports write throttling.  I haven't yet figured out
a way to do that with dm.

Thanks,

-dmc
Douglas McClendon

             reply	other threads:[~2007-08-22 23:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 23:56 Douglas McClendon [this message]
2007-08-27  9:07 ` recent bug in dmsetup status of mirror Douglas McClendon

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=46CCCD28.4090201@filteredperception.org \
    --to=dmc.fedora@filteredperception.org \
    --cc=dm-devel@redhat.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.