2008-04-23 17:08:31 +00:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<h1>Storage management architecture</h1>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
The storage management APIs are based around 2 core concepts
|
|
|
|
</p>
|
|
|
|
<ol>
|
|
|
|
<li>
|
2009-11-06 15:04:19 +00:00
|
|
|
<strong>Volume</strong> - a single storage volume which can
|
|
|
|
be assigned to a guest, or used for creating further pools. A
|
|
|
|
volume is either a block device, a raw file, or a special format
|
|
|
|
file.
|
2008-04-23 17:08:31 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2009-11-06 15:04:19 +00:00
|
|
|
<strong>Pool</strong> - provides a means for taking a chunk
|
|
|
|
of storage and carving it up into volumes. A pool can be used to
|
|
|
|
manage things such as a physical disk, a NFS server, a iSCSI target,
|
|
|
|
a host adapter, an LVM group.
|
2008-04-23 17:08:31 +00:00
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
These two concepts are mapped through to two libvirt objects, a
|
|
|
|
<code>virStorageVolPtr</code> and a <code>virStoragePoolPtr</code>,
|
|
|
|
each with a collection of APIs for their management.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|