]>
Commit | Line | Data |
---|---|---|
aa039b0f DM |
1 | GlusterFS Backend |
2 | ----------------- | |
fc3425bd | 3 | include::attributes.txt[] |
aa039b0f | 4 | |
5f09af76 DM |
5 | ifdef::wiki[] |
6 | :pve-toplevel: | |
cb84ed18 | 7 | :title: Storage: GlusterFS |
5f09af76 DM |
8 | endif::wiki[] |
9 | ||
aa039b0f DM |
10 | Storage pool type: `glusterfs` |
11 | ||
12 | GlusterFS is a salable network file system. The system uses a modular | |
13 | design, runs on commodity hardware, and can provide a highly available | |
14 | enterprise storage at low costs. Such system is capable of scaling to | |
15 | several petabytes, and can handle thousands of clients. | |
16 | ||
8c1189b6 | 17 | NOTE: After a node/brick crash, GlusterFS does a full `rsync` to make |
aa039b0f DM |
18 | sure data is consistent. This can take a very long time with large |
19 | files, so this backend is not suitable to store large VM images. | |
20 | ||
21 | Configuration | |
22 | ~~~~~~~~~~~~~ | |
23 | ||
24 | The backend supports all common storage properties, and adds the | |
25 | following GlusterFS specific options: | |
26 | ||
27 | `server`:: | |
28 | ||
29 | GlusterFS volfile server IP or DNS name. | |
30 | ||
31 | `server2`:: | |
32 | ||
33 | Backup volfile server IP or DNS name. | |
34 | ||
35 | `volume`:: | |
36 | ||
37 | GlusterFS Volume. | |
38 | ||
39 | `transport`:: | |
40 | ||
41 | GlusterFS transport: `tcp`, `unix` or `rdma` | |
42 | ||
43 | ||
8c1189b6 | 44 | .Configuration Example (`/etc/pve/storage.cfg`) |
aa039b0f DM |
45 | ---- |
46 | glusterfs: Gluster | |
47 | server 10.2.3.4 | |
48 | server2 10.2.3.5 | |
49 | volume glustervol | |
50 | content images,iso | |
51 | ---- | |
52 | ||
5eba0743 | 53 | |
aa039b0f DM |
54 | File naming conventions |
55 | ~~~~~~~~~~~~~~~~~~~~~~~ | |
56 | ||
5eba0743 | 57 | The directory layout and the file naming conventions are inherited |
aa039b0f DM |
58 | from the `dir` backend. |
59 | ||
5eba0743 | 60 | |
aa039b0f DM |
61 | Storage Features |
62 | ~~~~~~~~~~~~~~~~ | |
63 | ||
64 | The storage provides a file level interface, but no native | |
65 | snapshot/clone implementation. | |
66 | ||
67 | .Storage features for backend `glusterfs` | |
68 | [width="100%",cols="m,m,3*d",options="header"] | |
69 | |============================================================================== | |
70 | |Content types |Image formats |Shared |Snapshots |Clones | |
71 | |images vztempl iso backup |raw qcow2 vmdk |yes |qcow2 |qcow2 | |
72 | |============================================================================== | |
73 | ||
deb4673f DM |
74 | ifdef::wiki[] |
75 | ||
76 | See Also | |
77 | ~~~~~~~~ | |
78 | ||
f532afb7 | 79 | * link:/wiki/Storage[Storage] |
deb4673f DM |
80 | |
81 | endif::wiki[] | |
82 |