Recently I had a task to create a report of used storage per LPAR, in PowerVC managed environment. I developed a small python script, which uses PowerVC API and generates reports in the following format:
server name, storage host name, storage pool name, io group, storage template name, volume size, volume wwn, the volume is shared or not
The environment where I tested the script, consists of IBM Power based frames, brocade SAN directors and IBM SVC which manages various types of different storage systems. PowerVC version is 184.108.40.206.
Before using the script you must set PowerVC address, username and password. Project name also can be set in case you are using different than default one.