All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gionatan Danti <g.danti@assyoma.it>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: nsoffer@redhat.com, Vojtech Juranek <vjuranek@redhat.com>
Subject: Re: [linux-lvm] Removing VG mappings using dmsetup tool
Date: Tue, 23 Jun 2020 22:37:55 +0200	[thread overview]
Message-ID: <bdaefe2a481fb2f830153dbef1496f16@assyoma.it> (raw)
In-Reply-To: <dff2c51f-70a9-3339-6fe8-06091608b572@redhat.com>

Il 2020-06-23 22:28 Zdenek Kabelac ha scritto:
> Note - you cannot 'remove' mappings 'in-use'  (aka open count of a 
> device
> is higher then 0  - see 'dmsetup info -c' output for this).
> However you can replace such mapping with 'error' target - so the
> underlaying device is relaxed - although we do not support this
> in lvm2 - you would need to use 'dmsetup' for this (and open lvm2 RFE
> if there would be some serious justifaction).

Not related to oVirt, but I would find a means to set an error target 
with LVM quite useful - think about immediately stopping IO to/from 
device in case some serious error happended. Using lvm rather than 
dmsetup would be easier and less error prone.

Thanks.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it [1]
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

  reply	other threads:[~2020-06-23 20:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-23 14:26 [linux-lvm] Removing VG mappings using dmsetup tool Vojtech Juranek
2020-06-23 20:28 ` Zdenek Kabelac
2020-06-23 20:37   ` Gionatan Danti [this message]
2020-06-23 21:02     ` Zdenek Kabelac
2020-06-23 21:34       ` Gionatan Danti
2020-06-23 21:53         ` Zdenek Kabelac
2020-06-24  7:46   ` Vojtech Juranek

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=bdaefe2a481fb2f830153dbef1496f16@assyoma.it \
    --to=g.danti@assyoma.it \
    --cc=linux-lvm@redhat.com \
    --cc=nsoffer@redhat.com \
    --cc=vjuranek@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.