public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] ceph create pool with min_size=1 not possible anymore with last gui wizard
@ 2021-06-04  2:47 aderumier
  2021-06-04 13:23 ` Dominik Csapak
  0 siblings, 1 reply; 5+ messages in thread
From: aderumier @ 2021-06-04  2:47 UTC (permalink / raw)
  To: pve-devel

Hi,

I was doing a training week with students,

and I see that the new ceph wizard to create pool don't allow to set
min_size=1 anymore.

It's currently displaying a warning "min_size <= size/2 can lead to
data loss, incomplete PGs or unfound objects", 

that's ok  ,  but It's also blocking the validation button.



Some users with small cluster/budgets want to do only size=2,

so with min_size=2, the cluster will go read only in case of any osd
down.

It could be great to allow at least min_size=1 when size=2 is used.


also,
Other setup like size=4, min_size=2, also display the warning, but
allow to validate the form.

I'm not sure this warning is correct in this case , as since octopus,
min_size
is auto compute when pool is created, and a simple

ceph osd pool create mypool 128 --size=4  , create a pool with
min_size=2 by default.










^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-07  9:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04  2:47 [pve-devel] ceph create pool with min_size=1 not possible anymore with last gui wizard aderumier
2021-06-04 13:23 ` Dominik Csapak
2021-06-07  6:57   ` aderumier
2021-06-07  7:14     ` Dominik Csapak
2021-06-07  9:42       ` Maximilian Hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal