class

Cl8r::Model::DiskSpec

Inherits YAML::Serializable < Reference < Object

Models physical and virtual storage drive allocations for nodes. Supports OS boot isolation, software RAID1 mirrors, and dedicated Ceph OSD drives.

Constructors

new(device : String = "", role : String = "os_boot", size_gb : Int32 | Nil = nil, wipe_on_install : Bool = false, pool : String | Nil = nil, format : String | Nil = nil)

Initializes a DiskSpec with device path, role, optional size, wipe flag, pool, and format.

Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

device
Source
device=(device : String)
Source
format
Source
format=(format : String | Nil)
Source
pool
Source
pool=(pool : String | Nil)
Source
role
Source
role=(role : String)
Source
size_gb
Source
size_gb=(size_gb : Int32 | Nil)
Source
wipe_on_install=(wipe_on_install : Bool)
Source
wipe_on_install?
Source