ATTO Support
Troubleshooting, Tips & FAQs
Home » Support » Troubleshooting » Linux
I can only see 2 TB of my > 2 TB array The ATTO Celerity Fibre Channel, ExpressPCI SCSI, ExpressSAS SAS/SATA adapters and Linux all support volumes larger than 2 TB. In order to create a volume larger than 2 TB, 16 byte CDB's must be supported by the drive or array. The OS looks for a 05h in byte 2 of the Inquiry Data to determine whether a device supports SCSI specification SPC-3. Also, the volume label must be set to "GBT" as the first step to creating partitions on that volume. (Rev 10/15/2008) Java Support ResourcesJava is a computing platform that enables applications to run in almost any computer or device. Available for Windows, Macintosh, Linux and UNIX operating systems, the Java Runtime Environment (JRE) allows you to take advantage of the benefits of Java-enabled applications. Several ATTO applications, including the ATTO Configuration Tool, are Java-enabled. As such, the Sun version of Java must be installed on your computer for these applications to run. Java is available for download at the Java technology website (www.java.com). This site also provides a wealth of technical support resources to help you if needed. Also see Java_Installation_Notes.pdf (Rev 11/10/2008) Booting Linux from a drive attached to ATTO Fibre Channel, SAS or SCSI adapters is not supportedLinux drivers for ATTO Celerity Fibre Channel, ExpressSAS SAS/SATA, and ExpressPCI SCSI adapters are compiled and loaded as modules rather than built into the kernel. Due to this and the wide variety of kernels and Linux distributions, booting from a drive attached to these adapters is not generally supported. Linux should be installed to an ATA or SATA drive and the appropriate ATTO driver for Linux should be installed and loaded from that drive. Boot drivers have been generated for several distributons and kernel versions. If you need a boot driver, please contact ATTO Technical Support with your desired kernel version for availability. (Rev 10/15/2008) Red Hat or SUSE running 2.6.25 kernel, make file errorKernel version 2.6.25 release has broken all ATTO product Linux drivers. Please use 2.6.24 on earlier kernels until this has been resolved. (Rev 5/1/2008) Note: as/of 4/30/2008, the currently posted Linux drivers for ATTO host adapters have been tested with x32 and x64 kernel versions up to 2.6.24. Please contact ATTO Tech Support to see if there is a beta driver for newer kernels. (Rev 5/1/2008) Linux tips – GeneralFor those of you new to Linux, the command line terminal in all Linux distributions provide "tab" completion. This means you can start typing a folder name or file name and hit the "TAB" key to have the terminal complete the file or folder name for you. If you do not know what files or folders are in the directory, you can hit tab 2 times to show the contents. In some of the examples below, you will notice the use of the double Remember that Linux is case sensitive. This means if you are trying to navigate to a folder called "Drivers" and you enter "cd drivers" in terminal, the command will fail because a capital "D" was not used for "Drivers". This is also true for tab completion. If you type "cd d BE CAREFUL! Since Linux is case sensitive, you could then have 2 files or folders with the same name but in different cases. For example, you could have 2 folders in the root directory called "Drivers" and "drivers" and they would be treated as 2 different folders. Viewing DRIVER OPTIONS/PARAMETERS:The nice thing about the ATTO driver in Linux is that you can view driver parameters and statistics without having to open a registry editor, configuration tool, or CLI Tools. The following is a brief overview of some common Linux terminal commands that can be used to view ATTO driver information and basic Linux SCSI information. The Linux terminal is recommended as it provides much more information than Linux GUI applications. The terminal also allows users to easily build scripts using these commands. Open a terminal in your Linux distribution. Type "
Using the proper driver name, you can view the driver parameters that were used when the driver was loaded. Also, there are some valuable statistics that can be seen as well. To view these driver parameters and statistics, open a terminal window and type: Example: Example: By hitting
Model: ATTO ExpressSAS H30F SAS Address: 50010860:0011F300 Discovered Devices:
Statistics:
Notice that the output from top to bottom includes driver version, flash version, firmware version, current driver parameter values, adapter information, discovered devices, and driver statistics (including the current number of "Outstanding commands" and "Max outstanding commands"). You can reset the max outstanding commands value with the following command: You can also view ATTO driver parameters using the following command:
The nice thing about Linux is that you can unload the driver, change a NVRAM setting then reload it with the new settings without rebooting the host. BUT you may want to reboot the host after loading/unloading the driver many times as each time you load the driver, it wastes memory space. There are 3 methods that can be used in Linux to set ATTO driver parameters in Linux.
All ATTO drivers log events into the Linux system logs ("dmesg" and "/var/log/messages" file). For debugging purposes, ATTO technical support may request that you enable advanced logging in the driver in order to have more events outputted to the Linux system logs. To do this, simply change the default value (1) of the driver parameter "event_log_mask" to a value of "-1" or "0xfffff7ff (both settings get the same result). Refer to above instructions on how to set driver parameters. After you change this parameter, more events will be logged to the system logs. Miscellaneous helpful Linux commands
In both Red Hat version 5.5 and SLES 11 Linux versions, there is now built-in support for the LSI U320 SCSI chip in a driver called MPTSPI. If present, this driver will load automatically for the ATTO UL4D and/or UL5D SCSI adapters and must be removed ("rmmod mptspi") before our driver can be loaded. The MPTSPI driver cannot be deleted from the system as it is compiled with each distribution's kernel. You can "blacklist" the MPTSPI driver so that it will not load upon boot. This will allow the ATTO driver to load on boot after installation. The following procedures can be used to blacklist the LSI driver: Red Hat 5.5 and SLES 11:
SLES 11 by default does not allow "unsupported" (a.k.a. "tainted") modules to be loaded. "Unsupported" modules means that the driver is (A) Not open source and/or (B) Not qualified by Novell. When a driver is not open source, Novell will not mark the driver's "compatible" bit. When this compatible bit is not set, then SUSE assumes that the driver is "tainted" and subsequently, the driver is not allowed to load in the OS. ATTO drivers are not open source drivers and therefore, Novell will not mark the driver's "compatible" bit. Because the "compatible" bit is not set in our driver, the driver will not be allowed to load in SLES 11. To change SLES 11 default behavior in order to allow ATTO drivers to load, follow these instructions:
In Linux kernel 2.6.33 and higher, there is now built-in support for the PMC 8001 chip in a driver called pm8001.ko. If present, this driver will load automatically for the ATTO 6gb HBA and must be removed ("rmmod pm8001") before our driver can be loaded. As of May 2010, the only Linux distribution currently using this kernel is Fedora Core 12. If you would like to permanently remove the PMC driver, you can try deleting the built-in driver, which is probably located at:
NOTE: This location may not be valid for all Linux distributions using this kernel version. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||






