Removing and Replacing Ceph OSDs
Removing and Replacing Ceph OSDs

Removing and Replacing Ceph OSDs: orch osd rm, rm, destroy and purge Explained

Ceph has five commands that sound like they remove an OSD:

  • ceph orch osd rm
  • ceph orch osd rm --replace
  • ceph osd rm
  • ceph osd destroy
  • ceph osd purge

They do different things, and picking the wrong one can leave orphaned daemons, stale keys, an OSD ID you can’t reuse, or a second round of rebalancing.

TL;DR

Goal cephadm cluster Classic cluster (packages + systemd)
Remove an OSD permanently ceph orch osd rm <id> --zap ceph osd purge
Replace a disk, keep the ID ceph orch osd rm <id> --replace --zap ceph osd destroy + ceph-volume lvm create --osd-id
Replace a disk without draining (degraded) ceph orch daemon stop + ceph osd destroy --force + ceph orch daemon rm --force systemctl stop + ceph osd destroy --force + ceph-volume lvm create --osd-id

On cephadm, always run ceph orch set-unmanaged <osd-spec> first, or the zapped disk is redeployed within seconds.

read more

A Minimal Debian Trixie VPS with libvirt + LXC for Linux containers
A Minimal Debian Trixie VPS with libvirt + LXC for Linux containers

I recently rebuilt my personal VPS and wanted something small, simple, and easy to reason about. No Docker, no Kubernetes, no overlay networks — just a handful of isolated environments on a single host, each looking and feeling like its own little Debian box.

This post walks through the setup I ended up with: a Debian Trixie host running libvirt-lxc containers that share the host’s network namespace and bind directly to the host NIC over IPv6.

read more

Receive METEOR weather satellite images with RTLSDR and GQRX on Linux
Receive METEOR weather satellite images with RTLSDR and GQRX on Linux

Requirements

You should be able to compile sourcecode from github and installing tools from your distribution. I use Debian and except of a few special packages, everything is included in Debian Buster.

Satellites used

There are 3 satellites in orbit:

  • METEOR-M 1 (decommissioned)
  • METEOR-M 2
  • METEOR-M 2-2

Frequencies used

Satellite Frequency Bandwidth Data Symbol rate Modulation
METEOR-M N2 137.1 MHz 140 kHz LRPT 72000 QPSK
METEOR-M N2-2 137.9 MHz 140 kHz LRPT 72000 OQPSK

Good online resource with more information (active APIDs, …) is http://happysat.nl/Meteor/html/Meteor_Status.html.

read more