Home | Trees | Indices | Help |
---|
|
object --+ | Storage
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Create a Storage instance. Keyword Arguments: anaconda - an Anaconda instance intf - an InstallInterface instance platform - a Platform instance All arguments are optional. An Anaconda instance will contain an InstallInterface and a Platform instance, so it makes sense to pass in either an Anaconda instance or as many of the other two as is desired. Explicitly passed intf or platform will take precedence over those in the Anaconda instance.
|
|
Reset storage configuration to reflect actual system state. This should rescan from scratch but not clobber user-obtained information like passphrases, iscsi config, &c |
A list of all the devices in the device tree.
|
A list of the disks in the device tree. Ignored disks are not included, as are disks with no media present. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
A list of the partitioned devices in the device tree. Ignored devices are not included, nor disks with no media present. Devices of types for which partitioning is not supported are also not included. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
A list of the partitions in the device tree. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
A list of the LVM Volume Groups in the device tree. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
A list of the LVM Logical Volumes in the device tree. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
A list of the LVM Physical Volumes in the device tree. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
A list of the MD arrays in the device tree. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
A list of the MD containers in the device tree.
|
A list of the MD member devices in the device tree. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
Return a list of unused minors for use in RAID.
|
|
A list of the swap devices in the device tree. This is based on the current state of the device tree and does not necessarily reflect the actual on-disk state of the system's disks.
|
|
The OS image used by live installs.
|
|
|
|
Return a list of removable devices to save exceptions to. FIXME: This raises the problem that the device tree can be in a state that does not reflect that actual current state of the system at any given point. We need a way to provide direct scanning of disks, partitions, and filesystems without relying on the larger objects' correctness. Also, we need to find devices that have just been made available for the purpose of storing the exception report. |
Return any reason the device cannot be modified/removed. Return False if the device can be removed. Devices that cannot be removed include:
|
Schedule creation of a device. TODO: We could do some things here like assign the next available raid minor if one isn't already set. |
Return a string explaining why the device must be reformatted. Return None if the device need not be reformatted. |
Convert a device name to something safe and return that. LVM limits lv names to 128 characters. I don't know the limits for the other various device types, so I'm going to pick a number so that we don't have to have an entire fucking library to determine device name limits. |
Add the global passphrase to all preexisting LUKS devices. This establishes a common passphrase for all encrypted devices in the system so that users only have to enter one passphrase during system boot. |
Run a series of tests to verify the storage configuration. This function is called at the end of partitioning so that we can make sure you don't have anything silly (like no /, a really small /, etc). Returns (errors, warnings) where each is a list of strings. |
|
|
A list of all valid filesystem types for the boot partition.
|
The default filesystem type for the boot partition.
|
|
|
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 2 14:52:23 2012 | http://epydoc.sourceforge.net |