From: "Laurent GEHLEN" Subject: domap (0) failure for create/reload map Date: Fri, 23 May 2008 11:58:22 +0200 Message-ID: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1506504925==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids --===============1506504925== Content-Type: multipart/alternative; boundary="----=_Part_9961_17390384.1211536702587" ------=_Part_9961_17390384.1211536702587 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, Is there anybody who can help me to find where is my problem. I'm trying to generate a mapper device with the tools multipath. But visibly it blocs before it finish, because I don't have any new mapper device. When i chose the verbose level 3 i can see those interesting things: > # multipath -v3 > [...] > sda: not found in pathvec > [...] > sdb: not found in pathvec > [...] > sdc: not found in pathvec > [...] > sdd: not found in pathvec > [...] > test: set ACT_CREATE (map does not exist) > test: domap (0) failure for create/reload map > [...] > libdevmapper: libdm-common.c(239): Setting SELinux context for > /dev/mapper/test to system_u:object_r:fixed_disk_device_t. > [...] > I think the most interesting thing is the "domap (0) failure for create/reload map". I've read a bit about the code mutlipath (cm/linux/storage/multipath-tools/libmultipath/configure.c+domap+(0)+failure+for+create/reload+map&hl=fr&ct=clnk&cd=4&gl=be&client=firefox-a) And conclude (but not sure) that's the dm_addmap failed. you can find the output of multipath -v3 here: --> http://rafb.net/p/J45SFA12.html My multipath.conf here: --> http://rafb.net/p/G66QZ826.html Thank you in advance for any idea! Laurent ------=_Part_9961_17390384.1211536702587 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,

Is there anybody who can help me to find where is my problem.
I'm trying to generate a mapper device with the tools multipath. But visibly it blocs before it finish, because I don't have any new mapper device.
When i chose the verbose level 3 i can see those interesting things:
# multipath -v3
[...]
sda: not found in pathvec
[...]
sdb: not found in pathvec
[...]
sdc: not found in pathvec
[...]
sdd: not found in pathvec
[...]
test: set ACT_CREATE (map does not exist)
test: domap (0) failure for create/reload map
[...]
libdevmapper: libdm-common.c(239): Setting SELinux context for /dev/mapper/test to system_u:object_r:fixed_disk_device_t.
[...]

I think the most interesting thing is the "domap (0) failure for create/reload map".
I've read a bit about the code mutlipath (cm/linux/storage/multipath-tools/libmultipath/configure.c+domap+(0)+failure+for+create/reload+map&hl=fr&ct=clnk&cd=4&gl=be&client=firefox-a)
And conclude (but not sure) that's the dm_addmap failed.

you can find the output of multipath -v3 here:
 --> http://rafb.net/p/J45SFA12.html

My multipath.conf here:
 --> http://rafb.net/p/G66QZ826.html

Thank you in advance for any idea!

Laurent

------=_Part_9961_17390384.1211536702587-- --===============1506504925== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1506504925==--