Akamit Blog

Enterprise sysadmin's blog

  • You are here: 
  • Home
  • 2010 January

Strange tape alerts and crappy HP tapes.

Posted on January 29th, 2010

The problem began when we have bought HP LTO-2 tape cartridges. Every day at least 1 tape got frozen
by Netbackup software with the following message:

TapeAlert Code: 0x08, Type: Warning, Flag: NOT DATA GRADE,
from drive IBM.ULTRIUM-TD2.004 (index 4), Media Id KI8765.

It causes scratch pool to become empty someday.
If you in trouble like this, you should know that the problem is in these HP’s tapes.
Sun Storagetek and FUJIFILM’s tapes are ok.

Update: it was revealed that the problem actualy was because of drive firmware. Update to the latest version of firmware has fixed the problem completely.

Filed under Tape Libraries | No Comments »

Resizing vxfs filesystem

Posted on January 28th, 2010

We need to add some space to vxfs filesystem. Filesystem is located on mirrored volume, each mirror has 1 plex, containing 1 subdisk. Using veritas tools we do it the following way. We are adding 2 more disks to form another mirror with 2 2-disk concat plexes. We do not do relayout, just resize and veritas do relayout by itself so that both plexes contain disks from the same enclosure.
Read the rest of this entry »

Filed under Veritas SF | No Comments »

Finding network interfaces on Sun Fire server using kstat

Posted on January 28th, 2010

This little script shows which interfaces are up, connection speed and full device path
Read the rest of this entry »

Filed under Sun Hardware | No Comments »

How to restore directory archive made by Veritas Netbackup

Posted on January 27th, 2010

I’ve maid server’s /backup directory archive using veritas netbackup. Archive policy was executed at 01/01/2010 15:00. Command to restore the archive is:

/usr/openv/netbackup/bin/bprestore -A -w 0 -C server -D server\
-s 01/01/10 14:00:00 -e 01/01/10 23:59:00 -t 0 \
-L /var/tmp/server-restore.log /backup

Filed under Veritas NetBackup | No Comments »

Determining I/O board number from the full device path on Sun Fire 4800

Posted on January 26th, 2010

We need to determine I/O boards in which “ce” interfaces are plugged in.

Read the rest of this entry »

Filed under Solaris, Sun Hardware | No Comments »

Automating blog posting

Posted on January 25th, 2010

Here goes little program to automate blog postings.

Read the rest of this entry »

Filed under Perl | No Comments »