Thanks. However, I find primary storage information stored in also:
use cloud; select account_id , domain_id , pool_id, last_pool_id, instance_id, folder from volumes; If I have to change the folder name manually, in the tables, what are all the tables, should I change. ________________________________ From: Mike Tutkowski <mike.tutkow...@solidfire.com> To: "dev@cloudstack.apache.org" <dev@cloudstack.apache.org>; Giri Prasad <g_p...@yahoo.com> Cc: Prashant Kumar Mishra <prashantkumar.mis...@citrix.com>; "us...@cloudstack.apache.org" <us...@cloudstack.apache.org> Sent: Monday, 7 July 2014 10:10 AM Subject: Re: How to change primary storage cloud.storage_pool for primary storage and cloud.image_store for secondary storage. On Sun, Jul 6, 2014 at 10:30 PM, Giri Prasad <g_p...@yahoo.com.invalid> wrote: Hello, > >Thanks for suggestion, which I will try. > >Btw, I saw a lead as: >http://comments.gmane.org/gmane.comp.apache.cloudstack.user/7000 >Which says : > >when I've had issues deleting primary storages in the past, I've ended up >having to delete >volumes that were still associated with the datastore from the cloud.volumes >table. > >Is cloud.volumes the mysql table, where all the primary/secondary storage >setups are stored? Or what is the exact db.tablename which stores the >primary/secondary storage setups? > > >Regards, >D.Giriprasad > > > > >----- Original Message ----- >From: Prashant Kumar Mishra <prashantkumar.mis...@citrix.com> >To: "dev@cloudstack.apache.org" <dev@cloudstack.apache.org>; Giri Prasad ><g_p...@yahoo.com>; "us...@cloudstack.apache.org" <us...@cloudstack.apache.org> >Cc: >Sent: Sunday, 6 July 2014 9:42 AM >Subject: RE: How to change primary storage > > >I would suggest add you new primary storage ,migrate volumes from old >storage to new storage and then remove ur old primary storage after enabling >maintenance mode. > >Thanks >Prashant > > > >-----Original Message----- >From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] >Sent: Saturday, July 05, 2014 10:16 AM >To: us...@cloudstack.apache.org; dev@cloudstack.apache.org >Subject: How to change primary storage > >Hello All, > > I installed CS 4.1 on ubuntu, with primary storage in /export/aa and >secondary storage in /export/bb, both in the same hard disk as the management >server of CS 4.1. The Ip of the server is http://XXX.XXX.1.5. > > > Recently, I configured the My Book Live Device, to the IP of >http://XXX.XXX.1.20. I am able to mount this device to linux dir and view >files on it. > > The CS 4.1 was installed before mounting this external My Book Live Device. > >Now I want to change the primary storage of the IP address from >http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the primary >storage directory. > > Can, anybody provide insights, on which Mysql table, should I update for CS >4.1 setup. Or is there a procedure, to change the primary storage settings via >the CS 4.1 web interface gui? > >Thanks in advance. > >Regards, >D.Giriprasad > > -- Mike Tutkowski Senior CloudStack Developer, SolidFire Inc. e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud™