Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
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.0
Large 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.
Note that DriverName
is the name of the driver for which you want to enable Large LUN support. This causes all HBAs that are controlled by the specified driver to have Large LUNs enabled. Also note that "LargeLUNs" is plural.Microsoft recommends Windows NT 4.0 Service Pack 6a (SP6a) for Windows NT 4.0-based servers that use LargeLuns
.For more information on issues with Windows NT 4.0 and LargeLun support, click the following article number to view the article in the Microsoft Knowledge Base:
Some LARGE LUN numbers are not available to the computer
Windows 2000 and later
Windows 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:
- 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.
- 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:
- 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.
- Reboot the computer.
Issues involved in manually enabling Large LUN support
Duplicate 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, a lot of time can be spent in sending inquiry commands to non-existent logical units.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:
System may not start when creating a large number of logical units and volumes
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
Duplicate LUN 0 when LargeLuns registry key enabled
Additional parameters for the SpecialTargetList key
For 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.
These keys are checked in the order in which they are listed; the information at each level is logically "OR'ed" with that from the previous level.