Monday, December 20, 2010

Monitoring VxVM Usage

While poking around /var/adm/vx this week, I noticed that VxVM (Veritas Volume Manager) 4.x logs all commands that have been executed to /var/adm/vx/cmdlog:
$ tail -6 /var/adm/vx/cmdlog
# 7601, 24143, Mon Sep 12 09:21:04 2005
/usr/sbin/vxdg list -o alldgs
# 32045, 24257, Mon Sep 12 09:21:47 2005
/usr/sbin/vxdisk -o alldgs list
# 13637, 24444, Mon Sep 12 09:22:03 2005
/usr/sbin/vxprint -G -q -n -A
This is super cool, and will be extremely valuable for troubleshooting storage related problems.

No comments:

Post a Comment