dissect.vmfs.lvm#

Module Contents#

Classes#

LVM

VMFS LVM implementation.

Extent

VMFS LVM physical extent implementation.

Attributes#

dissect.vmfs.lvm.VMFS_LVM_PE_SIZE#
dissect.vmfs.lvm.VMFS_LVM_BASES = [1048576, 1114112, 2097152, 1572864, 9437184]#
class dissect.vmfs.lvm.LVM(fh)#

Bases: dissect.util.stream.AlignedStream

VMFS LVM implementation.

Takes a list of file-like objects (or Extents) to construct a volume.

VMFS should start at LVM dataOffset + 0x200000

class dissect.vmfs.lvm.Extent(fh)#

Bases: dissect.util.stream.AlignedStream

VMFS LVM physical extent implementation.

PE bitmap is at VMFS_LVM_PE_BITMAP_BASE + version dependent offset.

It appears that the LVM can start at the following offsets, however that still needs to be verified: - 0x100000 - 0x110000 - 0x200000 - 0x180000 - 0x900000