Storage Software
cancel
Showing results for 
Search instead for 
Did you mean: 

SSSU commands

DJMC
Regular Advisor

SSSU commands

Hi,
Doers anyopne know if there is an SSSU command to list all Vdisk which are not presented to any hosts?
I am using CV EVA 9.1.

Thanks,
D

 

 

P.S. This thread has been moved from Disk Array to HP Storage System Scripting Utility (SSSU). -HP Forum Moderator

5 REPLIES
blackhawk_1
Advisor

Re: SSSU commands

Try LS VDISK
The LS VDISK command displays information about the virtual disks, containers, snapshots and
mirrorclones configured for the currently selected array.

Syntax
LS VDISK virtual_disk_name
The following option is available with the LS VDISK command.
full Lists all virtual disks and their properties.
nofull Lists all virtual disks.
virtual_disk_name Displays detailed information about the virtual disk
kunalsahoo
Valued Contributor

Re: SSSU commands

Hi ,

you can try this


Syntax
CAPTURE CONFIGURATION file_name

Options
SAVE_ALL_WORLD_WIDE_LUN_NAME
Saves the world wide LUN names for all virtual disks, except containers and DR group members on
the destination array.
Vishal_mcse
Occasional Advisor

Re: SSSU commands

Hi,
Go through the below link & select the following to download :

http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=-1&contentType=SupportManual&docIndexId=64180&prodTypeId=18964&prodSeriesId=471497

HP StorageWorks Storage System Scripting Utility reference (T5494-96307, July 2009)

This guide contains all the required SSSU commands.
bhola
Occasional Advisor

Re: SSSU commands

Hi,

Please see the attachment it will help you.

Thanks,
Bhola
gstonian
Trusted Contributor

Re: SSSU commands

I have a script which uses sssu to split up disks by presentation and also lists vdisks which are unpresented.

In basic the script does the following

Use the SSSU file command and run "ls vdisk full" and redirect to a file (file1.txt)

The grep out the relevant information:

grep -E "objecttype | familyname | redundancy | allocatedcapacity | lunnumber | hostname " file1.txt | awk ' BEGIN { FS=": " } {print $NF}' | sed '
s/\\Hosts\\//g' | sed 's/virtualdisk//g' | sed 's/snapshot//g' >> file2.txt

Some more formatting:

cat file2.txt | awk -F\\ '{print $NF } ' | awk ' BEGIN { FS="\n" ; RS="" } { printf "%-1s %-1s %-1s,%03d,%-1s,%-1s,%-1s\n ",$5
,$7,$9,$4,$2,$3,$1} ' | sort >> file3.txt

I then put it into html but this should be enough to give you a start. Anything with a blank first field is unpresented disk.