I "think" I have this configured correctly but wanted to see if there was others that might know better.
Step 1. in GUI add a new iscsi pointing to the iscsi portal and adding 1 target. (also uncheck Use LUNs)
Step 2. Add node-startup = automatic to /etc/iscsi/iscsid.conf (Restart iscsi service)
# systemctl restart iscsid.service
Step 3. Install multipath-tools and add multipath.conf and restart multipath services:
defaults {
find_multipaths no
}
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
devnode "^sda[[0-9]*]"
devnode "^cciss!c[0-9]d[0-9]*"
wwid .*
}
blacklist_exceptions {
wwid "[wwid]"
wwid "[wwid]"
}
multipaths {
multipath {
wwid "[wwid]"
alias lun00
}
multipath {
wwid "[wwid]"
alias lun01
}
}
step 4. discover and log in to all paths from portal in step 1
# iscsiadm -m discovery -t st -p [portal ip]:3260 -l
Now if I check multipath -ll I see 8 paths which is whats expected. Is this the correct way?
Step 1. in GUI add a new iscsi pointing to the iscsi portal and adding 1 target. (also uncheck Use LUNs)
Step 2. Add node-startup = automatic to /etc/iscsi/iscsid.conf (Restart iscsi service)
# systemctl restart iscsid.service
Step 3. Install multipath-tools and add multipath.conf and restart multipath services:
defaults {
find_multipaths no
}
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
devnode "^sda[[0-9]*]"
devnode "^cciss!c[0-9]d[0-9]*"
wwid .*
}
blacklist_exceptions {
wwid "[wwid]"
wwid "[wwid]"
}
multipaths {
multipath {
wwid "[wwid]"
alias lun00
}
multipath {
wwid "[wwid]"
alias lun01
}
}
step 4. discover and log in to all paths from portal in step 1
# iscsiadm -m discovery -t st -p [portal ip]:3260 -l
Now if I check multipath -ll I see 8 paths which is whats expected. Is this the correct way?
Last edited: