Device in use checking and Solaris Volume Manager

On Solaris 10 with the kernel update patch 118833-17 the "Device in use checking feature" was introduced. The patch 118833-17 is also included with Solaris 10 06/06 aka Update2.
Actually the feature was introduced in 118833-04. But the patches 118833-04 until 118833-16 went never to SunSolve.
If you use format command to repartition a disk drive which is part of a metaset you can get a messages like:

Error occurred with device in use checking: No such device
or
Error occurred with device in use checking: Permission denied
or
/dev/dsk/cXXXXXXX is part of SVM volume diskset:XXX. Please see metaclear(1M).
/dev/dsk/cXXXXXXX contains an SVM mdb. Please see metadb(1M).

and maybe you are not able to label the disk.

To prevent these messages and to label the disk successfully you should set the shell variable NOINUSE_CHECK=1 .

For further details refer to the "Hands Up" "Device checking for fs utilities"
If you have an SunSolve account you can look at Infodoc 1005435.1

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

I'm still mostly blogging around Solaris Cluster and support. Independently if for Sun Microsystems or Oracle. :-)

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today