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