<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ezequiel</title>
    <description>The latest articles on DEV Community by Ezequiel (@ezequielpa4).</description>
    <link>https://dev.to/ezequielpa4</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3931623%2F33ed1389-fcc6-456e-8323-fded27d7432f.jpeg</url>
      <title>DEV Community: Ezequiel</title>
      <link>https://dev.to/ezequielpa4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ezequielpa4"/>
    <language>en</language>
    <item>
      <title>Ceph on Ubuntu (Single Node): Setup Guide (OSD, iSCSI, Bonding)</title>
      <dc:creator>Ezequiel</dc:creator>
      <pubDate>Thu, 14 May 2026 16:14:33 +0000</pubDate>
      <link>https://dev.to/ezequielpa4/ceph-on-ubuntu-single-node-setup-guide-osd-iscsi-bonding-342</link>
      <guid>https://dev.to/ezequielpa4/ceph-on-ubuntu-single-node-setup-guide-osd-iscsi-bonding-342</guid>
      <description>&lt;p&gt;I recently put together a small Ceph lab on Ubuntu using cephadm, mainly to understand how everything fits together in a real environment.&lt;/p&gt;

&lt;p&gt;Most guides out there are either too abstract or assume multi-node production setups, so I decided to document a &lt;strong&gt;single-node deployment&lt;/strong&gt; end-to-end — focusing on what actually matters when you're getting started.&lt;/p&gt;




&lt;h2&gt;
  
  
  What this includes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Ceph installation (cephadm)&lt;/li&gt;
&lt;li&gt;OSD provisioning from previously used disks&lt;/li&gt;
&lt;li&gt;Network bonding (802.3ad / LACP)&lt;/li&gt;
&lt;li&gt;iSCSI gateway setup&lt;/li&gt;
&lt;li&gt;LVM snapshots for rollback scenarios&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything is based on Ubuntu Server 22.04 and Ceph Squid.&lt;/p&gt;




&lt;h2&gt;
  
  
  Repo
&lt;/h2&gt;

&lt;p&gt;Full step-by-step docs here:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://github.com/EzequielPA4/ceph-infrastructure-docs" rel="noopener noreferrer"&gt;https://github.com/EzequielPA4/ceph-infrastructure-docs&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why this might help
&lt;/h2&gt;

&lt;p&gt;If you're:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;testing Ceph in a lab&lt;/li&gt;
&lt;li&gt;learning how OSDs really work&lt;/li&gt;
&lt;li&gt;trying to avoid common cephadm issues&lt;/li&gt;
&lt;li&gt;dealing with reused disks (LVM leftovers, etc.)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;this will probably save you time.&lt;/p&gt;




&lt;h2&gt;
  
  
  Notes from the lab
&lt;/h2&gt;

&lt;p&gt;A few things that are worth calling out:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ceph is &lt;strong&gt;very strict with disks&lt;/strong&gt; → anything with existing LVM or FS will be rejected&lt;/li&gt;
&lt;li&gt;Cleaning disks properly is key (wipefs + sgdisk + dd in some cases)&lt;/li&gt;
&lt;li&gt;Bonding (LACP) needs correct switch config or it just won’t behave&lt;/li&gt;
&lt;li&gt;Snapshots with LVM are useful, but you need to monitor usage (&lt;code&gt;lvs -o +data_percent&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Limitations
&lt;/h2&gt;

&lt;p&gt;This is a &lt;strong&gt;single-node setup&lt;/strong&gt;, so:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no HA&lt;/li&gt;
&lt;li&gt;no quorum discussion&lt;/li&gt;
&lt;li&gt;focused on learning / testing&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  If you're running something similar
&lt;/h2&gt;

&lt;p&gt;I'm curious how others are setting this up in lab environments.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Are you using cephadm or something else?&lt;/li&gt;
&lt;li&gt;Any gotchas with iSCSI gateways?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Feel free to share your setup or improvements.&lt;/p&gt;

</description>
      <category>ceph</category>
      <category>linux</category>
      <category>homelab</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
