My Oracle Support Banner

UFS Filesystem Unmounted on Guest Ldom - How To Find Correspondence Between Disk on Primary Domain and Vdisk on Guest Domain (Doc ID 2007197.1)

Last updated on MAY 22, 2018

Applies to:

Solaris Operating System - Version 10 3/05 and later
Information in this document applies to any platform.

Symptoms

This is a Solaris 10 guest domain with virtual disks assigned :

bash-3.2$ more format.out
Searching for disks...done

AVAILABLE DISK SELECTIONS:
     0. c0d0 <EMC-SYMMETRIX-5874 cyl 32766 alt 2 hd 30 sec 128>  Label0
        /virtual-devices@100/channel-devices@200/disk@0
     1. c0d1 <EMC-SYMMETRIX-5874 cyl 32766 alt 2 hd 30 sec 128>  Label1
        /virtual-devices@100/channel-devices@200/disk@1
     2. c0d2 <HP-HSV200-6200 cyl 47998 alt 2 hd 256 sec 128>  Label2
        /virtual-devices@100/channel-devices@200/disk@2
...
    10. c0d12 <EMC-SYMMETRIX-5874 cyl 34958 alt 2 hd 240 sec 128>  Label12
        /virtual-devices@100/channel-devices@200/disk@c
bash-3.2$

 

There are UFS filesystems on partition zero of some disks :

/dev/dsk/c0d2s0      774494966 750175753 16574264    98%    /san

 

This UFS filesystem /san is not accessible anymore:

server01: /#ls -rlt
./san: I/O error
total 1153

On the /var/adm/messages files we see only this errors, but no other errors observed:

Mar 17 14:12:44 server01 ufs: [ID 702911 kern.warning] WARNING: Error writing ufs log
Mar 17 14:12:44 server01 ufs: [ID 127457 kern.warning] WARNING: ufs log for /san changed state to Error
Mar 17 14:12:44 server01 ufs: [ID 616219 kern.warning] WARNING: Please umount(1M) /san and run fsck(1M)

 

This disk on the guest domain:

2. c0d2 <HP-HSV200-6200 cyl 47998 alt 2 hd 256 sec 128>  Label2
        /virtual-devices@100/channel-devices@200/disk@2

Correspond on the primary domain to this is disk, we can identify this easily by the volname "Label2" we put it manually when we initially labeled the disk with format ( format --> select disk --> volname )

11. c0t60000970000292603633533030383833d0 <HP-HSV200-6200 cyl 47998 alt 2 hd 256 sec 128>  Label2
          /scsi_vhci/ssd@g60000970000292603633533030383833

 

In case we did not put any volname on the disk, we can confirm this by looking into the logical domain configuration information, on the primary domain run ldm ls-ldom -l :

First look on the DISK section of the guest domain for disk ID 2 (c0t2 --> the number after the t is the TOut ID )

# ldm ls-dom -l
...

------------------------------------------------------------------------------
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
server01        active     -n----  5004    8     8G        19%   19%  180d 1h


DISK
    NAME             VOLUME                      TOUT ID   DEVICE  SERVER         MPGROUP
...
    server01-2       server01-2@primary-vds0           2   disk@2 primary        sandisk02   <<---- disk TOut ID 2 (c0t2) is disk name server01-2


 Then we look into the VDS section of primary domain for volume name server01-2

# ldm ls-dom -l
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-cv-  UART    16    12G      8.4%  8.4%  221d 23h

....

VDS
    NAME             VOLUME         OPTIONS          MPGROUP        DEVICE
    primary-vds0     
...                     
                     server01-2                  sandisk02   /dev/rdsk/c0t60000970000292603633533030383833d0s2  <<<--- volume name server01-2 correspond to this disk on the primary domain

 

For another example of how to find the physical disk in the control domain, see also this other document:

OVM: How to trace an LDOM virtual LUN mapping to the physical LUN in the control domain (Doc ID 1641936.1)

  

 

 

Changes

 

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!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.