osd with specifiying directories
Hi, I want to try using object storage with java. Is it possible to set up osds with "only" directories as data destination (using cephadmin) , instead of whole disks? I have read through much of the docu but didn't found how to do it (if it's possible). Thanks Michael
Den fre 3 apr. 2020 kl 10:11 skrev Micha <micha-1@fantasymail.de>:
I want to try using object storage with java. Is it possible to set up osds with "only" directories as data destination (using cephadmin) , instead of whole disks? I have read through much of the docu but didn't found how to do it (if it's possible).
I think filestore OSDs can run from a dir. Whether or not a deployment tool/script will help you I don't know, but should not be a showstopper to make your own script to create them if need be. -- May the most significant bit of your life be positive.
Thanks for the answer, I hoped that, but I cannot figure out how to configure it. There is an option in DriveGroupSpecs which is data_directories : "A list of strings which should back OSDs" Is this the right option? How do I do this with "ceph orch daemon add osd host:...." ? Thanks Michael Am Freitag, 3. April 2020, 10:14:29 CEST schrieb Janne Johansson:
Den fre 3 apr. 2020 kl 10:11 skrev Micha <micha-1@fantasymail.de>:
I want to try using object storage with java. Is it possible to set up osds with "only" directories as data destination (using cephadmin) , instead of whole disks? I have read through much of the docu but didn't found how to do it (if it's possible).
I think filestore OSDs can run from a dir. Whether or not a deployment tool/script will help you I don't know, but should not be a showstopper to make your own script to create them if need be.
Den fre 3 apr. 2020 kl 10:20 skrev Micha <micha-1@fantasymail.de>:
Thanks for the answer, I hoped that, but I cannot figure out how to configure it.
Now, what I meant, but perhaps didn't write was: 1. Bluestore is default, Filestore was the older version, not default anymore. 2. Filestore of course used whole drives, partitions or LVM volumes but could be made to use a dir, if you did some work yourself. 3. ceph orch ... <- from Octopus, meaning recent, meaning that it would not be a huge shocker if the deprecated non-default filestore type itself in deprecated non-default mode did not come with a "can I just type 'a b c' and some other part does it all for me?" If you want to be 2-3 steps away from recommended, default, recent I think you will have to step up to the task. Look up how people did it some 4-5-6 major releases ago, when filestore was the only option.
Is it possible to set up osds with "only" directories as data destination
I think filestore OSDs can run from a dir. Whether or not a deployment tool/script will help you I don't know, but should not be a showstopper to make your own script to create them if need be.
-- May the most significant bit of your life be positive.
Am Freitag, 3. April 2020, 10:50:57 CEST schrieb Janne Johansson:
Now, what I meant, but perhaps didn't write was: 1. Bluestore is default, Filestore was the older version, not default anymore. 2. Filestore of course used whole drives, partitions or LVM volumes but could be made to use a dir, if you did some work yourself. 3. ceph orch ... <- from Octopus, meaning recent, meaning that it would not be a huge shocker if the deprecated non-default filestore type itself in deprecated non-default mode did not come with a "can I just type 'a b c' and some other part does it all for me?"
If you want to be 2-3 steps away from recommended, default, recent I think you will have to step up to the task. Look up how people did it some 4-5-6 major releases ago, when filestore was the only option.
ok, I don't like the deprecated way. I think I will setup a virtual machine to test it, it seems for this case the better way. Cheers Michael
Hi Micha, cephadm does not (yet) support Filestore. See https://tracker.ceph.com/issues/44874 for details. Best, Sebastian Am 03.04.20 um 10:11 schrieb Micha:
Hi,
I want to try using object storage with java. Is it possible to set up osds with "only" directories as data destination (using cephadmin) , instead of whole disks? I have read through much of the docu but didn't found how to do it (if it's possible).
Thanks Michael
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
-- SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg). Geschäftsführer: Felix Imendörffer
participants (3)
-
Janne Johansson
-
Micha
-
Sebastian Wagner