Tuesday, September 16, 2008

VXVM: quickly mirroring an empty volume

Use the command below to create empty mirrored volume

# vxassist make newvol 10m layout=concat-mirror init=active disk1 disk2

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...