Top | ![]() |
![]() |
![]() |
![]() |
Poll (); Delete (IN b wipe, IN a{sv} options); Rename (IN s new_name, IN a{sv} options, OUT o result); AddDevice (IN o block, IN a{sv} options); EmptyDevice (IN o block, IN a{sv} options); RemoveDevice (IN o block, IN b wipe, IN a{sv} options); CreatePlainVolume (IN s name, IN t size, IN a{sv} options, OUT o result); CreateThinPoolVolume (IN s name, IN t size, IN a{sv} options, OUT o result); CreateThinVolume (IN s name, IN t size, IN o pool, IN a{sv} options, OUT o result);
Name readable s UUID readable s Size readable t FreeSize readable t ExtentSize readable t NeedsPolling readable b
Objects implementing this interface represent LVM2 volume groups. They appear under /org/storaged/Storaged/lvm/.
The logical volume objects of a volume group are the children of the volume group objects in the D-Bus object hierarchy. See the org.storaged.Storaged.LogicalVolume interface.
The physical volume objects of a volume group can be found by looking for block devices with a org.storaged.Storaged.PhysicalVolume.VolumeGroup property that points to the volume group object.
Since 2.0.0
Poll ();
Make sure that all properties of this volume group and of all their logical and physical volumes are up-to-date.
The properties are not guaranteed to be up-to-date yet when this method returns.
Since 2.0.0
Delete (IN b wipe, IN a{sv} options);
Delete this volume group. All its logical volumes will be deleted, too.
If the option tear-down
is set to
TRUE
, then all logical volumes will be cleaned up before
deletion. This cleanup consists of removing entries from
/etc/fstab and /etc/crypttab, and locking of encrypted block
devices. Entries in /etc/fstab and /etc/crypttab that have
been created with the 'track-parents' options to
AddConfigurationItem will be removed even if their block
device is currently unavailable.
|
Whether to wipe the physical volumes. |
|
Additional options. |
Since 2.0.0
Rename (IN s new_name, IN a{sv} options, OUT o result);
Rename this volume group. This might cause the volume group object to disappear from D-Bus and reappear with a different path.
No additional options are currently defined.
|
The new name. |
|
Additional options. |
|
The new object path. |
Since 2.0.0
AddDevice (IN o block, IN a{sv} options);
Add a new physical volume to the volume group. The block device will be wiped and all data on it will be lost.
|
The block device to add, as a Storaged object path. |
|
Additional options. |
Since 2.0.0
EmptyDevice (IN o block, IN a{sv} options);
Move all data on the given block device somewhere else so that the block device might be removed.
No additional options are currently defined.
|
The block device to empty, as a Storaged object path. |
|
Additional options. |
Since 2.0.0
RemoveDevice (IN o block, IN b wipe, IN a{sv} options);
Remove the indicated physical volume from the volume group. The physical device must be unused.
No additional options are currently defined.
|
The block device to remove, as a Storaged object path. |
|
Whether to wipe the physical volume. |
|
Additional options. |
Since 2.0.0
CreatePlainVolume (IN s name, IN t size, IN a{sv} options, OUT o result);
Create a 'normal' new logical volume.
No additional options are currently defined.
|
The name of the new logical volume. |
|
The size. |
|
Additional options. |
|
The object path of the new logical volume. |
Since 2.0.0
CreateThinPoolVolume (IN s name, IN t size, IN a{sv} options, OUT o result);
Create a new logical volume that can be used to back thinly-provisioned logical volumes.
No additional options are currently defined.
|
The name of the new logical volume. |
|
The size. |
|
Additional options. |
|
The object path of the new logical volume. |
Since 2.0.0
CreateThinVolume (IN s name, IN t size, IN o pool, IN a{sv} options, OUT o result);
Create a new thinly provisioned logical volume in the given pool.
No additional options are currently defined.
|
The name of the new logical volume. |
|
The virtual size. |
|
The thin pool to use. |
|
Additional options. |
|
The object path of the new logical volume. |
Since 2.0.0
UUID readable s
The UUID this volume group. It is guaranteed to be unique, but it might change over time.
Since 2.0.0
FreeSize readable t
The unused capacity of this volume group, in bytes.
Since 2.0.0
ExtentSize readable t
The size of extents. When creating and resizing logical volumes, sizes are rounded up to multiples of the extent size.
Since 2.0.0