Solaris Volume Manager (SVM): I/O to Soft Partition Fails with "/dev/md/rdsk/dxx: I/O error" (Doc ID 1007490.1)

Last updated on NOVEMBER 29, 2016

Applies to:

Sun Solaris Volume Manager (SVM) - Version 11.9.0 to 11.11 [Release 11.0]
Solstice DiskSuite Software - Version 4.2 to 4.2.1 [Release 4.0]
All Platforms

Symptoms

In the following example, three soft partitions have been created from c0t12d0s1.  Each contains a mounted UFS file system.


# metastat -p
     d202 -p c0t12d0s1 -o 14680067 -b 2097152
     d201 -p c0t12d0s1 -o 6291458 -b 8388608
     d200 -p c0t12d0s1 -o 1 -b 6291456

# df -k
  Filesystem            kbytes    used      avail   capacity  Mounted on
  /dev/md/dsk/d200     3082735    2081142  1001593    66%    /data-200
  /dev/md/dsk/d201     8388608    7001674  1386934    91%    /data-201
  /dev/md/dsk/d202      987887    1122     927492      1%    /data-202


A problem with the mountpoint /data-201 is discovered.

# ls /data-201
  /dev/md/rdsk/d201: I/O error


The problem does not appear to be at the SVM layer. metastat reports all metadevices as "Okay." There is nothing in /var/adm/messages indicating a problem with hardware.

# metastat
d202: Soft Partition
    Device: c0t12d0s1
    State: Okay
    Size: 2097152 blocks (1.0 GB)
        Device      Start Block  Dbase Reloc
        c0t12d0s1          0     No    Yes

        Extent              Start Block              Block count
             0                 14680067                  2097152

d201: Soft Partition
    Device: c0t12d0s1
    State: Okay
    Size: 8388608 blocks (4.0 GB)
        Device      Start Block  Dbase Reloc
        c0t12d0s1          0     No    Yes

        Extent              Start Block              Block count
             0                  6291458                  8388608

d200: Soft Partition
    Device: c0t12d0s1
    State: Okay
    Size: 6291456 blocks (3.0 GB)
        Device      Start Block  Dbase Reloc
        c0t12d0s1          0     No    Yes

        Extent              Start Block              Block count
             0                        1                  6291456


Any subsequent attempt at I/O with the mountpoint /data-201 results in the same I/O  error. I/O to mountpoints /data-200 and /data-202 is fine.

 # df -k
  Filesystem            kbytes    used      avail   capacity  Mounted on
  /dev/md/dsk/d200     3082735    2081142  1001593    66%    /data-200
  /dev/md/dsk/d202      987887    1122     927492      1%    /data-202
  df: (/d201      ) not a block device, directory or mounted resource

 

 # cp /data-base /data-201
   /dev/md/rdsk/d201: I/O error


Logic suggests that the problem is at the file system layer. However, a destructive newfs command fails as well.

 # newfs /dev/md/rdsk/d201
   /dev/md/rdsk/d201: I/O error

Cause

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