- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- linux device mapper important questions
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 09:17 AM
07-13-2011 09:17 AM
linux device mapper important questions
hi all,
i installed the device mapper on a redhat 5.4 (32 bits ) machine. unfortunately, the server was connected to the SAN switch utilizing two fiber channel connection from the HBA card. the controller is connect to the san switch and also to the enclosure.
normally we have two paths before installed the multipathing software.
Before the installation of HP device mapper, the server saw 2 vdisks if one (Vdisk) was presented from Command View, and it is normal.
after the installation the 2 Vdisks becomes one Vdisk and also the situation is normal.
i have created a physial volume, vg, LV,....
pvreate /dev/mapper/mpath1
vgcreate vg01 /dev/mapper/mpath1
lvcreate -l 2 GB -n lvoltest
mkfs ext3...
mount .....
my problem is:
how to verify the multipathing is working properlly?
I have like result the following:
disconnect FC 2 cable from on port of HBA card: the server is still see the VG and Vdisk
disconnect FC1 and connect FC2: the VDisk was disappeared.
please i need the device mapper command to verify if the two paths were active active....
is it true the command multipath -l
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 04:41 AM
07-14-2011 04:41 AM
Re: linux device mapper important questions
Can you please post the output of:
# multipath -l
# cat /etc/multipath.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 07:51 AM
07-14-2011 07:51 AM
Re: linux device mapper important questions
Shalom,
Clearly from your results multi pathing is not set up correctly OR more likely the disk is not properly presented to the second HBA card.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 11:27 AM
07-14-2011 11:27 AM
Re: linux device mapper important questions
thanks for your responses :
the result
FC1 cable to port 1 on HBA connection, port 2 HBA is disconnet
of [root@linuxmulti ~]# multipath -ll
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=50][active]
\_ 0:0:1:1 sdb 8:16 [active][ready]
\_ round-robin 0 [prio=10][enabled]
\_ 0:0:0:1 sda 8:0 [active][ready]
FC1 cable to port 2 on HBA connection, port 1 HBA is disconnet
of [root@linuxmulti ~]# multipath -ll
\[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=50][active]
\_ 0:0:1:1 sdb 8:16 [active][ready]
\_ round-robin 0 [prio=10][enabled]
\_ 0:0:0:1 sda 8:0 [active][ready]
FC2 cable to port 1 on HBA connection, port 2 HBA is disconnet
of [root@linuxmulti ~]# multipath -ll
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][enabled]
\_ 0:0:1:1 sdb 8:16 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
\_ 0:0:0:1 sda 8:0 [failed][faulty]
FC2 cable to port 2 on HBA connection, port 1 HBA is disconnetof
[root@linuxmulti ~]# multipath -ll
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][enabled]
\_ 0:0:1:1 sdb 8:16 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
and also the vdisk is presented for both wwn on the HBA. it is normal the result of the command multipath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2011 11:53 PM
07-16-2011 11:53 PM
Re: linux device mapper important questions
any updates please :smileyhappy:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2011 10:49 PM
07-17-2011 10:49 PM
Re: linux device mapper important questions
Hi,
From multipath output, what i can see is h-c-t-l address (0:0:1:1) part is always zero, this means you can only see devices from one hba port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 07:05 AM
07-18-2011 07:05 AM
Re: linux device mapper important questions
Bitou,
1.) What storage SAN Array are you using
2.) Are both your HBAs zoned properly with your SAN array?
3. ) What version of HP Device Mapper and version of Linux RHEL?
If it is an EVA6000+, 8000+ - you should see 8 device paths for every vdisk if zoning is properly done.
WIthin /etc/multipath.conf -- you can also name your disk friendlier - say /dev/mapper/EVAdisk01 instead of /dev/mapper/mpath1.
Pls attach your /etc/multipath.conf and ask your SAN admin for the Zone entries for your Server,