kubernetesでrookを使ってcephを取り入れたストレージ環境を構築しようと思っているのですが、documentに記載のある、useAllDevicesがなぜ、推奨されていないのかわかりません。
具体的には、以下のdocument(https://rook.io/docs/rook/v0.9/ceph-cluster-crd.html)
useAllDevices
:true
orfalse
, indicating whether all devices found on nodes in the cluster should be automatically consumed by OSDs. Not recommended unless you have a very controlled environment where you will not risk formatting of devices with existing data. Whentrue
, all devices will be used except those with partitions created or a local filesystem.
の、
risk formatting of devices with existing data.
がわかりません。
関連する部分で、cephのblog(https://ceph.com/community/rook-automating-ceph-kubernetes/)では、
Fully automated
The simplest way for Rook to initialize the OSDs is by declaring that you want to “use all nodes” and “use all devices”. This means that the operator will automatically start OSDs on all nodes in the Kubernetes cluster that have available devices. The available devices are discovered by Rook and initialized with OSDs with the simple criteria:
- The device has no partitions
- The device has no formatted file systems
Rook will never attempt to consume a device that does not satisfy that criteria. When the operator is completed, typically within minutes, you will have a storage cluster with all the OSDs configured.
ともありますから、rookが、すでに使われているdeviceを無理やり使って不整合を起こすようなことはないような気がします。
管理者が何かdeviceのフォーマットを変更したりして、危険に晒すような事故は、useAllDevices
がtrueであれ、falseであれ起きることで、非推奨にする理由になっていないような気がしてしまいます。
ストレージの知識のない私にとって、このdocumentは行間が広く、読めません。
どなたか教えていただけませんでしょうか。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。