Resize Bluestore i.e. shrink?
Hi all, I'm currently building a little ceph-cluster, with embedded devices. My OSD Nodes are constrained in RAM (1GB, but 5 SATA Ports, please don't kill me ;) ). Anyways. Each of those nodes have 2x256 GB SSD and 2x 1TB HDDs. I'm using nautilus and deployd the whole thing with ceph-deploy. Now, I'd like to add more mem (a.k.a SWAP space, as raid1 on either ssds/hdds) to those OSDs. My question is: Can I shrink a bluestore lvm? I've seen 'ceph-bluestore-tool bluefs-bdev-expand' which suggests to expand the underlying lvm. It seem to me that I would have to remove the specific OSD and then add it manually after resizing the underlying lvm volume. And yes, I know that ceph need RAM ;) Cheers, udo.
Hi, Am 03.04.20 um 21:51 schrieb Udo Waechter:
I'm currently building a little ceph-cluster, with embedded devices. My OSD Nodes are constrained in RAM (1GB, but 5 SATA Ports, please don't kill me ;) ). Anyways. Each of those nodes have 2x256 GB SSD and 2x 1TB HDDs.
This will not work. Ceph does not like swapping.
My question is: Can I shrink a bluestore lvm? No, you need to recreate the OSD.
Regards -- Robert Sander Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin http://www.heinlein-support.de Tel: 030 / 405051-43 Fax: 030 / 405051-19 Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
participants (2)
-
Robert Sander
-
Udo Waechter