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