- 8 buses per adapter
- 128 target IDs per bus
- 255 LUNs per target ID
Terminology used in this article
- Host Bus Adapter (HBA): This is the controller that is connected to the storage device. It may be a SCSI or Fibre controller because both topologies can support more than eight LUNs.
- Storage device: This is the controller in the array to which the HBA attaches. This is the device that controls the drives.
- Large LUN: This is a commonly used term for the practice of supporting more than eight LUNs.
Windows NT 4.0Large LUN support was added to Windows NT 4.0 Server in Service Pack 4 (SP4) and later service packs. This feature works only if the associated storage devices support the SCSI REPORT LUNS command. After you install SP4 or later, you may need to add the following registry value manually:
The value should be a REG_DWORD value with a data value of 0x1.
Windows 2000 and laterWindows 2000 supports Large LUNs, but the method for enabling it depends on the hardware implementation and drivers. If the storage device reports the HiSupport bit in its standard inquiry data, Windows automatically enables Large LUNs without requiring any manual registry entries. Contact the hardware vendor to determine if the storage device reports the HiSupport bit. The hardware drivers may also enable large LUN support during their installation routines.
If the hardware does not report the HiSupport bit or the drivers do not enable Large LUN support, a manual registry entry is required. This feature works only if the storage devices support the SCSI REPORT LUNS command. Note that editing the registry to enable Large LUNs requires detailed knowledge of the devices' hardware IDs and registry entries; this is the least-preferred method. Please contact the hardware vendor for additional information. Follow these steps to configure the required registry entry:
- Find the hardware ID of the storage device. To find the hardware ID:
- Start Regedit.exe, and then locate and click the following location:HKLM\SYSTEM\CurrentControlSet\Enum\SCSI
- Disk and storage devices that are enumerated by the system are listed. The storage device on which you want to enable LargeLUNs should appear in the list starting with Disk&Ven_. The name of the storage device should be recognizable after the Disk&Ven_ text.
- To find the hardware ID for the proper storage device, open the different Disk&Ven_ keys to display the different instances of the storage devices. A value labeled FriendlyName with a description to the right appears under each of the instances.
- After you locate the storage device, double-click hardwareID for one of the instance names. This is typically listed under the FriendlyName value.
- The value data lists the hardware ID of the storage device. Often, several hardware IDs are listed. Copy only one of these hardware IDs. Make sure to copy only the portion of the value after "SCSI\" to the Clipboard.
NOTE: There may be several hardware IDs for the same device. This occurs because the device may be detected in different ways for different firmware revisions of the same device. You may have to try each of the different hardware IDs in the following steps. If you have any problems with this, contact your storage device hardware manufacturer.
- Start Regedit.exe, and then locate and click the following location:
- With the hardware ID from the previous steps, follow the next steps to enable Large LUN support for the appropriate storage device:
- Locate and click the following key in the registry:HKLM\SYSTEM\CurrentControlSet\Control\ScsiPort\SpecialTargetList
- On the Edit menu, point to New, and then click Key.
- A new key named New Key #1 is created. Right-click New Key #1, and then click Paste to paste the hardware ID that you copied earlier.
NOTE: Right-clicking New Key #1 also displays a Rename command that you can use to attempt to paste the data again if New Key #1 is not in the proper state.
- After you create the new key, create a new DWORD value named LargeLuns with a value of 1.
NOTE: "LargeLuns" is plural.
- Locate and click the following key in the registry:
- Reboot the computer.
Issues involved in manually enabling Large LUN supportDuplicate disks may appear after you enable Large LUN support. This can occur if the HBA driver enables Large LUN support in a proprietary fashion coupled with the manual registry entry. The issue occurs if both the Windows LargeLuns feature and the HBA's LargeLuns feature are enabled.
If logical unit 0 is not present, the REPORT LUNS command cannot be sent to the target device. Windows enumerates only eight logical units, even if more units are present in the disk array. To support large configurations, the time that is necessary to determine the size configuration needed to be minimized. Because the number of logical units can be as high as 255 on some systems (0 - 254), a lot of time can be spent in sending inquiry commands to non-existent logical units. Notice that any LUN number returned from Storage should be in range of 0 - 254.
Any LUN with a LUN number larger than 254 will not be recognized by the Windows operating system.Consult your hardware manufacturer about the different parameters that should be used with your particular hardware.
Even though Windows can access Large LUNs, there may be other environment variables that need to be taken into consideration.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
Additional parameters for the SpecialTargetList keyFor Windows 2000 and later, there are several additional parameters that you can use under the SpecialTargetList key. They are:
- SparseLun - Allow for discontinuous LUN list.
- OneLun - Only scan LUN zero.
- LargeLuns - The device supports more than seven LUNs.
- SetLunInCdb - The device requires the LUN in CDBs sent to it.
- NonStandardVPD - The device supports VPD 0x83 but not 0x80.
- BinarySN - The device returns a binary serial number.