Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1590887.1
Update Date:2013-10-10
Keywords:

Solution Type  Problem Resolution Sure

Solution  1590887.1 :   Oakcli Deploy Fails in 2.7 VM install or upgrade with " Unable to create device maps from partition tables "  


Related Items
  • Oracle Database Appliance X3-2
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  


Upgrading to 2.7 may require some experience with previous installations:  This note clarifies a few steps from a user's perspective which might be missed in the README

Created from <SR 3-7734696681>

Applies to:

Oracle Database Appliance X3-2 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

During an up grade or initial

"...We used the ODA Config Manager from my desktop to create a configuration file to use for deploying. 
     However, after reviewing the command to deploy the ODA_BASE I got the following error:

Unable to create device maps from partition tables

  

[root]# /opt/oracle/oak/bin/oakcli deploy oda_base
Enter the template location: /OVS/oda_base_2.7.tar.gz
Core Licensing Options:
       1. 2 CPU Cores
       2. 4 CPU Cores
       3. 6 CPU Cores
       4. 8 CPU Cores
       5. 10 CPU Cores
       6. 12 CPU Cores
       7. 14 CPU Cores
       8. 16 CPU Cores
       Selection[1 .. 8](default 16 CPU Cores) : 8
       ODA base domain memory in GB(min 16, max 244)[default 244]      :
INFO: Using default memory size i.e. 244 GB
INFO: Deployment in non local mode
INFO: Verifying active cores on local node
INFO: Verified active cores on local node
INFO: Verifying active cores on remote node
INFO: Verified active cores on remote node
INFO: Running the command to copy the template /OVS/oda_base_2.7.tar.gz to remote node 1 oda_base_2.7.tar.gz   100% 4828MB  46.9MB/s   01:43
INFO: Spawned the process 21386 in the deployment node 0
INFO: Spawned the process 21388 in the node 1
templateBuild-2013-08-02-14-03/swap.img
templateBuild-2013-08-02-14-03/swap.img
templateBuild-2013-08-02-14-03/System.img
templateBuild-2013-08-02-14-03/System.img
templateBuild-2013-08-02-14-03/u01.img
templateBuild-2013-08-02-14-03/u01.img
Using config file "/OVS/Repositories/odabaseRepo/VirtualMachines/oakDom1/vm.cfg".
Started domain oakDom1 (id=1)
INFO: Deployment in local mode
INFO: Extracted the image files on node 1
INFO: The VM Configuration data is written to /OVS/Repositories/odabaseRepo/VirtualMachines/oakDom1/vm.cfg file
INFO: Running /sbin/losetup /dev/loop0 /OVS/Repositories/odabaseRepo/VirtualMachines/oakDom1/System.img command to mount the image file
INFO: Mount is successfully completed on /dev/loop0
INFO: Making change to the /OVS/Repositories/odabaseRepo/VirtualMachines/oakDom1/tmpmnt/boot/grub/grub.conf file
INFO: Assigning IP to the second node...
INFO: Created oda base pool
INFO: Starting ODA Base...
INFO: Storing the odabase configuration information
device-mapper: resume ioctl failed: Invalid argument
create/reload failed on loop0p2
INFO: Deployment in local mode
INFO: Extracted the image files on node 0
INFO: The VM Configuration data is written to /OVS/Repositories/odabaseRepo/VirtualMachines/oakDom1/vm.cfg file
INFO: Running /sbin/losetup /dev/loop0 /OVS/Repositories/odabaseRepo/VirtualMachines/oakDom1/System.img command to mount the image file
INFO: Mount is successfully completed on /dev/loop0
ERROR: Unable to create device maps from partition tables
ERROR: Unable to do ssh to deployment node 0
one

 

 

Configuration information
device-mapper: resume ioctl failed: Invalid argument   <<<<<<
create/reload failed on loop0p2
INFO: Deployment in local mode
INFO: Extracted the image files on node 0
INFO: The VM Configuration data is written to /OVS/Repositories/odabaseRepo/VirtualMachines/oakDom1/vm.cfg file
INFO: Running /sbin/losetup /dev/loop0 /OVS/Repositories/odabaseRepo/VirtualMachines/oakDom1/System.img command to mount the image file
INFO: Mount is successfully completed on /dev/loop0
ERROR: Unable to create device maps from partition tables
ERROR: Unable to do ssh to deployment node 0

 

Changes

 Install 2.7 OracleVM or upgrade OracleVM from 2.6 to 2.7

Cause

There are omitted or implied steps in the 2.7 README  compared to 2.6
 

Solution

 Concatenate the 2.7 files after moving them up one directory after uncompressing in the ODA

"...
>>  When unzipping 2.7 patch number directories (i.e. /OVS/16186172_01/oda_base_2.7.gz01) are created and you have to move the files up a directory to concat them.

 The pdf in Doc ID 1520579.1 does not indicate this step. This leads to believe there may be an issue with the 2.7 template
 The readme for p16186172_27000_Linux-x86-64_1of2.zip” and “p16186172_27000_Linux-x86-64_2of2.zip” from MOS Patch# 16186172 doesn't indicate to move files either
 This can lead the user to believe that here may be an issue with the 2.7 template when the problem is more basic.


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback