Chapter 24
Configuring and Managing Zones
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Assigning LUNs to Storage Subsystems
LUN masking and mapping restricts server access to specific LUNs. If LUN masking is enabled on a
storage subsystem and if you want to perform additional LUN zoning in a Cisco MDS 9000 Family
switch, obtain the LUN number for each host bus adapter (HBA) from the storage subsystem and then
configure the LUN-based zone procedure provided in the
page
Refer to the relevant user manuals to obtain the LUN number for each HBA.
Note
If you make any errors when assigning LUNs, you might lose data.
Caution
About Read-Only Zones
By default, an initiator has both read and write access to the target's media when they are members of
the same Fibre Channel zone. The read-only zone feature allows members to have only read access to
the media within a read-only Fibre Channel zone.
You can also configure LUN zones as read-only zones.
Any zone can be identified as a read-only zone. By default all zones have read-write permission unless
explicitly configured as a read-only zone.
Follow these guidelines when configuring read-only zones:
•
•
•
•
Configuring Read-Only Zones
To configure read-only zones, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# zone name Sample2 vsan 2
switch(config-zone)#
OL-18084-01, Cisco MDS NX-OS Release 4.x
24-22.
If read-only zones are implemented, the switch prevents write access to user data within the zone.
If two members belong to a read-only zone and to a read-write zone, the read-only zone takes
priority and write access is denied.
LUN zoning can only be implemented in Cisco MDS 9000 Family switches. If LUN zoning is
implemented in a switch, you cannot configure interop mode in that switch.
Read-only volumes are not supported by some operating system and file system combinations (for
example, Windows NT or Windows 2000 and NTFS file system). Volumes within read-only zones
are not available to such hosts. However, if these hosts are already booted when the read-only zones
are activated, then read-only volumes are available to those hosts.
The read-only zone feature behaves as designed if either the FAT16 or FAT32 file system is used
with the previously mentioned Windows operating systems.
"Configuring a LUN-Based Zone" section on
Purpose
Enters configuration mode.
Configures a zone called Sample2 for the specified
VSAN (vsan 2) and enters zone configuration
submode.
Cisco MDS 9000 Family CLI Configuration Guide
Advanced Zone Attributes
24-23