Revision 9e946416
b/lib/masterd/instance.py | ||
---|---|---|
1621 | 1621 |
""" |
1622 | 1622 |
# Required free disk space as a function of disk and swap space |
1623 | 1623 |
req_size_dict = { |
1624 |
constants.DT_DISKLESS: None,
|
|
1624 |
constants.DT_DISKLESS: 0,
|
|
1625 | 1625 |
constants.DT_PLAIN: sum(d[constants.IDISK_SIZE] for d in disks), |
1626 | 1626 |
# 128 MB are added for drbd metadata for each disk |
1627 | 1627 |
constants.DT_DRBD8: |
Also available in: Unified diff