All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Unable to deactivate lv, pehaps due to semaphore problem...
Date: Thu, 27 Nov 2014 16:43:22 +0100	[thread overview]
Message-ID: <5477469A.1080103@redhat.com> (raw)
In-Reply-To: <CAG2kNCz7hmtcMQBeVQRbryVTzsE_DKr9y8Pg8rfKmSf8UDVDRQ@mail.gmail.com>

Dne 27.11.2014 v 16:36 Gianluca Cecchi napsal(a):
> On Thu, Nov 27, 2014 at 4:24 PM, Zdenek Kabelac <zkabelac@redhat.com
> <mailto:zkabelac@redhat.com>> wrote:
>
>
>
>     Ahh - I'd too strict  adblock filter - however passed info is not that useful.
>     Prefered output is   'lvchange -vvvv -an'
>
>
> Thanks!
> here it is:
> https://drive.google.com/file/d/0BwoPbcrMv8mvellaS1FtVXpqU2c/view?usp=sharing
>
>

Well yes - it shows the device is being held open - lvm2 retries to several 
times if the device does not get close - but it doesn't so it refuses o 
deactivate.

So if you are sure there is no user - then maybe you have some kpartx 
partition this device ?

I'd probably need to see your whole 'dmsetup table'
(at least do a grep for VG_AAA_TEMP/LV_AAA_TEMP minor)


>
>     You could 'complete' all cookies older then i.e. 1 minute.
>     Nothing should be holding cookie for that long time.
>
>
> So the command would be
>
> dmsetup udevcomplete_all 1
> correct?

Yes

Zdenek

  reply	other threads:[~2014-11-27 15:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27 14:26 Unable to deactivate lv, pehaps due to semaphore problem Gianluca Cecchi
2014-11-27 14:33 ` Zdenek Kabelac
2014-11-27 15:01   ` Gianluca Cecchi
2014-11-27 15:24     ` Zdenek Kabelac
2014-11-27 15:36       ` Gianluca Cecchi
2014-11-27 15:43         ` Zdenek Kabelac [this message]
2014-11-27 15:56           ` Gianluca Cecchi
2014-11-27 16:05             ` Zdenek Kabelac
2014-11-27 16:27               ` Gianluca Cecchi
2014-11-27 16:35                 ` Zdenek Kabelac
2014-11-27 16:46                   ` Gianluca Cecchi
2014-11-27 17:04                     ` Zdenek Kabelac
2014-11-27 17:18                       ` Gianluca Cecchi
2014-11-27 17:21                         ` Zdenek Kabelac
2014-11-27 17:49                           ` Gianluca Cecchi

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=5477469A.1080103@redhat.com \
    --to=zkabelac@redhat.com \
    --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.