Prefetch Technologies // Keeping your cache lines cozy

Archive

Posts in Storage

Updating Emulex boot code on Solaris hosts

storageMay 3, 2009 1 min read

I previously discussed updating Emulex adapter firmware, but didn't touch on updating the adapter's boot code. The boot code allows you to boot from a SAN device, and is a separate upgrade from the standard firmware. To upgrade the boot code, you can run the emlxadm download_boot command with the name of the boot code image: This post is a reference for myself, and I take ZERO responsibility for botched firmware updates. As with all information on this blog, use this information at your own risk (no warranties of any sort are provided).

$ read more →

Viewing hard drive temperatures on Linux hosts

storagelinuxApr 30, 2009 1 min

While reviewing the sensor data provided by lm-sensors, I started to wonder if there was an easy way to list hard drive temperatures. The smartctl utility can show this information per drive, but I wanted something that would dump temperatures for all drives in my systems. After a bit of searching, I came across the hddtemp utility: I haven't read through the hddtemp source code to see if it is using ioctl()'s or /sys to get this information, but I'm stoked that this information is so easy to get to (tying this into Nagios would be kinda nifty). Viva CentOS Linux!

$ read more →

Upgrading Brocade firmware

storageApr 29, 2009 1 min

I recently purchased a Brocade 3200 for my lab, and wanted to upgrade the switch to the latest stable version of firmware. Brocade comes with the "firmwaredownload" command, which can be used to retrieve and load a firmware image from a remote FTP or RSH server: Once the firmware image has been downloaded and applied, you can verify the version with the "version" command: I really dig Brocade switches, and am amazed that a switch this old performs so well!

$ read more →

Viewing SCSI device information on Linux hosts

storagelinuxApr 28, 2009 1 min

I chatted about the new server I built a few posts back, and wanted a quick way to view the SATA devices in the system. While the dmesg and /proc data can be used to locate this information, I always find the lsscsi utility to be a bit more useful: In addition to displaying the device ID, it also provides the vendor string and the device that corresponds to each device ID. Useful utility, and it's one yum install away.

$ read more →

Updating Emulex firmware on Solaris hosts

storageApr 23, 2009 1 min

I've written about the Emulex emlxadm utility in the past, and how it can be used to view and manage adapters. In addition to viewing stats and configuration data, you can also use emlxadm to view and update firmware. To view the current firmware version, you can type "get_fw_rev" into the emlxadm shell: If the firmware needs to be updated, you can run download_fcode with the path to the firmware image: This post is a reference for myself, and I take ZERO responsibility for botched firmware updates. As with all information on this blog, use this information at your own risk (no warranties of any sort are provided).

$ read more →