You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Abhinandan Prateek (JIRA)" <ji...@apache.org> on 2013/09/03 07:58:51 UTC

[jira] [Updated] (CLOUDSTACK-4551) Migrating the data volume from NFS to local storage ,underlying disk offering is not changed.

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Abhinandan Prateek updated CLOUDSTACK-4551:
-------------------------------------------

    Assignee: Nitin Mehta
    
> Migrating the data volume from NFS to local storage ,underlying disk offering is not changed.
> ---------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4551
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4551
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller
>    Affects Versions: 4.2.0
>            Reporter: manasaveloori
>            Assignee: Nitin Mehta
>             Fix For: 4.2.1
>
>
> .Steps:
> 1.	Have CS with 4.2 build.
> 2.	Have 2 primary storages NFS and local,NFS secondary.
> 3.	Create  disk offering using local storage.
> 4.	Create a data volume using NFS.
> 5.	Now migrate the volume to local primary storage.
> Observation:
> Volume is getting migrated ad storage is changed from NFS to local but the underlying disk offering is not changed.
>     
>    Disk offering with which NFS volume is created
>        id: 3
>         domain_id: NULL
>              name: Small
>              uuid: d5b03402-9136-476f-9333-7db89def7b12
>      display_text: Small Disk, 5 GB
>         disk_size: 5368709120
>              type: Disk
>              tags: NULL
>       recreatable: 0
> use_local_storage: 0
>       unique_name: Cloud.Com-Small
>        system_use: 0
>        customized: 0
>           removed: NULL
>           created: 2013-08-29 11:23:41
>          sort_key: 0
>  display_offering: 1
>   customized_iops: NULL
>          min_iops: NULL
>          max_iops: NULL
>   bytes_read_rate: NULL
>  bytes_write_rate: NULL
>    iops_read_rate: NULL
>   iops_write_rate: NULL
>  
> volume created  using NFS
>  mysql> select * from volumes where name = "sharedBU"\G;
> *************************** 1. row ***************************
>                         id: 7
>                 account_id: 2
>                  domain_id: 1
>                    pool_id: 201
>               last_pool_id: NULL
>                instance_id: NULL
>                  device_id: NULL
>                       name: sharedBU
>                       uuid: 945073f2-1680-4e22-af35-9d7c0bb12486
>                       size: 5368709120
>                     folder: /export/home/manasa/primaryVMw
>                       path: d52a77ff39c54c499441661ca0af789a
>                     pod_id: 1
>             data_center_id: 1
>                 iscsi_name: NULL
>                    host_ip: NULL
>                volume_type: DATADISK
>                  pool_type: NetworkFilesystem
>           disk_offering_id: 3
>                template_id: NULL
>                     iso_id: NULL
> first_snapshot_backup_uuid: NULL
>                recreatable: 0
>                    created: 2013-08-29 12:02:08
>                   attached: NULL
>                    updated: 2013-08-29 13:59:42
>                    removed: NULL
>                      state: Ready
>                 chain_info: NULL
>               update_count: 2
>                  disk_type: NULL
>     vm_snapshot_chain_size: NULL
>             display_volume: 1
>                     format: OVA
>                   min_iops: NULL
>                   max_iops: NULL
> 1 row in set (0.00 sec)
> Volume after migrating to local primary storage.
>                id: 20
>                 account_id: 2
>                  domain_id: 1
>                    pool_id: 200
>               last_pool_id: 201
>                instance_id: NULL
>                  device_id: NULL
>                       name: sharedBU
>                       uuid: 0074a14a-ee89-425a-a745-cef7bef6425b
>                       size: 5368709120
>                     folder: datastore-14964
>                       path: 9389f319093c4ef9907e16538fe21779
>                     pod_id: 1
>             data_center_id: 1
>                 iscsi_name: NULL
>                    host_ip: NULL
>                volume_type: DATADISK
>                  pool_type: NULL
>           disk_offering_id: 3
>                template_id: NULL
>                     iso_id: 0
> first_snapshot_backup_uuid: NULL
>                recreatable: 0
>                    created: 2013-08-29 14:34:09
>                   attached: NULL
>                    updated: 2013-08-29 14:38:46
>                    removed: NULL
>                      state: Ready
>                 chain_info: NULL
>               update_count: 2
>                  disk_type: NULL
>     vm_snapshot_chain_size: NULL
>             display_volume: 0
>                     format: OVA
>                   min_iops: NULL
>                   max_iops: NULL
> 2 rows in set (0.00 sec)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira