3ware comments

It is difficult to tell what model you have in the machine:

[root@airbus 3ware]# dmesg | grep 3ware
3ware Storage Controller device driver for Linux v1.26.00.039.
scsi0 : Found a 3ware Storage Controller at 0xbc00, IRQ: 209, P-chip: 1.3
scsi0 : 3ware Storage Controller
  Vendor: 3ware     Model: Logical Disk 0    Rev: 1.2

I could not find out anywhere that the card installed was actually a 8006–2LP RAID card.

There is an “Open Source” driver, but the CLI which is essentially the driver for sysadmins isn’t. It’s a 1.7M binary called tw_cli. Can I trust this?!

The installation guide walks you through the BIOS administration tool. For an up and running system you need to know about the CLI to check on degradation and rebuild status. Who cares about these in the BIOS menu? If you’re looking at BIOS menu your system is offline!

In 3ware’s latest release notes they report in the Errata that the CLI displays inaccurate or confusing messages. Crap.

diag throws nonsense ”���” on the screen.

2×160G drives come up as only 150G:

//airbus> info c0 drivestatus

Port Status Unit Size Blocks Serial
p0 OK u0 149.05 GB 312581808 4MT0V4V4
p1 OK u0 149.05 GB 312581808 5MT274A0

Or less?

[root@airbus ~]# mount
/dev/sda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[root@airbus ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 143G 1.6G 134G 2% /
/dev/sda1 99M 11M 83M 12% /boot
none 1014M 0 1014M 0% /dev/shm

Documentation for the CLI. Where is it? Is there any? I can’t find any information about setting alarms.

People who supplied me the server have a script that greps the status periodically. Hmph…

[root@airbus 3ware]# ./tw_cli info c0 u0

Unit UnitType Status %Cmpl Port Stripe Size(GB) Blocks
u0 RAID-1 OK – – – 149.05 312579760
u0–0 DISK OK – p0 – 149.05 312579760
u0–1 DISK OK – p1 – 149.05 312579760

What kind of Open Source license is this anyway 3ware?
Are “Restrictions” section invalid for the Driver? It could be a lot clearer.

Performance. The Nahant list hosts a thread about poor RAID performance with ext3. I ran bonnie++ on a RAID-1 configuration to get about 27 megs/second overall performance.

I’ve been I could use hdparm to tweak it. I’ve had no joy:

[root@airbus ~]# hdparm /dev/sda

HDIO_GET_MULTCOUNT failed: Invalid argument
readonly = 0 (off)
readahead = 16384 (on)
geometry = 19457/255/63, sectors = 160040837120, start = 0
[root@airbus ~]# hdparm -I /dev/sda

HDIO_DRIVE_CMD(identify) failed: Invalid argument

Overall, I am not impressed.

Found any of my content interesting or useful?