Sponsored Content
Operating Systems Linux Red Hat device-mapper-multipath path [undef] Post 302377089 by chilonnb on Thursday 3rd of December 2009 06:04:34 AM
Old 12-03-2009
probleme multipath

bonjour,
j'ai deux serveur SUN equipé par RHEL5.2 x86_64 :
SRV1 : 01FC mono + 01FC mono (qlogic)
SRV2 : 01FC dual (qlogic)

ça fonctionnait correctement et après une certaine période J'ai eu un problème lors du démarrage de SRV2.


udevd-event[3580]: wait_for_sysfs: waiting for '/sys/devices/pci0000:00/0000:00:0d.0/0000:04:00.0/host3/target3:0:0/3:0:0:0/ioerr_cnt' failed

Le fstab est correct sur SRV2:
/dev/dm-2 /data auto defaults 1 2
/dev/dm-3 /home auto defaults 1 2

Une fois SRV2 est démarrer, le /home est vide. Il faut que je fais mount /dev/dm-3 /home (ça se monte pas automatiquement)

Je trouve une différence entre SRV1 et SRV2 lorsque je fais : multipath -ll -v2

SRV1 :
mpath2 (3600a0b80004946b80000083b4a4a0137) dm-3 SUN,LCSM100_F
[size=305G][features=1 queue_if_no_path][hwhandler=1 rdac][rw]
\_ round-robin 0 [prio=100][active]
\_ 1:0:0:1 sdf 8:80 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 2:0:0:1 sdd 8:48 [active][ghost]
mpath1 (3600a0b8000493fb6000008674a4a0130) dm-2 SUN,LCSM100_F
[size=240G][features=1 queue_if_no_path][hwhandler=1 rdac][rw]
\_ round-robin 0 [prio=100][active]
\_ 2:0:0:0 sdc 8:32 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 1:0:0:0 sdb 8:16 [active][ghost]

SRV2 :
mpath17 (3600a0b80004946b80000083b4a4a0137) dm-2 SUN,LCSM100_F
[size=305G][features=1 queue_if_no_path][hwhandler=1 rdac][rw]
\_ round-robin 0 [prio=100][active]
\_ 3:0:0:1 sdd 8:48 [active][ready]
mpath16 (3600a0b8000493fb6000008674a4a0130) dm-3 SUN,LCSM100_F
[size=240G][features=1 queue_if_no_path][hwhandler=1 rdac][rw]
\_ round-robin 0 [prio=0][active]
\_ 3:0:0:0 sdc 8:32 [active][ghost]

c'est un problème de paths.



comment je peux résoudre ça.


Merci d'avance.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Question about the hareware path and device name

# ioscan -f | grep disk Class I H/W Path Driver S/W State H/W Type Description disk 3 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC ... (1 Reply)
Discussion started by: bluepluto
1 Replies

2. UNIX for Dummies Questions & Answers

undef

how to undef a readonly parameter? (2 Replies)
Discussion started by: tukuna82
2 Replies

3. Red Hat

Device Mapper Notations and LVM

Hi, I had a doubt regarding device mapper notations and their corresponding LVM volumes. I have configured a volume group with two logical volumes in it as root and swap. The entries in the /etc/fstab file show the dm notations namely, /dev/mapper/VolGroup00-LogVol01... (2 Replies)
Discussion started by: kanna_geekworkz
2 Replies

4. Linux

If i don't have raid disks can i shut down dmraid device-mapper?

hello my centOS newly installed system loading dmraid modules on startup I did remove all LVM/raid things from system installation menus and after installation too but dmraid is still there and he says: no raid disks found also I did modprobe -r dm_raid45 and it do remove it but only until... (7 Replies)
Discussion started by: tip78
7 Replies

5. Red Hat

Ethernet Port device path?

Hi, I have a server program that reads data coming in on USB ports. Device paths are in the format: /dev/ttyUSB0 Now, I would like to log data from another device coming in over Ethernet. My first step is trying to track down what the correct device path is which I am unsure of. Anyone... (9 Replies)
Discussion started by: fedora18
9 Replies

6. Red Hat

Device-mapper behaviour booting on init=bin/bash

