pub struct NodesCephCreateosdRequest {
pub crush_device_class: Option<String>,
pub db_dev: Option<String>,
pub db_dev_size: Option<f64>,
pub dev: String,
pub encrypted: Option<PveBoolean>,
pub osds_per_device: Option<i64>,
pub wal_dev: Option<String>,
pub wal_dev_size: Option<f64>,
}Fields§
§crush_device_class: Option<String>Set the device class of the OSD in crush.
db_dev: Option<String>Block device name for block.db.
db_dev_size: Option<f64>If a block.db is requested but the size is not given, will be automatically selected by: bluestore_block_db_size from the ceph database (osd or global section) or config (osd or global section) in that order. If this is not available, it will be sized 10% of the size of the OSD device. Fails if the available size is not enough.
dev: StringBlock device name.
encrypted: Option<PveBoolean>Enables encryption of the OSD.
osds_per_device: Option<i64>OSD services per physical device. Only useful for fast NVMe devices to utilize their performance better. Mutually exclusive with ‘db_dev’ and ‘wal_dev’.
wal_dev: Option<String>Block device name for block.wal.
wal_dev_size: Option<f64>If a block.wal is requested but the size is not given, will be automatically selected by: bluestore_block_wal_size from the ceph database (osd or global section) or config (osd or global section) in that order. If this is not available, it will be sized 1% of the size of the OSD device. Fails if the available size is not enough.
Implementations§
Source§impl NodesCephCreateosdRequest
impl NodesCephCreateosdRequest
pub fn new(dev: String) -> NodesCephCreateosdRequest
Trait Implementations§
Source§impl Clone for NodesCephCreateosdRequest
impl Clone for NodesCephCreateosdRequest
Source§fn clone(&self) -> NodesCephCreateosdRequest
fn clone(&self) -> NodesCephCreateosdRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NodesCephCreateosdRequest
impl Debug for NodesCephCreateosdRequest
Source§impl Default for NodesCephCreateosdRequest
impl Default for NodesCephCreateosdRequest
Source§fn default() -> NodesCephCreateosdRequest
fn default() -> NodesCephCreateosdRequest
Source§impl<'de> Deserialize<'de> for NodesCephCreateosdRequest
impl<'de> Deserialize<'de> for NodesCephCreateosdRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for NodesCephCreateosdRequest
impl PartialEq for NodesCephCreateosdRequest
Source§fn eq(&self, other: &NodesCephCreateosdRequest) -> bool
fn eq(&self, other: &NodesCephCreateosdRequest) -> bool
self and other values to be equal, and is used by ==.