LDOM: Cannot label as disk geometry cannot be obtained.

book

Article ID: 100044711

calendar_today

Updated On:

Description

Error Message

# /etc/vx/bin/vxdisksetup -i c1d5 format=sliced
/dev/vx/rdmp/c1d5s2
VxVM vxdisksetup ERROR V-5-2-5241 Cannot label as disk geometry cannot be obtained.

Cause

This error could potentially be caused by the CDOM having a different label than LDOM. CDOM and LDOM labels have to match for a disk to be initialized in CDOM.

Resolution

If you're having issues with initializing a disk in LDOM, you have to make sure that the disk label in CDOM and LDOM is the same.

To check the disk label, perform the following steps in CDOM and LDOM:

# devinfo -i /dev/rdsk/c#t#d#s2

Ex.: devinfo -i /dev/rdsk/c0t0d0s2

The disk is labeled as SMI if you receive an output that resembles this:

/dev/rdsk/c0t0d0s2      0       0       10176   512     3

The disk is labeled as EFI if you receive an output that resembles this:

devinfo: /dev/rdsk/c0t0d0s2: I/O error

Once you have identified that the disk on CDOM and LDOM have different labels, re-label the LDOM disk as follows:

# format -e c#t#d#

format> label

Specify Label type[0]:

Warning: This disk has an SMI label. Changing to EFI label will erase all
current partitions.

Say yes to the warning that comes up.

Then quit the format:

format> quit

Once the disk has been labeled the same as CDOM, proceed with vxdisksetup.

Issue/Introduction

When initializing a disk in a Solaris LDOM fails due to a disk label mismatch between CDOM and LDOM.