Loading ccnode/drbd.py +2 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ class DRBD(object): DRBDMETA = os.path.join(BIN_PATH, 'drbdmeta') DRBDSETUP = os.path.join(BIN_PATH, 'drbdsetup') MODPROBE = os.path.join(BIN_PATH, 'modprobe') RMMOD = os.path.join(BIN_PATH, 'rmmod') # connection states CSTATES = Enum( STANDALONE = "StandAlone", Loading Loading @@ -107,6 +108,7 @@ class DRBD(object): self._meta = None self._dm_table = None # load kernel driver, do not check for error Exec.silent([self.RMMOD, 'drbd']) Exec.silent([self.MODPROBE, 'drbd', 'minor_count=100', 'usermode_helper=/bin/true']) # check that binaries are available Loading Loading
ccnode/drbd.py +2 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,7 @@ class DRBD(object): DRBDMETA = os.path.join(BIN_PATH, 'drbdmeta') DRBDSETUP = os.path.join(BIN_PATH, 'drbdsetup') MODPROBE = os.path.join(BIN_PATH, 'modprobe') RMMOD = os.path.join(BIN_PATH, 'rmmod') # connection states CSTATES = Enum( STANDALONE = "StandAlone", Loading Loading @@ -107,6 +108,7 @@ class DRBD(object): self._meta = None self._dm_table = None # load kernel driver, do not check for error Exec.silent([self.RMMOD, 'drbd']) Exec.silent([self.MODPROBE, 'drbd', 'minor_count=100', 'usermode_helper=/bin/true']) # check that binaries are available Loading