| Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
Block device abstraction
    
  | 
|||
| 
        BlockDev Block device abstract class.  | 
  |||
| 
        LogicalVolume Logical Volume block device.  | 
  |||
| 
        DRBD8Status A DRBD status representation class.  | 
  |||
| 
        BaseDRBD Base DRBD class.  | 
  |||
| 
        DRBD8 DRBD v8.x block device.  | 
  |||
| 
        FileStorage File device.  | 
  |||
    
  | 
|||
| boolean | 
      
  | 
  ||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
    
  | 
|||
        _DEVICE_READ_SIZE = 128* 1024
     | 
  |||
        DEV_MAP = {constants.LD_LV: LogicalVolume, constants.LD_DRBD8:
     | 
  |||
Imports: re, time, errno, pyp, os, logging, utils, errors, constants, objects, compat, netutils
    
  | 
|||
  
 Executes the given function, ignoring BlockDeviceErrors. This is used in order to simplify the execution of cleanup or rollback functions. 
  | 
  
 Log an error to the node daemon and the raise an exception. 
  | 
  
 Check if we can read from the given device. This tries to read the first 128k of the device.  | 
  
 Search for an existing, assembled device. This will succeed only if the device exists and is assembled, but it does not do any actions in order to activate the device.  | 
  
 Try to attach or assemble an existing device. This will attach to assemble the device, as needed, to bring it fully up. It must be safe to run on already-assembled devices.  | 
    
  | 
|||
  DEV_MAP
  | 
| Trees | Indices | Help | 
        
  | 
  
|---|
| Generated by Epydoc 3.0.1 on Mon Dec 20 13:26:35 2010 | http://epydoc.sourceforge.net |