Project

General

Profile

Add new feature - Write Once Read Many volume » History » Version 1

Jessica Mack, 06/09/2015 07:03 PM

1 1 Jessica Mack
h1. Add new feature - Write Once Read Many volume
2 1 Jessica Mack
3 1 Jessica Mack
h3. Summary
4 1 Jessica Mack
5 1 Jessica Mack
This feature will enable user to create a WORM (write once, read many) volume via librbd or rbd cli.
6 1 Jessica Mack
7 1 Jessica Mack
h3. Owners
8 1 Jessica Mack
9 1 Jessica Mack
* Haomai Wang (UnitedStack)
10 1 Jessica Mack
* Name (Affiliation)
11 1 Jessica Mack
* Name
12 1 Jessica Mack
13 1 Jessica Mack
h3. Interested Parties
14 1 Jessica Mack
15 1 Jessica Mack
* Haomai Wang (UnitedStack)
16 1 Jessica Mack
* Loic Dachary <loic@dachary.org>
17 1 Jessica Mack
* Name
18 1 Jessica Mack
19 1 Jessica Mack
h3. Current Status
20 1 Jessica Mack
21 1 Jessica Mack
We currently don't have any approach to create a WORM volume whatever librbd or rbd cli.
22 1 Jessica Mack
23 1 Jessica Mack
h3. Detailed Description
24 1 Jessica Mack
25 1 Jessica Mack
WORM (write once, read many) is a desired feature for users who want to store data such as 'log files', "config files",  and such like, where the data is not allowed to get modified. It is important for a distributed architecture to enjoy the mini version of shared filesystem.
26 1 Jessica Mack
WORM isn't the same as read-only(RO) volume, but the use cases RO volume fit into also can be applied to WORM. Folks can use WORM volume as shared-volume, read-only volume or others. WORM provide the ability to attach a single volume to multiple instances simultaneously and could be especially useful for things like Images and even D2D backups. 
27 1 Jessica Mack
Except the ability to create WORM volume, we should allow a normal volume to convert to WORM volume.
28 1 Jessica Mack
As ceph, we don't have many works todo. Just implements the feature in librbd and rbd.ko. 
29 1 Jessica Mack
30 1 Jessica Mack
h3. Work items
31 1 Jessica Mack
32 1 Jessica Mack
h3. Coding tasks
33 1 Jessica Mack
34 1 Jessica Mack
# Task 1
35 1 Jessica Mack
# Task 2
36 1 Jessica Mack
# Task 3
37 1 Jessica Mack
38 1 Jessica Mack
h3. Build / release tasks
39 1 Jessica Mack
40 1 Jessica Mack
# Task 1
41 1 Jessica Mack
# Task 2
42 1 Jessica Mack
# Task 3
43 1 Jessica Mack
44 1 Jessica Mack
h3. Documentation tasks
45 1 Jessica Mack
46 1 Jessica Mack
# Task 1
47 1 Jessica Mack
# Task 2
48 1 Jessica Mack
# Task 3
49 1 Jessica Mack
50 1 Jessica Mack
h3. Deprecation tasks
51 1 Jessica Mack
52 1 Jessica Mack
# Task 1
53 1 Jessica Mack
# Task 2
54 1 Jessica Mack
# Task 3