All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simone Gotti <simone.gotti@email.it>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] dmeventd_mirror problem and some questions.
Date: Tue, 18 Apr 2006 14:40:34 +0200	[thread overview]
Message-ID: <1145364034.3003.55.camel@localhost> (raw)

Hi All,

I was curious to try the experimental dmeventd + the mirror checking
dso.
Everytime I created a mirror volume, dmeventd was crashing when the
mirror finished the syncing process. 
I tracked it down to _get_mirror_event that is expeting a return string
from the status ioctl to dm like "2 253:4 253:5 400/400 1 AA 3 cluster
253:3 A" but it gets only "2 253:4 253:5 400/400" so it SIGSEGV when is
going to read over the number of returned arguments in the "args" array
from split_words.

The same string is returned by "dmsetup status".

Do these informations aren't already implemented in the ioctl, or are
there some patches around that I can try? (my kernel is the latest
available in fedora rawhide: 2.6.16-1.2131_FC6)

Another question, If I understand it correctly, the mirror library for
dmeventd will look to possible problems (eg the lost of a PV containing
a mirror), and it will call the right lvm command to fix it?
For example, if a PV containing a side of a 2 way mirrored volume is
lost, what are the various actions that it will do (I noticed an
lvreduce --removemissing, but my fear is that this command will also
remove unmirrored volumes)?

Thanks!

Bye!

Simone Gotti.


 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Problemi di Liquidit�? Con Logos Finanziaria 30.000 � in 24 ore a dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi, clicca qui
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2911&d=18-4

             reply	other threads:[~2006-04-18 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 12:40 Simone Gotti [this message]
2006-04-19 14:00 ` [linux-lvm] dmeventd_mirror problem and some questions Jonathan E Brassow
2006-04-20 20:50   ` Simone Gotti
2006-04-21 14:32     ` Jonathan E Brassow

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=1145364034.3003.55.camel@localhost \
    --to=simone.gotti@email.it \
    --cc=linux-lvm@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.