Thursday, April 28, 2011

HPUX: Determine if disk is mirrored

root: /opt -> lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk4_p2 -- Boot Disk
/dev/disk/disk5_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk4_p2
/dev/disk/disk5_p2
Root: lvol3 on: /dev/disk/disk4_p2
/dev/disk/disk5_p2
Swap: lvol2 on: /dev/disk/disk4_p2
/dev/disk/disk5_p2
Dump: lvol2 on: /dev/disk/disk4_p2, 0

root : /opt ->

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...