Skip to contentSkip to conversation

XCP Storage Repos

DISCUSSION Mohammad Abdul-Amir (Shamma) 2 participants 2 messages Apr 21, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

I have been looking into XCP. More specifically storage repositories (SRs).

I was wondering, where exactly in the source are the SR drives being searched for and registered? I have been looking around in /opt/xensource/sm python scripts without any luck.

I would appreciate any pointers.

Cheers,

Signature · 1 line
Mohammad Abdul-Amir (Shamma)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hi,

Are you looking for where the python storage plugins are registered or where the default SRs are created?

The python storage plugins are registered during xapi's startup sequence - xapi scans /opt/xensource/sm.

The default SRs are created by the "firstboot" init script - have a look in /etc/firstboot.d. The files in /etc/firstboot.d/data are created at host install time.

Cheers,
Dave

From: [email protected] [mailto:[email protected]] On Behalf Of Mohammad Abdul-Amir (Shamma)
Sent: 21 April 2010 12:29
To: [email protected]
Subject: [Xen-devel] XCP Storage Repos

Hello,

I have been looking into XCP. More specifically storage repositories (SRs).

I was wondering, where exactly in the source are the SR drives being searched for and registered? I have been looking around in /opt/xensource/sm python scripts without any luck.

I would appreciate any pointers.

Cheers,

--
Mohammad Abdul-Amir (Shamma)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel