From: "Chelly Youssef (ISEFC)" Subject: Problem Delay construction of multipath device Date: Mon, 11 Jan 2010 12:16:54 +0100 Message-ID: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1709672922649295396==" 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 Cc: snitzer@redhat.com List-Id: dm-devel.ids --===============1709672922649295396== Content-Type: multipart/alternative; boundary=00504502d374bfe764047ce1ac34 --00504502d374bfe764047ce1ac34 Content-Type: text/plain; charset=ISO-8859-1 Problem: Delay construction of multipath device (/ dev/dm-3) I have a server and all works well at the beginning and I have no problem with multipath: - Server SunX4100 - Sun Storage Sun Storage Teck 2540 - Redhat Enterprise 5.2 (2.6.18-128.1.16.el5) - 1Seul fiber card (Dual Port) optical Qlogic (qla2xxx) - 2 Qlogic Fiber Switch 5600 # multipath -v2 -ll 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] \_ 3:0:0:1 sdf 8:80 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 4:0:0:1 sde 8:64 [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][enabled] \_ 4:0:0:0 sdd 8:48 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 3:0:0:0 sdc 8:32 [active][ghost] My fstab : /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/dm-2 /home auto defaults 0 0 /dev/dm-3 /data auto defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 64G 20G 42G 33% / /dev/sda1 99M 24M 71M 25% /boot tmpfs 2.0G 0 2.0G 0% /dev/shm /dev/dm-2 240G 148G 93G 62% /home /dev/dm-3 305G 115G 191G 38% /data After a while, the boot I got the message that displays: Mounting local filesystems: mount: special device / dev/dm-3 does not exist / sbin / mount.gfs gfs_controld not running error mounting lock proto lock_dlm *After starting the server I do:*** # multipath -v2 -ll 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] \_ 4:0:0:0 sdd 8:48 [active][ready] * * *And* # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 64G 20G 42G 33% / /dev/sda1 99M 24M 71M 25% /boot tmpfs 2.0G 0 2.0G 0% /dev/shm /dev/dm-2 240G 148G 93G 62% /home *I tried to solve the problem* * When I do:*** # service multipathd restart *Then* # multipath -v2 -ll 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] \_ 3:0:0:1 sdf 8:80 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 4:0:0:1 sde 8:64 [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][enabled] \_ 4:0:0:0 sdd 8:48 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 3:0:0:0 sdc 8:32 [active][ghost] I have a good result and I do mount-a. I made the upgrade to Redhat 5.4 (2.6.18-164.el5) but I have not solved the problem. It must be done at boot How I can do.* *I can give you my "sosreport" if you want. Thanks --00504502d374bfe764047ce1ac34 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
<= style>

Problem: Delay = construction of multipath device (/ dev/dm-3)

I have a server= and all works well at the beginning and I have no problem with multipath:
- Server SunX4100

- Sun Storage Sun Storage Teck 2540
- Redhat Enterprise 5.2 (2.6.18-128.1.16.el5)

- 1Seul fiber card (Dual Port) optical Qlogic (qla2xxx)
<= br> - 2 Qlogic Fiber Switch 5600

=A0

# multipath -v2 -ll

mpath2 (3600a0b80004946b80000083b4a4a0137) dm-3 SUN,LCSM100_F

[size=3D305G][features=3D1 queue_if_no_path][hwhandler=3D1 rdac][rw]

\_ round-robin 0 [prio=3D100][active]

=A0\_ 3:0:0:1=A0 sdf 8:80=A0 [active][ready]

\_ round-robin 0 [prio=3D0][enabled]

=A0\_ 4:0:0:1=A0 sde 8:64=A0 [active][ghost]

mpath1 (3600a0b8000493fb6000008674a4a0130) dm-2 SUN,LCSM100_F

[size=3D240G][features=3D1 queue_if_no_path][hwhandler=3D1 rdac][rw]

\_ round-robin 0 [prio=3D100][enabled]

=A0\_ 4:0:0:0=A0 sdd 8:48=A0 [active][ready]

\_ round-robin 0 [prio=3D0][enabled]

=A0\_ 3:0:0:0=A0 sdc 8:32=A0 [active][ghost]

=A0

My fstab=A0:

/= dev/VolGroup00/LogVol00 /=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ext3=A0=A0=A0 defaults=A0=A0=A0=A0=A0=A0=A0 1 1

