partitioning OSD Storage drive
Is it possible to partition an OSD storage drive? As I only have 2 S-ATA ports it sounds like a better choice to use a small part of the two SSDs for the operating system and leave the rest to Ceph. Can I do this? I already have a setup like this with ZFS and it can have significant downsides. but we can live with slow and save data due to this combination.
Yes, you can deploy an OSD on a partition or LVM. What you propose is generally discouraged for multiple reasons. Is this is a sandbox cluster? How large would these partitions be? OSDs smaller than … say 256-500GB can behave unexpectedly.
On Jun 13, 2025, at 10:54 AM, filip Mutterer <filip@3dds.io> wrote:
Is it possible to partition an OSD storage drive? As I only have 2 S-ATA ports it sounds like a better choice to use a small part of the two SSDs for the operating system and leave the rest to Ceph. Can I do this?
I already have a setup like this with ZFS and it can have significant downsides. but we can live with slow and save data due to this combination. _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Altough Anthony I agree in discouraging this idea, I did the same on my cluster (in production). It's a residue when I installed the cluster not yet knowing how large my setup would be. A typical setup on each host: Device Boot Start End Sectors Size Id Type /dev/sde1 2048 209717247 209715200 100G 83 Linux /dev/sde2 209717248 1875385007 1665667760 794,3G 8e Linux LVM Device Boot Start End Sectors Size Id Type /dev/sdf1 * 2048 1050623 1048576 512M ef EFI (FAT-12/16/32) /dev/sdf2 1050624 210765823 209715200 100G 83 Linux /dev/sdf3 210765824 1875385007 1664619184 793,8G 83 Linux md0 : active raid1 sdf2[3] sde1[2] Disks sd[a-d] and beyound sdf are used exclusively for osd Never had an issue with the functioning of ceph in this setup (for approx.. 3 years this cluster is running). So even being not good practice, I don't intended to take the time to modify this setup
-----Oorspronkelijk bericht----- Van: Anthony D'Atri <anthony.datri@gmail.com> Verzonden: vrijdag 13 juni 2025 18:06 Aan: filip Mutterer <filip@3dds.io> CC: ceph-users@ceph.io Onderwerp: [ceph-users] Re: partitioning OSD Storage drive
Yes, you can deploy an OSD on a partition or LVM.
What you propose is generally discouraged for multiple reasons. Is this is a sandbox cluster?
How large would these partitions be? OSDs smaller than … say 256-500GB can behave unexpectedly.
On Jun 13, 2025, at 10:54 AM, filip Mutterer <filip@3dds.io> wrote:
Is it possible to partition an OSD storage drive? As I only have 2 S-ATA ports it sounds like a better choice to use a small part of the two SSDs for the operating system and leave the rest to Ceph. Can I do this?
I already have a setup like this with ZFS and it can have significant downsides. but we can live with slow and save data due to this combination. _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (3)
-
Anthony D'Atri
-
Dominique Ramaekers
-
filip Mutterer