Connect a DELL MD3000i in DEBIAN LENNY (32bit and AMD64) with multipath.
A short step by step description.
Just used the packets from repository.
# su -
# apt-get install multipath-tools open-iscsi
And start configuration.
# vi /etc/iscsi/iscsid.conf
/* change to automatic */
node.startup = automatic
# vi /etc/init.d/open-iscsi
/* add sleep 10, without it wont work */
start() {
sleep 10
# vi /etc/multipath.conf
defaults {
user_friendly_names yes
}
devices {
device {
vendor "DELL*"
product "MD3000*"
path_grouping_policy group_by_prio
getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
path_checker rdac
prio_callout "/sbin/mpath_prio_rdac /dev/%n"
hardware_handler "1 rdac"
failback immediate
product_blacklist "Universal*"
}
}
# iscsiadm -m discovery -t st -p <any MD3000i iSCSI port>
# reboot
For troubleshooting use follwing:
Shows iSCSI daemon activity
# /etc/init.d/open-iscsi status
Shows active iSCSI sessions
# iscsiadm -m session
Shows multipath devices
# multipath -ll
Shows more info about multipath
# multipath -v3 -ll
Shows available disk devices
# fdisk -l
Shows mapping device list
# ls -l /dev/mapper/
And check system logs too
# dmesg
Configure persistent device naming.
To get WWID
# multipath -ll
# vi /etc/multipath.conf
multipaths {
multipath {
wwid <WWID from above command>
alias <shortname>
}
}
# /etc/init.d/multipath-tools restart
Multipath device can now be accessed by /dev/mapper/
# fdisk /dev/mapper/
# mkfs -t /dev/mapper/-
# mount /dev/mapper/-
A typical output you can find in article at
http://www.tbaumi.de/blog/?p=498
as there is the output.txt attached.
So as this was working in my config. I am looking for some
expierences from other users.
Thanks for feedback in advance
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq