Feature #58
Create plain FS on-the-fly
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Javi Fontan | % Done: | 100% | |
Category: | Drivers - Auth | |||
Target version: | Release 1.4 | |||
Resolution: | fixed | Pull request: |
Description
Usually a VM image includes a scratch directory to store temporary data. This storage is packed in the image file, which in turns reduce the efficiency of the system: additional storage is needed, and clone/transfer times increase.
OpenNebula TM can easily create those scratch FS, as it is now doing for swap. This could be specified in the VM template like this:
DISK=[TYPE=ext3, SIZE=1024,...]
Associated revisions
Added mkimage functionality for #58
git-svn-id: http://svn.opennebula.org/one/trunk@438 3034c82b-c49b-4eb3-8279-a7acafdc01c0
Bug creating empty disk images (#58)
git-svn-id: http://svn.opennebula.org/one/trunk@473 3034c82b-c49b-4eb3-8279-a7acafdc01c0
Add DISK_SNAPSHOT_REVERT status to libs
The lcm_status is not used, but it should not be removed from
the lib because the enum in VirtualMachine.h reserves #58 for it
History
#1 Updated by Javi Fontan over 12 years ago
I would use TYPE to say disk or diskimage as TYPE is also used to specify a swap image. Another paremeter like FORMAT should be added to tell the format of the newly created image. This way FORMAT can be passed directly to the driver and the core can be file system agnostic.
#2 Updated by Javi Fontan over 12 years ago
MKIMAGE command for transfer manager is added. The syntax is:
MKIMAGE <size> <fstype> <image fiile>
#3 Updated by Javi Fontan over 12 years ago
- % Done changed from 0 to 20
#4 Updated by Javi Fontan over 12 years ago
Core side of this feature and testing still to be done.
#5 Updated by Ruben S. Montero over 12 years ago
- % Done changed from 20 to 80
Revision r458, implements the core functionality. Needs testing. The Development Documentation has been updated. Now we have type FS to specify a clean file system, and FORMAT to set the file system type.
#6 Updated by Javi Fontan about 12 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
- Resolution set to fixed
Feature tested. Here is an example to use this functionality:
DISK = [ type="fs", format="ext3", size=512, target="sdb" ]
Size is in MB