Ask Your Question
0

what does "source volid" mean in Cinder? [closed]

asked 2014-11-18 04:37:59 -0500

amitabh sinha gravatar image

updated 2014-11-19 07:58:14 -0500

smaffulli gravatar image

I have created cinder- volume using api. in response parameter we are getting source volid as null what it means? what is source volid ?

{
    "volume": {
        "attachments": [],
        "availability_zone": "nova",
        "bootable": "false",
        "created_at": "2014-11-13T08:18:56.000000",
        "display_description": "my_vol1",
        "display_name": "sdn_test",
        "id": "d7f82e95-f679-461e-bc12-37dc6a05997b",
        "metadata": {},
        "size": 1,
        "snapshot_id": null,
        "source_volid": null,
        "status": "available",
        "volume_type": "None"
    }
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by amitabh sinha
close date 2014-11-24 21:52:19.268999

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-11-18 12:00:38 -0500

yatin gravatar image

source_volid stands for source volume id. You can create a volume whose source is other volume. In such case source_volid will contain id of source volume.

edit flag offensive delete link more

Comments

how can we create a volume from an existing volume?

amitabh sinha gravatar imageamitabh sinha ( 2014-11-19 03:29:54 -0500 )edit

you can use "--source-volid <source-vol id="">" option of cinder create command to create a volume from an existing volume.

yatin gravatar imageyatin ( 2014-11-19 10:25:23 -0500 )edit
0

answered 2014-11-19 06:20:18 -0500

Ram.Meena gravatar image

Hi,

You can find all the options to create volume by running the below command:-

cinder help create

or

Refer the below link:- Block Storage command-line client

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-18 04:37:59 -0500

Seen: 459 times

Last updated: Nov 19 '14