Replies: 9 comments 4 replies
-
I accomplish this in my small two-server, six-drive cluster by running one chunkserver per hard drive (which isn't perfect, but it works pretty well for my use case). I think moosefs/mfsdata/mfsmaster.cfg.in Lines 114 to 120 in 023198e |
Beta Was this translation helpful? Give feedback.
-
What would be the purpose of having copies of the same chunk on one physical chunk server? The purpose of MooseFS is to keep data safe. Copies on different machines means if one fails, the other has the data. Copies on one machine means if this machine fails, all copies fail. Your desire seems counterintuitive to me. |
Beta Was this translation helpful? Give feedback.
-
I guess the idea was about protection from a failure of the HDD |
Beta Was this translation helpful? Give feedback.
-
It is precisely for HDD-level protection. And I need a few chunk servers to allow ec encoding.Sent from my iPhoneOn 13 Dec 2022, at 05:41, onlyjob ***@***.***> wrote:
Having more than few chunkservers on one machine makes no sense. One chunkserver is perfectly capable of handling multiple HDDs as well as having multiple labels. IMHO 14 chunkservers looks like misconfiguration. What could possibly justify such setup?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You could have different MFS chunk server processes point to
different speed drives: 5400, 7200, SSD, NVMe, assigning them different
labels. Then you can choose to tier however you like.
… Message ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Its about having software raid pooling your storage on one machine. I have a media server with 14 disks of various sizes (total 50TB) running 4 chunkservers. It pools the disks into one namespace and provides all the moosefs features such as checksuming, copies = 2, 3 etc to protect against disk failures. Over the years I've had the occasional disk failure, but no data loss. It's a lot easier to manage and more flexible that zfs. |
Beta Was this translation helpful? Give feedback.
-
Its about having software raid pooling your storage on one machine. I have a media server with 14 disks of various sizes (total 50TB) running 4 chunkservers. It pools the disks into one namespace and provides all the moosefs features such as checksuming, copies = 2, 3 etc to protect against disk failures. Over the years I've had the occasional disk failure, but no data loss. It's a lot easier to manage and more flexible that zfs. |
Beta Was this translation helpful? Give feedback.
-
+1 to @Blackpaw |
Beta Was this translation helpful? Give feedback.
-
I can confirm that running more than 1 chunk server on a single machine WORKS amazingly to achieve the goal of having more than one copy of data per drive. You can still have multiple machines, and practice redundancy there in addition. For example, You can run 2 (or more) chunk servers on a single server, and assign some drives to one chunk server, and other drives to the other chunk server(s). The result is, as expected, you get redundancy, and also has some nice perks like fast replication, and excellent per-drive management. Another use case is related to drive diversity. You may have a mix of spinning disks and SSDs. You can assign one chunk server to the spinning disks, and another chunk server to SSDs, in the SAME machine! You can continue to do that with more machines too! The result is, you have both fast and slow drives in the same machines, each managed by its own chunk instance. You can then replicate that to additional machines, each having multiple chuck servers if needed. MooseFS has incredible flexibility. It blows my mind how far you can go to manage data using this tool. Bravo! |
Beta Was this translation helpful? Give feedback.
-
Is it possible to have chunks replicated to more than one HDD on the same chunkserver?
Beta Was this translation helpful? Give feedback.
All reactions