Volume Manager cannot initialize a disk greater than 1 TB in Solaris

book

Article ID: 100029296

calendar_today

Updated On:

Description

Error Message

VxVM vxdisksetup ERROR V-5-2-3628 The dmpnode is disabled. Can not proceed with vxdisksetup.
VxVM vxdisk ERROR V-5-1-5433 init failed: Device path not valid.
get_geometry_info_common: /dev/vx/rdmp//fmt_page_code failed. ret 0x6

Resolution

The issue:
Using Volume Manager to initialize a disk results in one of the following error messages:
VxVM vxdisksetup ERROR V-5-2-3628 The dmpnode is disabled. Can not proceed with vxdisksetup.
VxVM vxdisk ERROR V-5-1-5433 init failed:  Device path not valid.

The vxconfigd program returns the following error when started or restarted:
get_geometry_info_common: /dev/vx/rdmp//fmt_page_code failed. ret 0x6


The cause:
A disk that is greater than 1 Terabytes in size needs an EFI label to initialize the disk under VXVM


To solve the issue:
1) Verify the current slice definitions by performing the following:

Note: Complete step a if using Enclosure Based Naming (EBN) or go to step b if using Operating System Native Naming (OSN).

a) Determine the disk Operating System Native name that needs initialization.

# vxdisk list

Make note of the c#t#d# received via the output.

b) Retrieve the slice layout of the disk.

# prtvtoc /dev/dsk/

example:
# prtvtoc /dev/dsk/c1t0d0s0
* /dev/dsk/c1t0d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*     424 sectors/track
*      24 tracks/cylinder
*   10176 sectors/cylinder
*   14089 cylinders
*   14087 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
      0      2    00          0  40968576  40968575   /
      1      3    01   40968576  51205632  92174207
      4      7    00   92174208  30721344 122895551   /var
      5      0    00  122895552  20453760 143349311   /opt



2) Use the format utility to setup a backup partition and write an SMI label to the disk:
# format -e c1t0d0
At the " format> " prompt, type 'p'
At the " partition> " prompt, type 'p'

Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
 0       root    wm       0 -  4025       19.54GB    (4026/0/0)   40968576
 1       swap    wu    4026 -  9057       24.42GB    (5032/0/0)   51205632
 3 unassigned    wm       0                0         (0/0/0)             0
 4        var    wm    9058 - 12076       14.65GB    (3019/0/0)   30721344
 5 unassigned    wm   12077 - 14086        9.75GB    (2010/0/0)   20453760
 6 unassigned    wm       0                0         (0/0/0)             0
 7 unassigned    wm       0                0         (0/0/0)             0


At the " partition> "label the device using option "l"" >> this will initialize the disk with EFI label
3) Verify the status of the disk with the following command:

# vxdisk list

If the disk is now shown as "ONLINE INVALID", it can now be initialized.

4) Initialize the disk:
# vxdisksetup -i

5) Verify the disk is now correctly initialized by Volume Manager with the following command:
# vxdisk list

The disk should now be shown as "ONLINE".
 

 

Issue/Introduction

Volume Manager cannot initialize a disk with no backup slice or a disk with an EFI label