NEWS:

Archive for the 'Open Source' Category

More RAID oddness

Thursday, August 26th, 2010

After running the 3Ware diagnostic script, the status of the array went to OK. A short time later, it reverted to this

$ sudo /usr/local/sbin/tw_cli info c0 u0

Unit UnitType Status %RCmpl %V/I/M Port Stripe Size(GB)
————————————————————————
u0 […]

RAID issues

Tuesday, August 24th, 2010

I discovered this tonight. I don’t know how long this has been going on.

$ sudo tw_cli info c0

Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
——————————————————————————
u0 RAID-10 OK […]

Dual head RADEONHD - screen blanking

Wednesday, August 18th, 2010

I recently upgraded xorg on my workstation at the office. Immediately I started seeing problems with one of the monitors. It would go empty/blank/black for three seconds, then resume normal operation. Then it would go blank again when I interacted with the screen. In short, that one monitor was completely useless.
Swapping cables […]

Xorg.0.log for RadeonHD

Wednesday, August 18th, 2010

This is the /var/log/Xorg.0.log for my RadeonHD.

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.1-STABLE amd64
Current Operating System: FreeBSD subie.example.com 8.1-STABLE FreeBSD 8.1-STABLE #1: Wed Aug 11 14:34:19 EDT 2010 dlangille@subie.example.com:/usr/obj/usr/src/sys/DVL amd64
Build Date: 12 August 2010 05:57:37PM

Current version of pixman: 0.16.6
[…]

xorg.conf for RadeonHD

Wednesday, August 18th, 2010

This is the xorg.conf file for my RadeonHD setupt

Section “ServerLayout”
Option “AllowEmptyInput” “off”
Identifier “X.org Configured”
Screen 0 “Screen0″ 0 0
[…]

ZFS & gmirror & drive renumbering

Thursday, July 22nd, 2010

I am impressed…. my gmirror array continued to work even after the drives were renamed from da20 and da24 to ada0 and ada1. This happened when I tried out the ahci(4) for my SATA drives.
It’s the type of thing I’m striving for soon in my ZFS array.
All this started when I wanted […]

A simple nested loop

Sunday, July 11th, 2010

In a previous post, I wrote about a suspected LIMIT problem. It turns out that suspicion proved correct. The solution was to move to a nested query which limits the underlying data and then allows the outer query to grab all the associated fluff that surrounds it.
Here is the fix to the original […]

power failure and gmirror

Monday, March 15th, 2010

From this morning’s log after a weekend power failure:

Mar 15 09:15:45 subie kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad8 finished.
Mar 15 09:20:58 subie fsck: /dev/mirror/gm0s1f: UNREF FILE I=35 OWNER=root MODE=100400
Mar 15 09:20:58 subie fsck: /dev/mirror/gm0s1f: SIZE=151568652480 MTIME=Mar 13 16:03 2010 (CLEARED)
Mar 15 09:20:58 subie fsck: /dev/mirror/gm0s1f: UNREF FILE I=15356429 OWNER=dan MODE=100644
Mar 15 […]

smartmontools

Saturday, March 6th, 2010

The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI harddisks. In many cases, these utilities will provide advanced warning of disk degradation and failure. (The above shamelessly taken from the supplied URL).
I […]

ZFS - some initial testing

Friday, March 5th, 2010

I thought I’d run some simple tests, based on a tuning thread I found:

# dd if=/dev/urandom of=./file1 bs=1m count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 14.283206 secs (75175127 bytes/sec)

And while the above was running:

# zpool iostat 5
capacity […]