Let me correct a little bit of what Rafael has said. In the snapshots folder itself, the number dirs are account IDs.
root@gcx-bom-cloudstack:/mnt/secondary/snapshots# ls -l total 6 drwxr-xr-x 8 nobody nogroup 8 Jul 13 12:07 10 drwxr-xr-x 18 nobody nogroup 18 Aug 3 2016 2 drwxr-xr-x 11 nobody nogroup 11 Jul 15 20:34 22 drwxr-xr-x 3 nobody nogroup 3 Sep 3 2016 31 Above shows that snapshots for these account IDs. (Using account ID you can find domains) Whatever is inside these snapshot dir, are volume IDs. Here is example for account ID 22 root@gcx-bom-cloudstack:/mnt/secondary/snapshots# ls -lrth 22 total 14K drwxr-xr-x 2 nobody nogroup 2 Sep 1 2016 1004 drwxr-xr-x 2 nobody nogroup 2 Nov 27 2016 1114 drwxr-xr-x 2 nobody nogroup 2 Dec 7 2016 1052 drwxr-xr-x 2 nobody nogroup 2 Dec 19 2016 1016 drwxr-xr-x 2 nobody nogroup 2 Dec 26 2016 1003 drwxr-xr-x 2 nobody nogroup 2 Sep 10 00:39 1111 drwxr-xr-x 2 nobody nogroup 2 Sep 10 03:09 1202 drwxr-xr-x 2 nobody nogroup 5 Sep 23 17:33 1002 drwxr-xr-x 2 nobody nogroup 5 Sep 23 20:33 1015 So account 22 snapshots is happening (or happened in past) for volume IDs mention above (dir names). Each of this folder contains 1 or more vhd files that are created by snapshots. -- Makrand On Fri, Sep 29, 2017 at 7:59 PM, Rafael Weingärtner < raf...@autonomiccs.com.br> wrote: > The numbers are the IDs of the volume (id of the database). In the volume > table you can find the VM in which the volume is attached to. > If it is a snapshot, then you might want to check the snapshot table as > well (I might be wrong, but I think snapshots also have an entry in the > volume table). > > > On 9/29/2017 11:24 AM, Jeremy Peterson wrote: > >> Can someone explain the folder structure in secondary storage. >> >> I see /var/cloud_mount/87156045-e430-3fe3-aa4b-3d41c1af8df2 >> >> In there I have a bunch of folders >> >> Xen5 snapshots]# ls >> 10 13 130 153 2 23 390 4 449 480 605 61 64 664 67 684 7 >> 75 8 87 9 >> >> Xen5 snapshots]# find . -name *vhd >> ./75/589/2c9fbddd-9af8-4e9f-b43a-cfa47f7fd1cf.vhd >> ... >> ./13/330/baa34ead-9aa4-41f9-b120-37d7e47ce07a.vhd >> >> How do I correlate that to a domain or VM? >> >> jeremy >> >> > -- > Rafael Weingärtner > >