I'm ssh'd into the xenserver and trying to locate the snapshots using "find /scripts | grep -i string" where string is what I called the snapshot when I took it in xencenter. This method doesn't work, so I want to know where xenserver keeps the snapshots I make?

link|improve this question

feedback

migrated from stackoverflow.com Sep 22 '10 at 16:27

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 2 down vote accepted

I finally got an answer from the citrix forum:

"There are no snapshot files. Virtual disks (including snapshots) in an LVM SR are stored as volumes. You can manage volumes with commands in the lvm2 package (run rpm -vV lvm2 to see the included commands)."

Here is the full thread.

link|improve this answer
feedback

The short answer: it's probably not a file you can find|grep.

Storage of XenServer snapshots is dependent on the type of storage repository (SR) used, as well as the Xen version number under which the SR was originally created. This white paper provides all the gory details.

If you are ssh'd into dom0, the command xe vdi-list is-a-snapshot=true might get you started in the right direction.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.