Skip to contentSkip to conversation

Problem Delay construction of multipath device

DISCUSSION Chelly Youssef (ISEFC) 2 participants 5 messages Jan 11, 2010 – Jan 12, 2010 Device mapper

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Chelly Youssef (ISEFC)

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

[snip]

Quoted 1 line

My fstab :

[snip]

[snip]

Quoted 4 lines

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.

[snip]

I don't know if you have some problems related to latencies or oher, but I have two comments:

- In general, at least in rh el 5.x, dm-x names are not persistent across reboots, so I think it is not safe to directly refer them in fstab.
You can make a label on the fs, such as this, if they are ext2/3/4

tune2fs -L homefs /dev/mpath2 (with /home umounted and pointing to mpath2 in this case)

and then in fstab
LABEL=homefs 240G 148G 93G 62% /home

or create a volume group and refer the LV with something like this in fstab (VG=vgname, LV=lvname) in the first column:
/dev/mapper/vgname-lvname

- If you are using rh el 5.4 and your hw/sw config is supported you can open a case....

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#3 lore raw
In reply to Gianluca Cecchi

hi,

i use rhel 5.4 and my hw/sw config is supported. how can i open a case. you have the link ?

Thanks.

2010/1/12 Gianluca Cecchi <[email protected]>

Quoted 41 lines
Quoted 1 line · Chelly Youssef (ISEFC)

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

[snip]

Quoted 1 line

My fstab :

[snip]

[snip]

Quoted 1 line

I made the upgrade to Redhat 5.4 (2.6.18-164.el5) but I have not solved

the

Quoted 3 lines

problem. It must be done at boot

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

[snip]

I don't know if you have some problems related to latencies or oher, but I have two comments:

- In general, at least in rh el 5.x, dm-x names are not persistent across reboots, so I think it is not safe to directly refer them in fstab.
You can make a label on the fs, such as this, if they are ext2/3/4

tune2fs -L homefs /dev/mpath2 (with /home umounted and pointing to mpath2 in this case)

and then in fstab
LABEL=homefs 240G 148G 93G 62% /home

or create a volume group and refer the LV with something like this in fstab (VG=vgname, LV=lvname) in the first column:
/dev/mapper/vgname-lvname

- If you are using rh el 5.4 and your hw/sw config is supported you can open a case....

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#4 lore raw

It's going somewhat offtopic now... sorry to the list.
As you wrote that you recently updated the system to 5.4 (or at least I understood this), it means you have a valid rhn subscription. Tipically you have support (web and/or phone) support bound to this. but they could be particular cases where you have not ability to open tickets (for example for some kind of Academic licenses AFAIK) You have to ask the person responsible with licenses/subscriptions in your organization.

In general you have a login to access Red hat Network web site with a browser:
https://rhn.redhat.com
After login you select
"red hat customer center" box at the mid'left of the page
In the new page, inside the third column from the left, named "Tickets", you select the link
"Open new tickets or manage existing"
and then it is self explanatory.

HIH,
Gainluca

Quoted 51 lines · Chelly Youssef (ISEFC)

hi,

i use rhel 5.4 and my hw/sw config is supported. how can i open a case. you have the link ?

Thanks.

2010/1/12 Gianluca Cecchi <[email protected]>

Quoted 35 lines
Quoted 1 line · Chelly Youssef (ISEFC)

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

[snip]

Quoted 1 line

My fstab :

[snip]

[snip]

Quoted 5 lines

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.

[snip]

I don't know if you have some problems related to latencies or oher, but I have two comments:

- In general, at least in rh el 5.x, dm-x names are not persistent across reboots, so I think it is not safe to directly refer them in fstab.
You can make a label on the fs, such as this, if they are ext2/3/4

tune2fs -L homefs /dev/mpath2 (with /home umounted and pointing to mpath2 in this case)

and then in fstab
LABEL=homefs             240G  148G   93G  62% /home

or create a volume group and refer the LV with something like this in fstab (VG=vgname, LV=lvname) in the first column:
/dev/mapper/vgname-lvname

Quoted 7 lines

- If you are using rh el 5.4 and your hw/sw config is supported you can open a case....

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Quoted 5 lines

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel