Revision 3bc145d8
b/lib/bdev.py | ||
---|---|---|
1058 | 1058 |
def _CheckMetaSize(meta_device): |
1059 | 1059 |
"""Check if the given meta device looks like a valid one. |
1060 | 1060 |
|
1061 |
This currently only check the size, which must be around |
|
1061 |
This currently only checks the size, which must be around
|
|
1062 | 1062 |
128MiB. |
1063 | 1063 |
|
1064 | 1064 |
""" |
... | ... | |
1197 | 1197 |
def _GetShowParser(cls): |
1198 | 1198 |
"""Return a parser for `drbd show` output. |
1199 | 1199 |
|
1200 |
This will either create or return an already-create parser for the |
|
1200 |
This will either create or return an already-created parser for the
|
|
1201 | 1201 |
output of the command `drbd show`. |
1202 | 1202 |
|
1203 | 1203 |
""" |
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
936 | 936 |
try: |
937 | 937 |
info = self.GetInstanceInfo(name) |
938 | 938 |
except errors.HypervisorError: |
939 |
# Ignore exceptions due to instances being shut down |
|
939 | 940 |
continue |
940 | 941 |
if info: |
941 | 942 |
data.append(info) |
b/man/gnt-cluster.rst | ||
---|---|---|
654 | 654 |
|
655 | 655 |
The ``info`` option shows whether the watcher is currently paused. |
656 | 656 |
|
657 |
redist-conf
|
|
657 |
REDIST-CONF
|
|
658 | 658 |
~~~~~~~~~~~ |
659 | 659 |
|
660 | 660 |
**redist-conf** [\--submit] |
b/man/gnt-instance.rst | ||
---|---|---|
1250 | 1250 |
[\--disks *idx*] {*instance*} |
1251 | 1251 |
|
1252 | 1252 |
**replace-disks** [\--submit] [\--early-release] [\--ignore-ipolicy] |
1253 |
{\--iallocator *name* \| \--node *node* } {*instance*}
|
|
1253 |
{{-I\|\--iallocator} *name* \| \--node *node* } {*instance*}
|
|
1254 | 1254 |
|
1255 | 1255 |
**replace-disks** [\--submit] [\--early-release] [\--ignore-ipolicy] |
1256 | 1256 |
{\--auto} {*instance*} |
b/qa/qa_instance.py | ||
---|---|---|
513 | 513 |
AssertCommand(" && ".join(cmds), node=[node2, node][int(onmaster)]) |
514 | 514 |
|
515 | 515 |
print qa_utils.FormatInfo("Write to disks and give some time to notice" |
516 |
" to notice the problem")
|
|
516 |
" the problem") |
|
517 | 517 |
cmds = [] |
518 | 518 |
for disk in devpath: |
519 | 519 |
cmds.append(sq(["dd", "count=1", "bs=512", "conv=notrunc", |
Also available in: Unified diff