Up schema

This commit is contained in:
Evgeniy L 2015-12-25 19:24:10 +03:00
parent 1dbf91100e
commit 45aaee7a11
2 changed files with 44 additions and 5 deletions

View File

@ -12,3 +12,10 @@ disks:
type: hdd type: hdd
vendor: Samsung vendor: Samsung
size: 40 size: 40
- id: /dev/disk/by-id/id-for-sdc
path: /dev/disk/by-path/path-for-sdc
dev: /dev/sdc
type: sdd
vendor: Samsung
size: 40

View File

@ -8,20 +8,52 @@
- id: test - id: test
type: lv type: lv
min_size: 32 min_size: 0
max_size: 32 # max_size: 30
mount: /test mount: /test
fs_type: ext4 fs_type: ext4
weight: 1 weight: 0.2
- id: swap - id: swap
type: lv type: lv
min_size: 5 min_size: 0
max_size: 5 # max_size: 5
fs_type: swap fs_type: swap
weight: 0.5
- id: partition - id: partition
type: partition type: partition
min_size: 0 min_size: 0
fs_type: ext4 fs_type: ext4
mount: /var/www mount: /var/www
weight: 0.5
#############
# - id: root2
# type: lv
# min_size: 10
# mount: /
# fs_type: ext4
# weight: 1
# - id: test2
# type: lv
# min_size: 30
# mount: /test
# fs_type: ext4
# weight: 1
# - id: swap2
# # A single partition
# type: partition
# min_size: 5
# max_size: 5
# fs_type: swap
# - id: swap2
# # A set of partitions allocated
# # over several disks
# type: partitions
# min_size: 5
# max_size: 5
# fs_type: swap