| Branch: | Tag: | Revision:

root / lib @ 67d101d4

Name Size
  rapi 791 Bytes 81.8 kB 58 kB 18.1 kB 30.9 kB 252 kB 40.5 kB 14.1 kB 8.1 kB 6.1 kB 37.9 kB 3.8 kB 29.7 kB 10.4 kB 13.1 kB 24.5 kB 16 kB 33.4 kB 1.7 kB 7.9 kB 7.2 kB 56.2 kB 9 kB

Latest revisions

# Date Author Comment
67d101d4 08/21/2009 12:35 pm Iustin Pop

Fix /proc/drbd parsing in presence of gaps

In case there are gaps in /proc/drbd related to the minors sequence,
this can lead to empty lines (see the attached data file). In this case,
we currently fail to parse the file correctly.

The patch fixes this by skipping empty lines in...

b775c337 08/19/2009 12:47 pm Iustin Pop

repair-size: ensure child disks have sane sizes

While this patch doesn't do a full match of on-disk size to config-size
for child devices, it does a sanity check (for DRBD only) that the child
size is not less than the DRBD size. While this would be a strange...

610e39da 08/11/2009 12:19 pm Iustin Pop

Fix yet another bug in LURepairDiskSizes

This is a result of broken copy-paste, and because needed_locks is not a
dict right here it will error out.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

4d9e6835 08/10/2009 03:00 pm Iustin Pop

Fix a bug in LURepairDiskSizes

The same old story: disks need SetDiskID before being sent to remote

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

084f05a5 08/05/2009 02:19 pm Iustin Pop

export: add meaningful exit code

Currently ‘gnt-backup export’ always returns exit code zero, even in the
face of complete failure during backup (only failure to stop/start the
instance will cause job failure and thus non-zero exit code). This is
bad, since one cannot script the backup....

a48b08bf 08/05/2009 02:19 pm Iustin Pop

Fix detecting of errors in export

This should fix issue 61, by explicitely calling bash (which is is now a
non-explicit dependency) and setting the pipefail command.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

60975797 08/04/2009 05:36 pm Iustin Pop

Implement gnt-cluster check-disk-sizes

This patch adds a new opcode and lu for checking disk sizes. Currently
it does only top-level disk verification, and also doesn't check
primary/secondary node size mismatches (these two are added as TODOs in
the Exec() function of the LU)....

968a7623 08/04/2009 05:35 pm Iustin Pop

rpc: add rpc call for getting disk size

Note that this exports the disk size as bdev returns it, in bytes. The
value will be converted to MiB in cmdlib.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

fcff3897 08/04/2009 05:35 pm Iustin Pop

bdev: Add function for reading actual disk size

This patch adds a GetActualSize for block devices that returns the
actual disk size. It is done using blockdev (and stat for file storage).

While this could be done via reading /sys/block/N/size, that is not as...

b4ec07f8 08/04/2009 05:35 pm Iustin Pop

Implement --ignore-size in activate-disks

This patch modified OpActivateDisks, LUActivateDisks and gnt-instance
activate-disks to support and pass this option to

The patch is quite trivial I think; there should be no issues from it...

View revisions

Also available in: Atom