Good morning Recently we needed to change the password from a redhat 6.5 system that no one knew the root password. Starting the system with the init=/bin/bash method took us to the following scenario: system_vg active with only root_lv and tmpfs mounted. our entries at fstab are like... (1 Reply)
Discussion started by: Ikaro0
1 Replies

7. Red Hat

Raw device/multipath details

Hi, How to find the raw device/multipath details of the LUN used by the diskgroups of the database. file system type -- ASM Oracle -- 11.2.0.3.0 OS -- Linux This is RAC database. Regards, Maddy (2 Replies)
Discussion started by: Maddy123
2 Replies

8. Red Hat

Unable to create customized multipath device

Hi, I am testing on iSCSI + multipath, where i have one iSCSI lun assigned to one server. mpatha (1IET 00010001) dm-2 IET,VIRTUAL-DISK size=100M features='0' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=1 status=active | `- 2:0:0:1 sda 8:0 active ready running `-+-... (6 Replies)
Discussion started by: linux.amrit
6 Replies

9. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

10. Solaris

Creating multipath device with FC Disks

Hello, I am trying to setup a storage server with salvaged equipments: QSSC-S4R server, with QLogic 2562 FC HBA's Clariion KTN-STL4 4GB FC Enclosures Disks Salvaged from EMC Vmax Disks are 520B sector size so i converted to 512B in linux environment and create multipath successfully. But... (4 Replies)
Discussion started by: amd103
4 Replies
trafgen(8)							netsniff-ng-toolkit							trafgen(8)

NAME
trafgen - a high-performance zero-copy network packet generator SYNOPSIS
trafgen [-d|--dev <netdev>][-c|--conf <file>][-J|--jumbo-support] [-x|--interactive][-n|--num <uint>][-r|--rand][-t|--gap <usec>] [-S|--ring-size <size>][-k|--kernel-pull <usec>][-b|--bind-cpu <cpu>] [-B|--unbind-cpu <cpu>][-H|--prio-high][-Q|--notouch-irq][-v|--version] [-h|--help] DESCRIPTION
A high-performance network traffic generator that uses the zero-copy TX_RING for network I/O. For instance, on comodity Gigabit hardware up to 1,488,095 pps 64 Byte pps have been achieved with trafgen. OPTIONS
trafgen --dev eth0 --conf trafgen.txf --bind-cpu 0 Use packet configuration trafgen.txf, eth0 as transmission device and CPU0 for binding the process. OPTIONS
-h|--help Print help text and lists all options. -v|--version Print version. -d|--dev <netdev> Device for transmission i.e., eth0. -c|--conf <conf> Path to packet configuration file. -x|--interactive Start trafgen in interactive mode. -J|--jumbo-support Support for 64KB Super Jumbo Frames -n|--num <uint> Number of packets to generate before exiting. 0 means forever until SIGINT. -r|--rand Randomize packet selection process instead of round-robin. -t|--gap <uint> Interpacket gap in microseconds. -S|--ring-size <size> Manually set ring size to <size>: mmap space in KB/MB/GB. -k|--kernel-pull <uint> Kernel pull from user interval in microseconds. Default value is 10 microseconds. -b|--bind-cpu <cpu> Bind to specific CPU (or CPU-range). -B|--unbind-cpu <cpu> Forbid to use specific CPU (or CPU-range). -H|--prio-high Make this high priority process. -Q|--notouch-irq Do not touch IRQ CPU affinity of NIC. EXAMPLES
Generate traffic defined in trafgen.txf on eth0 using CPU 0 trafgen --dev eth0 --conf trafgen.txf --bind-cpu 0 Generate traffic on eth0 using CPU 0, wait 100 us between packets trafgen --dev eth0 --conf trafgen.txf --bind-cpu 0 --gap 100 Generate 100,000 packet on eth0 using CPU 0 trafgen --dev eth0 --conf trafgen.txf --bind-cpu 0 --num 100000 AUTHOR
Written by Daniel Borkmann <daniel@netsniff-ng.org> DOCUMENTATION
Documentation by Emmanuel Roullit <emmanuel@netsniff-ng.org> BUGS
Please report bugs to <bugs@netsniff-ng.org> 2012-06-29 trafgen(8)
All times are GMT -4. The time now is 01:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy