Thread: AIX v5.3 New LUN size info
View Single Post
  #3  
Old July 2nd, 2008
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: New LUN size info

Alternatively you can use:

getconf DISK_SIZE /dev/hdiskx

Which gives you a single value that is the size of the disk in Megabytes. This is the same result as the bootinfo -s hdiskx

The LUN id is usually contained in the info from lscfg -l hdiskx -vpd, unless you have a DS4000 series box and you can use the fget_config -Av to get data.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Reply With Quote