Statistics
| Branch: | Tag: | Revision:

root / tools @ e1ab08db

Name Size
burnin 38.4 kB
cfgshell 9.1 kB
cfgupgrade 8 kB
cfgupgrade12 12.1 kB
check-cert-expired 2 kB
cluster-merge 16.6 kB
ganeti-listrunner 16.9 kB
kvm-ifup.in 1.9 kB
lvmstrap 27 kB
move-instance 30.3 kB
sanitize-config 8.4 kB
setup-ssh 14.3 kB

Latest revisions

# Date Author Comment
e1ab08db 01/27/2011 05:38 pm Stephen Shirley

Open other clusters' config in foreign mode

Signed-off-by: Stephen Shirley <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

caedacde 01/27/2011 05:36 pm Stephen Shirley

Add (unused) arg to _OfflineClusterMerge

cli._RunWhileClusterStoppedHelper.Call passes (self, *args) to functions
called via cli.RunWhileClusterStoppedHelper(). The code in cluster-merge
was broken by commit d8aab233.

Signed-off-by: Stephen Shirley <>...

996f742d 01/26/2011 12:38 pm Iustin Pop

lvmstrap: fix logic bug for partition reread

The if structure in CheckReread is broken, and makes partitions reread
be full of race issues (esp. after updating them).

Also fix a small message bug.

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

1ca54b6e 01/20/2011 02:05 pm Iustin Pop

lvmstrap: fix very old contact information

A memory from the past: this was left over from before the 1.2 release
or so…

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

6714256c 01/20/2011 02:05 pm Iustin Pop

lvmstrap: add more excluded FS types

Also moves the list of excluded types to the top level and make it a
frozenset.

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

5e861051 01/20/2011 02:05 pm Iustin Pop

lvmstrap: add an explicit test for mounted devices

Recent kernels/userland report a mounted filesystem as follows:

root@node4:~# fuser -avm /dev/sda5
USER PID ACCESS COMMAND
/dev/sda5: root kernel mount /srv/ganeti...
705ee6df 01/20/2011 02:05 pm Iustin Pop

lvmstrap: add explicit test for swap backends

Similar to mounted filesystems, recent kernel/userland report swap
backends:

root@node4:~# fuser -avm /dev/sda6
USER PID ACCESS COMMAND
/dev/sda6: root kernel swap /dev/sda6...
add478b5 01/20/2011 02:05 pm Iustin Pop

lvmstrap: ignore small-sized partitions

This patch changes lvmstrap to ignore “small” partitions. Currently
extended partitions are reported as unused as with a size of 1024
(bytes), and this confuses lvmstrap. Since a very small partition
won't help anyway (below hundred of PE size is not helpful), let's...

7706fdd4 01/20/2011 02:05 pm Iustin Pop

lvmstrap: abstract a little the sysfs paths

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

0ae0663d 01/20/2011 02:05 pm Iustin Pop

lvmstrap: add PV-on-partition support

This is a not-so-nice change, adding support for partitions to be used
as PVs.

The not-nice part is that partitions live in a separate place in
sysfs, whereas in dev they live at the same level as disks. We
workaround this via a new SysfsName function that computes the correct...

View revisions

Also available in: Atom