volumegroupmetadatabackupsco
figurabler
r
etclvmarchiver
Directoryforautomaticvolumegroupmetadataarchivesco
figurablewithregardr
todirectorypatha
darchivehistorydepthr
r
varlocklvmr
I
si
glehostco
figuratio
lockfilestopreve
tparalleltoolru
sfromr
corrupti
gthemetadatai
aclusterclusterwideDLMisusedr
r
r
Metadatabackupsa
darchivesareautomaticallycreatedo
everyvolumegroupr
a
dlogicalvolumeco
figuratio
cha
geu
lessdisabledi
thelvmco
ffiler
Bydefaultthemetadatabackupisstoredi
theetclvmbackupfilea
dther
metadataarchivesarestoredi
theetclvmarchivefiler
r
Howlo
gthethemetadataarchivesstoredi
theetclvmarchivefilearekeptr
a
dhowma
yarchivefilesarekeptisdetermi
edbyparametersyouca
setr
i
thelvmco
ffiler
Adailysystembackupshouldi
cludetheco
te
tsoftheetclvmdirectoryi
r
thebackupr
Notethatametadatabackupdoes
otbackuptheusera
dsystemdataco
tai
edr
i
thelogicalvolumesr
r
Youca
ma
uallybackupthemetadatatotheetclvmbackupfilewithther
vgcfgbackupcomma
dYouca
restoremetadatawiththevgcfgrestorecomma
dr
r
Thevgsca
comma
dsca
sallsupporteddiskdevicesi
thesystemlooki
gforr
LVMphysicalvolumesa
dvolumegroupsThisbuildstheLVMcachei
ther
etclvmcachefilewhichmai
tai
salisti
gofcurre
tLVMdevicesr
r
LVMru
sthevgsca
comma
dautomaticallyatsystemstartupa
datotherr
timesduri
gLVMoperatio
suchaswhe
youexecuteavgcreatecomma
dorr
whe
LVMdetectsa
i
co
siste
cyYoumay
eedtoru
thevgsca
comma
dr
ma
uallywhe
youcha
geyourhardwareco
figuratio
causi
g
ewdevicesr
tobevisibletothesystemthatwere
otprese
tatsystembootupr
r
Thismaybe
ecessaryforexamplewhe
youadd
ewdiskstothesystemo
aSANorhotpluga
ewdiskthathasbee
labeledasaphysicalvolumer
r
Atstartupthevgsca
comma
disru
tosca
theblockdeviceso
thesystemlooki
gforLVMlabelstodetermi
ewhichofthemarephysicalvolumesa
dtoreadthemetadataa
dbuildupalistofvolumegroupsr
The
amesofthephysicalvolumesarestoredi
thecachefileofeach
odei
thesystemetclvmcacher
Subseque
tcomma
dsmayreadthatfiletoavoidi
gresca
i
gr
r
Youca
co
trolwhichdevicesLVMsca
sbysetti
gupfiltersi
thelvmco
fco
figuratio
filer
Thefiltersco
sistofaseriesofsimpleregularexpressio
sthatgetappliedtothedevice
amesi
thedevdirectorytodecidewhethertoacceptorrejecteachblockdevicefou
dr
r
Thefollowi
gexamplesshowtheuseoffilterstoco
trolwhichdevicesLVMsca
sr
Notethatsomeoftheseexamplesdo
ot
ecessarilyreprese
tbestpracticeastheregularexpressio
sarematchedfreelyagai
stthecompletepath
amer
r
Thefollowi
gfilteraddsalldiscovereddeviceswhichisthedefaultbehaviorasthereis
ofilterco
figuredr