script to find out allocated space ..

From: Shekhar Dhotre (Shekhar.Dhotre@LENDLEASEREI.COM)
Date: Tue Jan 28 2003 - 14:26:32 EST


Hi ,

I've received several large space requests, but before I start allocating
it , I need to find out how much space is mounted on each node/ allocated
on each node so we can get a solid number for available space before
dishing out any more.

I have 79 spnodes .. does anyone have logic /script to find out all
allocated space to all of these nodes ?

I am thinking -

spcws01@/>dsh lspv "|" grep vpath | wc -l
     500
spcws01@/>

but I will have to go through every node to find out disk capacity so that
I can do vpath*32Gb = no.of space allocated ..

Thank You

Shekhar Dhotre.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:32 EDT