My Oracle Support Banner

Solaris Volume Manager (SVM) newfs on Meta Device Fails with "newfs: /dev/md/rdsk/dxx last mounted as <mount_point>" (Doc ID 2005595.1)

Last updated on OCTOBER 19, 2017

Applies to:

Solaris SPARC Operating System - Version 9 9/05 HW U9 to 11.2 [Release 9.0 to 11.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 SPARC (32-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on x86 (32-bit)

Symptoms

On a server/system with SVM (Solaris Volume Manager) the wrong metadevice  is identified when trying to 'newfs' a newly created soft partition:

# metainit d31 -p d100 100g
d31: Soft Partition is setup
#
# metastat -cp | more
d31 p 100GB d100
d3015 p 103GB d100
d3014 p 103GB d100
d3013 p 103GB d100
d3012 p 103GB d100
d3011 p 103GB d100

  d100 m 1.3TB d200
  d200 s 1.3TB /dev/dsk/c0t5006016039A02079d45s2 /dev/dsk/c0t5006016039A04E07d1s2
...
#
# newfs /dev/md/dsk/d31
newfs: /dev/md/rdsk/d199 last mounted as /opt/<mount_point>
newfs: construct a new file system /dev/md/rdsk/d199: (y/n)? n           <<<< do not say yes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.