Archive for May, 2009

Download the tar file below and extract. Then, run the following commands to create a pdf file:

latex intro.tex
dvips intro.dvi
ps2pdf intro.ps

latex_sample.tar

Download the plugin from wherever it’s located. Put the file in the wp-content/plugins folder and change permissions to 644 root:apache. Then, just reload the plugins page in wordpress and activate the new plugin.

Exmh was complaining about libpng not being the same version as what was used to compile the program. Since exmh is pretty old, this is not unusual. The package that we needed was libpng10, here is the description:

The libpng10 package contains an old version of libpng, a library of
functions for creating and manipulating PNG (Portable Network Graphics)
image format files.

This package is needed if you want to run binaries that were linked dynamically
with libpng 1.0.x.

Unfortunately, this package is not included with RHEL5. (It’s only in RHEL4 and RHEL3.) I did find a copy on the web and installed it so that exmh no longer complains about the images.

The rpm is saved in /system/kickstart/install/additions.

//pnn> info c1

Unit  UnitType  Status         %Cmpl  Stripe  Size(GB)  Cache  AVerify  IgnECC
------------------------------------------------------------------------------
u0    RAID-5    DEGRADED       -      64K     1629.74   OFF    OFF      OFF      

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY1850307     
p1     OK               u0     233.76 GB   490234752     WD-WCANY1790824     
p2     OK               u0     233.76 GB   490234752     WD-WCANY1851579     
p3     OK               u0     233.76 GB   490234752     WD-WCANY1789766     
p4     OK               u0     233.76 GB   490234752     WD-WCANY1796905     
p5     NOT-PRESENT      -      -           -             -
p6     OK               u0     233.76 GB   490234752     WD-WCANY1788952     
p7     OK               u0     233.76 GB   490234752     WD-WCANY1788819     

//pnn> /c1 remove p5
Exporting port /c1/p5 ... Failed.

(0x0B:0x002E): Port empty

Got the message above, which showed that p5 failed. Since it was already missing, according to the tw_cli software, the remove command failed. So, I put a different disk in (one that had been in another raid) and got the following:

//pnn> info c1

Unit  UnitType  Status         %Cmpl  Stripe  Size(GB)  Cache  AVerify  IgnECC
------------------------------------------------------------------------------
u0    RAID-5    DEGRADED       -      64K     1629.74   OFF    OFF      OFF      
u1    RAID-5    INOPERABLE     -      64K     1629.74   OFF    OFF      OFF      

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY1850307     
p1     OK               u0     233.76 GB   490234752     WD-WCANY1790824     
p2     OK               u0     233.76 GB   490234752     WD-WCANY1851579     
p3     OK               u0     233.76 GB   490234752     WD-WCANY1789766     
p4     OK               u0     233.76 GB   490234752     WD-WCANY1796905     
p5     OK               u1     233.76 GB   490234752     WD-WCANY1787889     
p6     OK               u0     233.76 GB   490234752     WD-WCANY1788952     
p7     OK               u0     233.76 GB   490234752     WD-WCANY1788819     

Crazy. It now thought that p5 was part of another raid (u1) on this controller.

//pnn> info

Ctl   Model        Ports   Drives   Units   NotOpt   RRate   VRate   BBU
------------------------------------------------------------------------
c0    9550SX-8LP   8       8        1       0        4       4       -        
c1    9550SX-8LP   8       7        2       2        4       4       -        

Yep, it now shows two bad units on c1. I tried rescanning and even removing the disk and reformatting it, but it didn’t matter. The only solution was to delete that second unit, which is always nerve-wracking, for fear that I’ll delete the raid I wanted to keep. So after quadruple-checking the command, I ran:

//pnn> maint deleteunit c1 u1
Deleting unit c1/u1 ...Done.


//pnn> info c1

Unit  UnitType  Status         %Cmpl  Stripe  Size(GB)  Cache  AVerify  IgnECC
------------------------------------------------------------------------------
u0    RAID-5    DEGRADED       -      64K     1629.74   OFF    OFF      OFF      

Port   Status           Unit   Size        Blocks        Serial
---------------------------------------------------------------
p0     OK               u0     233.76 GB   490234752     WD-WCANY1850307     
p1     OK               u0     233.76 GB   490234752     WD-WCANY1790824     
p2     OK               u0     233.76 GB   490234752     WD-WCANY1851579     
p3     OK               u0     233.76 GB   490234752     WD-WCANY1789766     
p4     OK               u0     233.76 GB   490234752     WD-WCANY1796905     
p5     OK               -      233.76 GB   490234752     WD-WCANY1787889     
p6     OK               u0     233.76 GB   490234752     WD-WCANY1788952     
p7     OK               u0     233.76 GB   490234752     WD-WCANY1788819     

//pnn> /c1/u0 start rebuild disk=5
Sending rebuild start request to /c1/u0 on 1 disk(s) [5] ... Done.

That deleted the extra unit and let me start the rebuild on disk 5 of the degraded unit.