First, install arch-install-scripts:
sudo pacman -S --needed arch-install-scriptsSecondly, mount your partitions in all the internal hard drives.
Thirdly, generate and validate your config by piping it out to stdout:
| #!/bin/bash | |
| osds=`ls -d /var/lib/ceph/osd/ceph-* |grep -o [0-9]*$` | |
| noop=0 | |
| for osd in $osds; do | |
| date | |
| echo "Starting trimming for ${osd}" | |
| if [ $noop -eq 1 ] ; then | |
| echo "systemctl disable --now ceph-osd@${osd}" |
First, install arch-install-scripts:
sudo pacman -S --needed arch-install-scriptsSecondly, mount your partitions in all the internal hard drives.
Thirdly, generate and validate your config by piping it out to stdout: