Patent attributes
Mechanisms for performing zoning of devices, such as Serial Attached SCSI (SAS) devices, for example, in a storage area network (SAN) in which all host systems of the SAN are automatically mapped to all of the storage systems are provided. Mechanisms for automatically mapping backend storage enclosures to appropriate storage system controllers on the SAN are provided. The zoning is automatically performed based on whether ports/phys are coupled to host systems, storage systems, and whether there are storage system controllers associated with the storage systems. Based on the automatic zoning, mapping of the storage devices of the storage systems to the host systems may be automatically performed via zone permission tables. By automating the zoning, users that do not necessarily have a detailed knowledge of the storage device communication protocol or SANs may configure the SAN even if it utilizes a complex and large architecture.