Solaris Volume Manager (SVM) metaclear Command Returns "metadevice is open"

(Doc ID 1012577.1)

Last updated on AUGUST 21, 2016

Applies to:

Solstice DiskSuite Software - Version 4.2.1 to 4.2.1 [Release 4.0]
Sun Solaris Volume Manager (SVM) - Version 11.9.0 to 11.11 [Release 11.0]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)
***Checked for relevance on 17-Aug-2016***

Goal

The following error may occur when attempting to remove a metadevice using the metaclear command:

# metaclear -r -f d1
metaclear: hostname: d1: metadevice is open


This document gives procedures to be followed if this symptom is seen.

Note: The procedure differs between Solaris Volume Manager running on Solaris 9 and Solaris Volume Manager running on Solaris 10. Ensure that you follow the correct procedure.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms