From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] libdm-iface: not output error message inside retry loops
Date: Fri, 28 Aug 2015 13:52:07 +0200 [thread overview]
Message-ID: <55E04B67.3060003@redhat.com> (raw)
In-Reply-To: <55E0D18A020000A00004DDE2@relay2.provo.novell.com>
Dne 28.8.2015 v 13:24 Liuhua Wang napsal(a):
>
> Thanks for your reply.
>
>>> Common scenario:
>>>
>>> The major reason for retry is 'unpredictable' udev event processing
>>> i.e. you run 'umount' -> fires watch-rule -> lvremove could have failed -
>>> retry fixes this problem.
>>
>>> We first found this problem when we were testing lvcreate-usage.sh included in
>>> lvm2-2.02.120 package. The case always failed due to the following message:
>>> device-mapper: remove ioctl on (253:6) failed: Device or resource busy
>>> [ 0:01] Node @TESTDIR@/dev/mapper/@PREFIX at vg-LV2-cow was not removed by udev. Falling >>back to direct node removal.
>
>> Looks like udev issue.
> You mean udev cookie related problem? Because I see udev cookie add and remove
> a little weird.
>
So the question #1 - are you using upstream lvm2 udev rules ?
(matching with install package)
Are there any modification made to upsteam lvm2 udev rules?
(Debian is usually having problems with those)
The rules are quite complex and any 'touch 'to them should be consulted with
upstream authors.
Could you create / remove snapshots without any problems.
I guess you should probably post failing logs for better diagnostic.
Zdenek
next prev parent reply other threads:[~2015-08-28 11:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 8:30 [PATCH] libdm-iface: not output error message inside retry loops Liuhua Wang
2015-08-27 11:59 ` Zdenek Kabelac
2015-08-28 2:58 ` Liuhua Wang
2015-08-28 10:16 ` Zdenek Kabelac
2015-08-28 11:24 ` Liuhua Wang
2015-08-28 11:52 ` Zdenek Kabelac [this message]
2015-08-31 8:39 ` Liuhua Wang
2015-08-31 9:30 ` Zdenek Kabelac
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=55E04B67.3060003@redhat.com \
--to=zkabelac@redhat.com \
--cc=lvm-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.