dm create error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi ALL:
      I have some problem with dm.  
      when I add a multipath occur some error in message file:
     
Jan 27 17:09:41 localhost kernel: device-mapper: table: 253:5: multipath: error getting device 
Jan 27 17:09:41 localhost kernel: device-mapper: ioctl: error adding target to table 
Jan 27 17:09:41 localhost multipathd: uevent 'add' from '/devices/virtual/block/dm-5' 
Jan 27 17:09:41 localhost multipathd: uevent 'remove' from '/devices/virtual/block/dm-5' 
Jan 27 17:09:41 localhost multipathd: dm-5: remove map (uevent) 
Jan 27 17:09:41 localhost multipathd: dm-5: No DM_NAME in uevent, ignoring 
Jan 27 17:09:41 localhost multipathd: uevent 'remove' from '/devices/virtual/block/dm-5' 
Jan 27 17:09:41 localhost multipathd: dm-5: remove map (uevent) 
Jan 27 17:09:41 localhost multipathd: dm-5: No DM_NAME in uevent, ignoring


       [root@localhost ovirt-node-nfs]# multipath -l 
Jan 27 17:22:56 | multipath.conf +6, invalid keyword: getuid_callout 
Jan 27 17:22:56 | multipath.conf +21, invalid keyword: getuid_callout 
Jan 27 17:22:56 | multipath.conf +41, invalid keyword: getuid_callout 
Jan 27 17:22:56 | libdevmapper version 1.02.84-RHEL7 (2014-03-26) 
Jan 27 17:22:56 | DM multipath kernel driver v1.6.0 
Jan 27 17:22:56 | loading /lib64/multipath/libcheckdirectio.so checker 
Jan 27 17:22:56 | loading /lib64/multipath/libprioconst.so prioritizer 
Jan 27 17:22:56 | Discover device /sys/devices/pci0000:00/0000:00:02.2/0000:03:00.0/host0/target0:2:0/0:2:0:0/block/sda 
Jan 27 17:22:56 | sda: not found in pathvec 
Jan 27 17:22:56 | sda: mask = 0x21 
Jan 27 17:22:56 | sda: dev_t = 8:0 
Jan 27 17:22:56 | open '/sys/devices/pci0000:00/0000:00:02.2/0000:03:00.0/host0/target0:2:0/0:2:0:0/block/sda/size' 
Jan 27 17:22:56 | sda: size = 3904897024 
Jan 27 17:22:56 | sda: vendor = DELL 
Jan 27 17:22:56 | sda: product = PERC H310 
Jan 27 17:22:56 | sda: rev = 2.12 
Jan 27 17:22:56 | sda: h:b:t:l = 0:2:0:0 
Jan 27 17:22:56 | open '/sys/devices/pci0000:00/0000:00:02.2/0000:03:00.0/host0/target0:2:0/0:2:0:0/state' 
Jan 27 17:22:56 | sda: path state = running 

Jan 27 17:22:56 | Discover device /sys/devices/pci0000:00/0000:00:02.2/0000:03:00.0/host0/target0:2:0/0:2:0:0/block/sda/sda1 
Jan 27 17:22:56 | Discover device /sys/devices/pci0000:00/0000:00:02.2/0000:03:00.0/host0/target0:2:0/0:2:0:0/block/sda/sda2 
Jan 27 17:22:56 | Discover device /sys/devices/pci0000:00/0000:00:1f.2/ata5/host5/target5:0:0/5:0:0:0/block/sr0 
Jan 27 17:22:56 | sr0: device node name blacklisted 
Jan 27 17:22:56 | Discover device /sys/devices/virtual/block/loop0 
Jan 27 17:22:56 | loop0: device node name blacklisted 
Jan 27 17:22:56 | Discover device /sys/devices/virtual/block/loop1 
Jan 27 17:22:56 | loop1: device node name blacklisted 
Jan 27 17:22:56 | Discover device /sys/devices/virtual/block/dm-0 
Jan 27 17:22:56 | dm-0: device node name blacklisted 
Jan 27 17:22:56 | Discover device /sys/devices/virtual/block/dm-1 
Jan 27 17:22:56 | dm-1: device node name blacklisted 
Jan 27 17:22:56 | Discover device /sys/devices/virtual/block/dm-2 
Jan 27 17:22:56 | dm-2: device node name blacklisted 
Jan 27 17:22:56 | Discover device /sys/devices/virtual/block/dm-3 
Jan 27 17:22:56 | dm-3: device node name blacklisted 
Jan 27 17:22:56 | Discover device /sys/devices/virtual/block/dm-4 
Jan 27 17:22:56 | dm-4: device node name blacklisted 
Jan 27 17:22:56 | Discovery status 0 
===== paths list ===== 
uuid hcil dev dev_t pri dm_st chk_st vend/prod/rev dev_st 
0:2:0:0 sda 8:0 -1 undef undef DELL ,PERC H310 running 
Jan 27 17:22:56 | unloading const prioritizer 
Jan 27 17:22:56 | unloading directio checker


[root@localhost etc]# cat multipath.conf 
# RHEV REVISION 1.1 

defaults { 
polling_interval 5 
#getuid_callout "/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" 
getuid_callout "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" 
no_path_retry 5 
user_friendly_names no 
flush_on_last_del yes 
fast_io_fail_tmo 5 
dev_loss_tmo 30 
max_fds 4096 
verbosity 4 


devices { 
device { 
vendor "HITACHI" 
product "DF.*" 
#getuid_callout "/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" 
getuid_callout "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" 

device { 
vendor "COMPELNT" 
product "Compellent Vol" 
no_path_retry 5 

device { 
# multipath.conf.default 
vendor "DGC" 
product ".*" 
product_blacklist "LUNZ" 
path_grouping_policy "group_by_prio" 
path_checker "emc_clariion" 
hardware_handler "1 emc" 
prio "emc" 
failback immediate 
rr_weight "uniform" 
# vdsm required configuration 
#getuid_callout "/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" 
getuid_callout "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" 
features "0" 
no_path_retry 5 


[root@localhost etc]# 


I can not fix this issue . This problem is hard enough to perplex . 
someone can give me some suggest with it.
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux