[ovirt-users] Data(Master)

Greg Padgett gpadgett at redhat.com
Tue Dec 15 19:55:39 UTC 2015


On 12/14/2015 01:57 AM, Sandvik Agustin wrote:
> Hi,
> This is what inside my /etc/lvm/archive/
> "ls /etc/lvm/archive/
> 39757758-c149-41da-8479-74b4d21635a0_00000-1936952678.vg
> <http://39757758-c149-41da-8479-74b4d21635a0_00000-1936952678.vg>
> 4a0a7b1a-a98c-4bc4-86eb-b215cfa8da24_00000-147069828.vg
> <http://4a0a7b1a-a98c-4bc4-86eb-b215cfa8da24_00000-147069828.vg>
> 4a0a7b1a-a98c-4bc4-86eb-b215cfa8da24_00001-849682777.vg
> <http://4a0a7b1a-a98c-4bc4-86eb-b215cfa8da24_00001-849682777.vg>
> 4a0a7b1a-a98c-4bc4-86eb-b215cfa8da24_00002-1626145851.vg
> <http://4a0a7b1a-a98c-4bc4-86eb-b215cfa8da24_00002-1626145851.vg>
> 4c0c34ec-d44b-4f3e-8e10-76b82b5fa118_00000-1451865950.vg
> <http://4c0c34ec-d44b-4f3e-8e10-76b82b5fa118_00000-1451865950.vg>
> 4c0c34ec-d44b-4f3e-8e10-76b82b5fa118_00001-587463327.vg
> <http://4c0c34ec-d44b-4f3e-8e10-76b82b5fa118_00001-587463327.vg>
> 4c0c34ec-d44b-4f3e-8e10-76b82b5fa118_00002-321869468.vg
> <http://4c0c34ec-d44b-4f3e-8e10-76b82b5fa118_00002-321869468.vg>
> 4c0c34ec-d44b-4f3e-8e10-76b82b5fa118_00003-117963502.vg
> <http://4c0c34ec-d44b-4f3e-8e10-76b82b5fa118_00003-117963502.vg>
> aa2ae33a-47ad-43a2-a623-cbea4770cbd0_00000-1774160120.vg
> <http://aa2ae33a-47ad-43a2-a623-cbea4770cbd0_00000-1774160120.vg>
> aa2ae33a-47ad-43a2-a623-cbea4770cbd0_00001-937915900.vg
> <http://aa2ae33a-47ad-43a2-a623-cbea4770cbd0_00001-937915900.vg>
> afb04ab7-ecc5-4079-9700-43b6d01c8a5b_00000-1996551186.vg
> <http://afb04ab7-ecc5-4079-9700-43b6d01c8a5b_00000-1996551186.vg>
> afb04ab7-ecc5-4079-9700-43b6d01c8a5b_00001-5564790.vg
> <http://afb04ab7-ecc5-4079-9700-43b6d01c8a5b_00001-5564790.vg>
> afb04ab7-ecc5-4079-9700-43b6d01c8a5b_00002-617819029.vg
> <http://afb04ab7-ecc5-4079-9700-43b6d01c8a5b_00002-617819029.vg>
> cce50b8e-a566-4ba9-a2b9-a978e44f3684_00000-1336023522.vg
> <http://cce50b8e-a566-4ba9-a2b9-a978e44f3684_00000-1336023522.vg>
> cce50b8e-a566-4ba9-a2b9-a978e44f3684_00001-210534184.vg
> <http://cce50b8e-a566-4ba9-a2b9-a978e44f3684_00001-210534184.vg>
> cce50b8e-a566-4ba9-a2b9-a978e44f3684_00002-159368298.vg
> <http://cce50b8e-a566-4ba9-a2b9-a978e44f3684_00002-159368298.vg>
> HostVG_00000-1625691793.vg"
>
> And this is what inside my /etc/lvm/backup/
> "ls /etc/lvm/backup/
> 39757758-c149-41da-8479-74b4d21635a0  afb04ab7-ecc5-4079-9700-43b6d01c8a5b
> 4a0a7b1a-a98c-4bc4-86eb-b215cfa8da24  cce50b8e-a566-4ba9-a2b9-a978e44f3684
> 4c0c34ec-d44b-4f3e-8e10-76b82b5fa118  HostVG
> aa2ae33a-47ad-43a2-a623-cbea4770cbd0"
>
> How do I find my UUID of old master storage domain?
>
> Thanks,
> Sandvik

Hi Sandvik,

Executing the following (all one line) on your engine machine will list 
the domain ids, names, and timestamp when that domain was master:

   psql <dbname> -U <username> -c 'select id, storage_name,
     last_time_used_as_master from storage_domain_static'

(where of course <dbname> and <username> are the properties you set up 
during your initial engine installation.)

Greg




More information about the Users mailing list