![]() | Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||
Solution Type Problem Resolution Sure Solution 1474271.1 : EFI labeled disk under OVM for SPARC (LDoms) environment
This document highlight various issues that could have resulted from a minute setup requirement for EFI labeled disks under OVM for SPARC (LDoms) environment. In this Document
Created from <SR 3-5915074361> Applies to:Solaris SPARC Operating System - Version 10 10/09 U8 and laterSun Fire T1000 Server - Version All Versions and later Sun Fire T2000 Server - Version All Versions and later Oracle Solaris on SPARC (64-bit) SymptomsThese symptoms are some of the possible observations resulted from EFI labeled disk *not* being export through slice 2 on the primary domain ldm(1M) configuration. Do note that once you have confirmed that the vdisk configurations are correctly configured as outlined here, the following symptoms can be due to other issues.
ChangesAlthough /dev/dsk/cXtXd0 represents the entire disk for a disk with an EFI label, the problem with exporting /dev/dsk/cXtXd0 is that if the disk label is changed from EFI to VTOC (SMI) then this device will disappear. Resulting in various issues manifesting either on the primary or the guest domain. CauseEFI label has non overlapping slices and device cXtXd0 (e.g. c0t0d0) represents entire disk. It is common for one to assume that /dev/dsk/cXtXd00 would be the device for an entire disk export under OVM for SPARC. On Solaris, when the disk is labeled as EFI, only then /dev/dsk/cXtXd0 exists. If the disk is re-labeled with SMI label, the cxtxd0 will be removed from the device path. Issue can arise when the disk is labeled EFI, cxtXd0 is configured as exported vdisk assigned to a guest domain. The guest domain subsequently re-labeled the disk as VTOC (SMI) for usage (e.g. a boot drive will need to be in VTOC (SMI) label). Upon reboot or any reconfiguration, the primary domain will now see the VTOC (SMI) label, with /dev/dsk/cXtXd0 no longer exists, and hence the disk is considered missing. The ldm(1M) configuration will no longer see /dev/dsk/cXtXd0, and the guest will now lost access to the the actual disk. SolutionIn order to export an entire disk under OVM for SPARC, slice 2(cXtXdXs2) needs to be the device path provided under ldm(1M) add-vdsdev, regardless of the underlying disk label format. E.g. format>
With the introduction of device validation support in LDoms 2.1, ldm(1M) subcommand "add-vdsvdev" or "bind" may fail when assigning slice 2 due to the device validation. In order to workaround this, please use the -q option. E.g. # ldm add-vdsvdev -q /dev/dsk/c2t0d0s2 fulldisk4@primary-vds0 # ldm bind -q guestdomain1 INTERNAL ONLY REFERENCES The underlying background on using slice 2 for EFI disk is disussed in the following CRs: 6423717 vds infers it is serving an entire disk by assuming use of the Solaris backup-slice convention References<NOTE:1012091.1> - Overview of Extensible Firmware Interface (EFI) Disk Labels Versus Volume Table of Contents (VTOC) in the Solaris Operating SystemAttachments This solution has no attachment |
||||||||||||||||||||
|