Multipath iSCSI

Angelo Turetta aturetta at commit.it
Fri Aug 3 11:18:57 UTC 2012


On 30/07/2012 23:16, John wrote:
> 
> iscontrol TargetName=disk1_net1 TargetAddress=... iscontrol
> TargetName=disk1_ne12 TargetAddress=...
> 
> You now have access to the same lun via two different paths.
> 
> Now create a gmultipath entity (if the above came in as da1 & 2):
> 
> gmultipath label -Av MULTIPATH /dev/da1 /dev/da2
> 
> The above should create:
> 
> /dev/multipath/MULTIPATH
> 
> which should provide the characteristics you're looking for. The
> -A option creates the device in active/active mode.

That would work if iscsi_initiator tolerated iscsi failures.

Unluckily it doesn't: and if a path fails, the related iscontrol
process becomes unkillable, even blocking reboot. Only way out is a
hard reset or power off. Almost useless, at lease with storage with
active/passive controllers, eg PowerVault MD3000i.

Péter, try how it works in your case. If you share my same fate, I'd
buy an iScsi HBA. They are not that expensive.

Angelo Turetta


More information about the freebsd-scsi mailing list