LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-07-2010, 11:00 AM   #1
chilon
LQ Newbie
 
Registered: Feb 2007
Posts: 2

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


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

Hi,

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


Now,I have a problem with multipath:

After a time,in 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.
# 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

All is good. but it's not automatic !!!

I made the upgrade to Redhat 5.4 (2.6.18-164.el5) but I have not solved the problem
How I can do.
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is in /dev/cfg/ - solaris 10 - multipath m2mthu Solaris / OpenSolaris 1 11-06-2009 06:06 PM
how to make device mapper multipath pseudo name consistence through reboot robertngo Linux - Server 1 06-29-2009 05:24 AM
device mapper / multipath creating extra device, won't let me talk to the one i want chakkerz Linux - Server 1 03-16-2008 05:52 PM
using flash drive changes device /dev/sr0 to /dev/sr1 for mapping to /dev/pktcdvd/0? lugoteehalt Linux - Software 3 10-24-2007 10:27 AM
partition a mappered device using multipath smile2 Linux - Hardware 1 05-04-2007 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration