]>
Commit | Line | Data |
---|---|---|
b6cf0a66 DM |
1 | STORAGE Design: |
2 | =============== | |
3 | ||
4 | pool: ability to create more than one volume | |
5 | ||
6 | - directory (NFS server, local dir) | |
7 | ||
8 | - LVM group | |
9 | ||
10 | - physical disk (partitions) ?? | |
11 | ||
12 | - ISCSI volume pools ?? | |
13 | ||
14 | - qemu base image ?? | |
15 | ||
16 | a pool can support several formats (raw, qcow2, vmdk, ...) | |
17 | ||
18 | volume: can be used for VM storage | |
19 | ||
20 | - block device | |
21 | ||
22 | - file (raw, qcow2, ...) | |
23 | ||
24 | - ISCSI LUN | |
25 | ||
26 | A pool is either shared of local. The resulting volume | |
27 | inherits that property. | |
28 | ||
29 | ||
30 | lvs --separator , --noheadings --units b --unbuffered --nosuffix --options "lv_name,uuid,devices,seg_size,vg_extent_size" | |
31 | ||
32 | pvs --noheadings -o pv_name,vg_name | |
33 | ||
34 | vgs --separator : --noheadings --units b --unbuffered --nosuffix --options "vg_size,vg_free" VGNAME | |
35 | ||
36 | ||
37 | What about ISO/template storage? | |
38 | ||
39 | Storage Configuration: | |
40 | ====================== | |
41 | ||
42 | /etc/pve/storage.shared | |
43 | /etc/pve/storage.local | |
44 | ||
45 | oder | |
46 | ||
47 | /etc/pve/storage.config | |
48 | ||
49 | mit node attribute for jeden pool. | |
50 | ||
51 | jedes volume kann einen owner haben (VMID)?? | |
52 | ||
53 | ||
54 | Aus einem pool werden volumes generiert. Jedes volume is einer VMID zugeordnet, entweder | |
55 |