Class: ClusterChef::RaidGroup
- Defined in:
- lib/cluster_chef/volume.rb
Overview
Consider raising the chunk size to 256 and setting read_ahead 65536 if you are raid’ing EBS volumes
Constant Summary
Constants inherited from Volume
Instance Attribute Summary
Attributes inherited from Volume
Instance Method Summary collapse
Methods inherited from Volume
#block_device_mapping, #create_at_launch?, #ephemeral_device?, #has_server?, #in_cloud?, #initialize, #reverse_merge!, #snapshot_name
Methods inherited from DslObject
#configure, #die, #dump, has_keys, #initialize, #reverse_merge!, #safely, #set, #step, #to_hash, #to_mash, #to_s, #ui, ui
Constructor Details
This class inherits a constructor from ClusterChef::Volume
Instance Method Details
#defaults ⇒ Object
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/cluster_chef/volume.rb', line 141 def defaults() super fstype 'xfs' "defaults,nobootwait,noatime,nouuid,comment=cluster_chef" attachable false create_at_launch false # mountable true resizable false formattable true # in_raid false # sub_volumes [] end |
#desc ⇒ Object
137 138 139 |
# File 'lib/cluster_chef/volume.rb', line 137 def desc "#{name} on #{parent.fullname} (#{volume_id} @ #{device} from #{sub_volumes.join(',')})" end |