Feature #279

Default values for disk target

Added by Carlos Martín over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:07/14/2010
Priority:High Due date:
Assignee:Carlos Martín % Done:

80%

Category:OpenNebula Core
Target version:Release 2.0
Resolution:fixed Addon:
Story points-
Velocity based estimate-

Description

For VM templates, the disks using the image repository are assigned a default target attribute.
The current schema for disks is:

sda -> OS image
sdb -> Contextualization CDROM
sdc -> CDROM image
sdd, sde, etc. -> DATABLOCK images

The user is required to write the context target as sdb in the VM template. This could be done automatically, avoiding possible conflicts and also providing a cleaner template, making the target attribute optional for advanced users.

A related issue is that the current schema doesn't take into account the swap disks. To avoid conflicts mounting them, the schema must be changed to:

sda -> OS image
sdb -> Contextualization CDROM
sdc -> CDROM image
scd -> SWAP disk
sde, sdf, etc. -> DATABLOCK images

This way the swap type disks can be assigned the target sdc as a default.

Associated revisions

Revision 0f6f7138
Added by Carlos Martín over 1 year ago

feature #279: DATABLOCK images are now mounted from 'd'.

Revision 51eedd87
Added by Carlos Martín over 1 year ago

feature #279: Default target values for CONTEXT and SWAP disks.

Revision cde239b9
Added by Carlos Martín over 1 year ago

feature #192: Image tests updated for #279 and #281.

History

Updated by Carlos Martín over 1 year ago

  • Assignee changed from Ruben S. Montero to Carlos Martín
  • % Done changed from 0 to 90

Updated by Carlos Martín over 1 year ago

  • % Done changed from 90 to 80

To be finished, the device mapping needs better documentation, and new tests have to be developed.

Updated by Daniel Molina over 1 year ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF