xen-drbd

changeset 12:6e2436e09983

lv sizes fix
author igor
date Tue Feb 12 14:27:15 2008 +0200 (2008-02-12)
parents f94023de662c
children 91f904355b71
files xen-drbd-install.py
line diff
     1.1 --- a/xen-drbd-install.py	Tue Feb 12 13:50:33 2008 +0200
     1.2 +++ b/xen-drbd-install.py	Tue Feb 12 14:27:15 2008 +0200
     1.3 @@ -58,7 +58,7 @@
     1.4                  drbd_device[disk]=dom
     1.5              else:
     1.6                  drbd_device[disk.split(':')[0]]=disk.split(':')[0]
     1.7 -                print "lvcreate -L %s -n %s /dev/%s" % (disk.split(':')[1], disk.split(':')[0], lvm_vg_name)
     1.8 +                print "lvcreate -L %s -n %s /dev/%s" % (disk.split(':')[2], disk.split(':')[1], lvm_vg_name)
     1.9                  #drbd_devices.append([disk.split(':')[0], "/dev/%s/%s" % (lvm_vg_name, disk.split(':')[0])])
    1.10      print ""
    1.11