Feature #279

Default values for disk target

Added by Carlos Martín over 10 years ago. Updated about 10 years ago.

Status:ClosedStart date:07/14/2010
Priority:HighDue date:
Assignee:Carlos Martín% Done:

80%

Category:Core & System
Target version:Release 2.0
Resolution:fixed Pull request:

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 10 years ago

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

Revision 51eedd87
Added by Carlos Martín over 10 years ago

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

Revision cde239b9
Added by Carlos Martín over 10 years ago

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

Revision 99fce5b3
Added by Abel Coronado over 3 years ago

F #3874 use image name instead of id (#279)

History

#1 Updated by Carlos Martín over 10 years ago

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

#2 Updated by Carlos Martín over 10 years ago

  • % Done changed from 90 to 80

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

#3 Updated by Daniel Molina about 10 years ago

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

Also available in: Atom PDF