Greetings Fellow Knights Of The Penguin Clan....!
I am having issues with device mapper seeing a 275GB Raid5 Lun from my SAN storage.
I'm using IBM 2145 San Volume Controller.
I am able to see a 40 GB Raid 10 device though..
########################################################################
fdisk -l |grep 'dm-*'
Disk /dev/dm-6: 42.9 GB, 42949672960 bytes
########################################################################
These are the error messages that i get..
########################################################################
kernel: device-mapper: table: 253:11: multipath: error getting device
kernel: device-mapper: ioctl: error adding target to table
########################################################################
Also i am suspecting lvm taking over and changing the luns to scsi devices.. because i am seeing about 19 40GB devices extra (/sdr...etc)
########################################################################
Device Boot Start End Blocks Id System
Disk /dev/sdr: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
########################################################################
I used to use SDD driver to boot from SAN..then we had the configuration in /etc/rc.sysinit for the sdd driver to boot before LVM.
########################################################################
# Starting SDD
/etc/init.d/sdd start
# LVM2 initialization
if [ -x /sbin/lvm.static -o -x /sbin/multipath.static -o -x /sbin/dmraid ]; then
if ! LC_ALL=C fgrep -q "device-mapper" /proc/devices 2>/dev/null ;
########################################################################
Should i do this here too? but in RH5 i see an entry before LVM initialization to initialize device mapper...
########################################################################
# Device mapper & related initialization
if ! LC_ALL=C fgrep -q "device-mapper" /proc/devices 2>/dev/null ; then
modprobe dm-mod >/dev/null 2>&1
########################################################################
I'm really lost here...any help would be appreciated.....
My multipath configuration (/etc/multipath.conf)
########################################################################
defaults {
polling_interval 30
failback immediate
no_path_retry 5
rr_min_io 100
path_checker tur
user_friendly_names yes
}
device {
vendor "IBM"
product "2145"
path_grouping_policy group_by_prio
prio_callout "/sbin/mpath_prio_alua /dev/%n"
}
#######################################################################
Here is a link to a book on device mapper..
------------------------------------------------------------------------
http://www.redhat.com/docs/manuals/e..._Multipath.pdf
------------------------------------------------------------------------
Thanks Alot !
Young Sky Walker..