X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/bdecfea26196996c4467dc28fc82a43a75de6dd8..1f350e0fb197d85be018ec575afc97911cde5bd2:/lib/bdev.py diff --git a/lib/bdev.py b/lib/bdev.py index 080880c..649d92e 100644 --- a/lib/bdev.py +++ b/lib/bdev.py @@ -1,7 +1,7 @@ # # -# Copyright (C) 2006, 2007, 2010, 2011, 2012 Google Inc. +# Copyright (C) 2006, 2007, 2010, 2011, 2012, 2013 Google Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -255,7 +255,7 @@ class BlockDev(object): an attached instance (lvcreate) - attaching of a python instance to an existing (real) device - The second point, the attachement to a device, is different + The second point, the attachment to a device, is different depending on whether the device is assembled or not. At init() time, we search for a device with the same unique_id as us. If found, good. It also means that the device is already assembled. If not, @@ -642,7 +642,7 @@ class LogicalVolume(BlockDev): @staticmethod def _GetVolumeInfo(lvm_cmd, fields): - """Returns LVM Volumen infos using lvm_cmd + """Returns LVM Volume infos using lvm_cmd @param lvm_cmd: Should be one of "pvs", "vgs" or "lvs" @param fields: Fields to return