- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Qlogic with EVA disk
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
Forums
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
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
тАО03-01-2009 07:19 PM
тАО03-01-2009 07:19 PM
Qlogic with EVA disk
I've installed 2 Qlogic card coonect to EVA storage...I allocated 5 disk from EVA and use the Qlogic driver form hp. But after reboot the server,the Linux OS appear to use the last group of disk /dev/sfa...not like normal setting which is /dev/sda. Is it something to do with the SCSI card? How to change back to normal?
[root@glstream2 ~]# lssd
sda 0,0,0,1 HP HSV200 6110 <-SAN disk
sdb 0,0,0,2 HP HSV200 6110 <-SAN disk
sdc 0,0,0,3 HP HSV200 6110 <-SAN disk
sdd 0,0,0,4 HP HSV200 6110 <-SAN disk
sde 0,0,0,5 HP HSV200 6110 <-SAN disk
sdf 2,2,0,0 DELL PERC 6/i 1.21
[root@glstream1 sysconfig]# fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 1011 1048376+ 83 Linux
Device Boot Start End Blocks Id System
/dev/sdb1 1 1011 1048376+ 83 Linux
Device Boot Start End Blocks Id System
/dev/sdc1 1 39162 314568733+ 83 Linux
Device Boot Start End Blocks Id System
/dev/sdd1 1 39162 314568733+ 83 Linux
Device Boot Start End Blocks Id System
/dev/sde1 1 19581 157284351 83 Linux
Device Boot Start End Blocks Id System
/dev/sdf1 * 1 13 104391 83 Linux
/dev/sdf2 14 17769 142625070 8e Linux LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 03:27 AM
тАО03-02-2009 03:27 AM
Re: Qlogic with EVA disk
What you encountered is normal.
First disk discovered gets sda, then sdb right on down the line.
If you reinstall the OS fresh, you would start over.
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
тАО03-02-2009 03:28 AM
тАО03-02-2009 03:28 AM
Re: Qlogic with EVA disk
This is why you use LABELS or UUID to mount file systems in fstab, or you can create persistent binding using udev.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 07:53 AM
тАО03-05-2009 07:53 AM
Re: Qlogic with EVA disk
You could use device-mapper-multipath to assign devices via WWID and alias them to friendly names.
Check out the contents of '/dev/disk/by-id/' and see if the WWIDs are shown up there:
ls -l /dev/disk/by-id/
Then populate the '/etc/multipath.conf' file similar to below (with a separate 'multipath' entry for each WWID):
-----------------------------------------------
defaults {
user_friendly_names yes
}
blacklist {
wwid 26353900f02796769
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z]"
devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}
multipaths {
multipath {
wwid 3600508b400013cf32341b00000620000
alias myname1
}
multipath {
wwid 3600508b4113013cf32341b00000620000
alias myname2
}
}
-----------------------------------------------
Restart the multipath daemon:
/etc/init.d/multipathd restart
Then try detecting the devices:
multipath -v2
multipath -ll
If your LUNs do not show up, consider taking a look at the '/usr/share/doc/device-mapper-multipath*/multipath.conf.defaults' file and adding a devices section for your SAN. Something similar to:
---------------------------------------------
devices {
device {
vendor "(COMPAQ|HP)"
product "HSV(1|2).*"
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout "/sbin/mpath_prio_alua %n"
features "0"
hardware_handler "0"
path_grouping_policy group_by_prio
failback immediate
rr_weight uniform
no_path_retry 60
rr_min_io 1000
path_checker tur
}
}
---------------------------------------------
Don't forget to re-run 'multipath -v2' if you make any changes to the config file.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 07:55 AM
тАО03-05-2009 07:55 AM
Re: Qlogic with EVA disk
/dev/mapper/myname1
/dev/mapper/myname2