YaST2 Developers Documentation: Auto-Installation



functions
files
intro

Auto-Installation

modules/AutoinstLVM.ycp
LVM

Imports

  • AutoinstStorage
  • FileSystems
  • Partitions
  • Report
  • Storage

Includes

  • partitioning/lvm_lib.ycp
  • partitioning/lvm_lv_lib.ycp
  • partitioning/lvm_pv_lib.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:

Resize logical volume

Parameters:
map logical volume
string volume group name

global KeepLV (string vgname, map lv, map<string,map> targetMap) -> map

Keep logical volume

Parameters:
vgname
lv
targetMap

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

global get_deleted_pvs (string vgname) -> list<map>

Return list of deleted PVS

Parameters:
vgname
Return value:
list of deleted PVs

global Write () -> boolean

Write LVM Configuration

Return value:
true on success

YaST2 Developers Documentation