HPE 3PAR Logical Disk Not Mapped to Virtual Volume

I came across this issue while reviewing the output of the checkhealth –detail command run from the 3PAR command line. This command provides a more detailed view (as per the switch) of any health issues including those experienced in the Logical Disk (LD) subsystem.  The specific error ‘LDs not mapped to a volume’ may happen when a Virtual Volume (VV) is deleted without the underlying Logical Disks being deleted. It could also happen during a 3PAR tunesys which is aborted during run where the Logical Disk becomes disassociated/orphaned.

It is important to note that some of the commands in this post are ‘destructive’ and incorrect usage can result in potential data loss so tread carefully.

Below is the output from a 3PAR array running the checkhealth command, if we add the –detail switch we not only see a LD issue but the output also gives us the LD name which will be required later on.

 

Having identified an issue exists with a LD mapping the next step is to verify whether this LD is actually mapped to any Virtual Volumes. To do this we will leverage the showldmap command. As always if we want to understand the command options the help command can be used as follows.

 

From the help output we see the command simply requires a LD identifier, thankfully we have this from the checkhealth –detail command output.

 

In this instance the LD is not used by any of the VVs in my environment which means we can safely remove it and resolve the alert as well as returning the LD space to the array for future use. To remove the unused LD we can make use of the removeld command. Again we can leverage the help option to get a complete breakdown of the command as demonstrated below.

 

Now that we are ready to remove the LD we enter the removeld command followed by the LD identifier.

 

At this point the disassociated LD has been removed and the space used returned to the array. Hopefully this post has been useful to you. If you have any suggestions or questions drop them in the comments below.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.