YaST2 Developers Documentation: Auto-Installation

Auto-Installation

modules/AutoinstLVM.ycp
LVM

This module has an unstable interface.

Imports

  • AutoinstStorage
  • FileSystems
  • Label
  • Partitions
  • Report
  • Storage

Includes

  • partitioning/lvm_lib.ycp
  • partitioning/lvm_lv_lib.ycp
  • partitioning/lvm_pv_lib.ycp
  • partitioning/partition_defines.ycp

Global Functions

Local Functions

global AutoinstLVM () -> void

Constructer

global Init () -> boolean

Initialize

local remove_possible_volumes (string vgname) -> boolean

Delete possible partitions

Parameters:
vgname
Info:

Keep logical volume

Parameters:
string logical volume
global get_existing_pvs (string vgname) -> list<map>

Return only those PVs on disks touched by the control file, dont add PVs of unconfigured disks.

Parameters:
vgname
Return value:
existing PVs
Info:

Return list of deleted PVS

Parameters:
string volume group name
Return value:
list of deleted PVs
global Write () -> boolean

Write LVM Configuration

Return value:
true on success