ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", ENV{ID_BUS}=="ata", ENV{ID_MODEL}=="ST31000340NS", RUN+="/usr/sbin/smartctl -q errorsonly -l scterc,100,100 $env{DEVNAME}"
ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", ENV{ID_BUS}=="ata", ENV{ID_MODEL}=="HGST_HTS725050A7E630", RUN+="/usr/sbin/smartctl -q errorsonly -l scterc,100,100 $env{DEVNAME}"
ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", ENV{ID_BUS}=="ata", ENV{ID_MODEL}=="HGST_HTE721010A9E630", RUN+="/usr/sbin/smartctl -q errorsonly -l scterc,100,100 $env{DEVNAME}"
+
+# Enable request merging for NVME devices
+ACTION=="add", SUBSYSTEM=="block", DRIVERS=="nvme", ATTR{queue/nomerges}="1"
"daux" => "/ssd/tablespaces/daux",
"iaux" => "/ssd/tablespaces/iaux"
}
- },
- :sysfs => {
- :md_tune => {
- :comment => "Enable request merging for NVMe devices",
- :parameters => {
- "block/nvme0n1/queue/nomerges" => "1",
- "block/nvme1n1/queue/nomerges" => "1"
- }
- }
}
)
"kernel.shmall" => 66 * 1024 * 1024 * 1024 / 4096
}
}
- },
- :sysfs => {
- :md_tune => {
- :comment => "Enable request merging for NVMe devices",
- :parameters => {
- "block/nvme0n1/queue/nomerges" => "1",
- "block/nvme1n1/queue/nomerges" => "1",
- "block/nvme2n1/queue/nomerges" => "1",
- "block/nvme3n1/queue/nomerges" => "1",
- "block/nvme4n1/queue/nomerges" => "1",
- "block/nvme5n1/queue/nomerges" => "1",
- "block/nvme6n1/queue/nomerges" => "1",
- "block/nvme7n1/queue/nomerges" => "1"
- }
- }
}
)
"kernel.shmall" => 66 * 1024 * 1024 * 1024 / 4096
}
}
- },
- :sysfs => {
- :md_tune => {
- :comment => "Enable request merging for NVMe devices",
- :parameters => {
- "block/nvme0n1/queue/nomerges" => "1",
- "block/nvme1n1/queue/nomerges" => "1",
- "block/nvme2n1/queue/nomerges" => "1",
- "block/nvme3n1/queue/nomerges" => "1",
- "block/nvme4n1/queue/nomerges" => "1",
- "block/nvme5n1/queue/nomerges" => "1",
- "block/nvme6n1/queue/nomerges" => "1",
- "block/nvme7n1/queue/nomerges" => "1"
- }
- }
}
)
}
}
},
- :sysfs => {
- :md_tune => {
- :comment => "Enable request merging for NVMe devices",
- :parameters => {
- "block/nvme0n1/queue/nomerges" => "1",
- "block/nvme1n1/queue/nomerges" => "1"
- }
- }
- },
:tile => {
:database => {
:cluster => "10/main",