LABEL=3D/boot=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 /boot=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 ext3=A0=A0=A0 defaults=A0=A0=A0=A0=A0=A0=A0 1 2

tmpfs=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0/dev/shm=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 tmpfs=A0= =A0 defaults=A0=A0=A0=A0=A0=A0=A0 0 0=

devpts=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 /dev/pts=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 devpts=A0 gid=3D5,mode=3D= 620=A0 0 0

s= ysfs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= /sys=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 sysfs=A0=A0 defaults=A0=A0=A0=A0=A0=A0=A0 0 0

p= roc=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 /proc=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0proc=A0=A0=A0 defaults=A0=A0=A0=A0=A0=A0=A0 0 0

/dev/dm-2=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /home=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 auto=A0=A0 defaults=A0=A0=A0=A0 0 0

/dev/dm-3=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /data=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 auto=A0=A0 defaults=A0=A0=A0=A0 0 0

/dev/VolGroup00/LogVol0= 1 swap=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 swap=A0=A0=A0 defaults= =A0=A0=A0=A0=A0=A0=A0 0 0

# df -h

Filesystem=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = Size=A0 Used Avail Use% Mounted on

/dev/mapper/VolGroup00-LogVol00

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 64G=A0=A0 20G=A0=A0 42G=A0 33% /

/dev/sda1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 99M=A0=A0 24M=A0=A0 71M=A0 25% /boot

tmpfs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 2.0G=A0=A0=A0=A0 0=A0 2.0G=A0=A0 0% /dev/shm

/dev/dm-2=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 240G=A0 148G=A0=A0 93G=A0 62% /home

/dev/dm-3=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 305G=A0 115G=A0 191G=A0 38% /data

=A0

After a while, the boot I got the message that displays:
Mounting local filesystems: mount: special device = / dev/dm-3 does not exist
/ sbin / mount.gfs gfs_controld not running error = mounting lock proto lock_dlm

=A0

After starting the server I do:

# multipath -v2 -ll

mpath1 (3600a0b8000493fb6000008674a4a0130) dm-2 SUN,LCSM100_F

[size=3D240G][features=3D1 queue_if_no_path][hwhandler=3D1 rdac][rw]

\_ round-robin 0 [prio=3D100][active]

=A0\_ 4:0:0:0=A0 sdd 8:48=A0 [active][ready]

=A0

And

# df -h

Filesystem=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0Size=A0 Used Avail Use% Mounted on

/dev/mapper/VolGroup00-LogVol00

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 64G=A0=A0 20G=A0=A0 42G=A0 33% /

/dev/sda1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 99M=A0=A0 24M=A0=A0 71M=A0 25% /boot

tmpfs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 2.0G=A0=A0=A0=A0 0=A0 2.0G=A0=A0 0% /dev/shm

/dev/dm-2=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 240G=A0 148G=A0=A0 93G=A0 62% /home

=A0

I tried to solve the problem


When I do:

# service multipathd restart

Then

# multipath -v2 -ll

mpath2 (3600a0b80004946b80000083b4a4a0137) dm-3 SUN,LCSM100_F

[size=3D305G][features=3D1 queue_if_no_path][hwhandler=3D1 rdac][rw]

\_ round-robin 0 [prio=3D100][active]

=A0\_ 3:0:0:1=A0 sdf 8:80=A0 [active][ready]

\_ round-robin 0 [prio=3D0][enabled]

=A0\_ 4:0:0:1=A0 sde 8:64=A0 [active][ghost]

mpath1 (3600a0b8000493fb6000008674a4a0130) dm-2 SUN,LCSM100_F

[size=3D240G][features=3D1 queue_if_no_path][hwhandler=3D1 rdac][rw]

\_ round-robin 0 [prio=3D100][enabled]

=A0\_ 4:0:0:0=A0 sdd 8:48=A0 [active][ready]

\_ round-robin 0 [prio=3D0][enabled]

=A0\_ 3:0:0:0=A0 sdc 8:32=A0 [active][ghost]

=A0

I have a good result and I do mount-a.
I made the upgrade to Redhat 5.4 (2.6.18-164.el5= ) but I have not solved the problem.
It must be done at boot

How I can do. I ca= n give you my "sosreport" if you want.

Thanks

--00504502d374bfe764047ce1ac34-- --===============1709672922649295396== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1709672922649295396==--