Getting HBA / Fabric statistics on Solaris 10

You can use iostat (ignoring the disks, md (mirros) and nfs)

# iostat -xdmzC 1 10 | egrep -v "sd|md|nfs"

How to find HBA WWN Solaris 10

To get a WWN HBA on Solaris 10 you can use the fcinfo

# fcinfo hba-port | grep -i wwn

Identify ethN correspondent to physical interface – Red Hat Enterprise Linux

Many times is necessary identify who eth (eth0, eth1, eth2, … , ethN) correspond to physical interface.

For this you can use the ethtool

ethtool -p ethN

example:

ethtool -p eth0

One or more LEDs on the specific physical ethernet port are blinking now.

Extracting files from rpm

First you need rpm2cpio

Use

# mkdir /tmp/package
# cp package.rpm /tmp/package
# cd /tmp/package
# rpm2cpio package.rpm | cpio -idv

Posted by Wordmobi

AIX Tip: Volume Group (VG) data redistribution in the disks – Strip

For Volume Group data redistribution in the disks (strip) uses reorgvg command.

# reorgvg myvg

This command need a few times. Rum in background.

# nohup reorgvg myvg &

Posted by Wordmobi