]>
Commit | Line | Data |
---|---|---|
1 | [[storage_glusterfs]] | |
2 | GlusterFS Backend | |
3 | ----------------- | |
4 | ifdef::wiki[] | |
5 | :pve-toplevel: | |
6 | :title: Storage: GlusterFS | |
7 | endif::wiki[] | |
8 | ||
9 | Storage pool type: `glusterfs` | |
10 | ||
11 | GlusterFS is a scalable network file system. The system uses a modular | |
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 | ||
16 | NOTE: After a node/brick crash, GlusterFS does a full `rsync` to make | |
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 | ||
43 | .Configuration Example (`/etc/pve/storage.cfg`) | |
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 | ||
52 | ||
53 | File naming conventions | |
54 | ~~~~~~~~~~~~~~~~~~~~~~~ | |
55 | ||
56 | The directory layout and the file naming conventions are inherited | |
57 | from the `dir` backend. | |
58 | ||
59 | ||
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 | |============================================================================== | |
69 | |Content types |Image formats |Shared |Snapshots |Clones | |
70 | |images vztmpl iso backup snippets |raw qcow2 vmdk |yes |qcow2 |qcow2 | |
71 | |============================================================================== | |
72 | ||
73 | ifdef::wiki[] | |
74 | ||
75 | See Also | |
76 | ~~~~~~~~ | |
77 | ||
78 | * link:/wiki/Storage[Storage] | |
79 | ||
80 | endif::wiki[] | |
81 |