Been having problems with my new SN770 drive, and decided to check if I can firmware update it on Linux. WD only provides a Windows tool, Western Digital Dashboard to download and install firmwares, but, it's possible to find the firmware and install it using Linux tooling as well.
❱ sudo pacman -S nvme-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NO FEATURE | |
NODES=3ctlr_2comp_3ceph | |
# modify the ceph nodes memory to 5GB at config/nodes/3ctlr_2comp_3ceph.yml | |
control_memory: 8192 | |
control_disk: 45 | |
compute_memory: 5120 | |
compute_disk: 50 | |
ceph_memory: 5120 | |
ceph_disk: 55 | |
undercloud_memory: 12288 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# by Damien Ciabrini & Michele Baldessari | |
# This function takes the resource name as a parameter and returns | |
# "clone", "master", "primitive" or exits with 1 | |
function get_resource_type() { | |
local clone_count | |
local master_count | |
local primitive_count | |
local bundle_count |