Operating System - HP-UX
1837524 Members
3919 Online
110117 Solutions
New Discussion

Re: LVSLPLIT Vs. LVREDUCE

 
Enrico Venturi
Super Advisor

LVSLPLIT Vs. LVREDUCE

what's the difference between lvsplit and lvreduce? I mean: what's the reasons to use one command rather than the other one?

Thanks

Enrico
4 REPLIES 4
Thierry Poels_1
Honored Contributor

Re: LVSLPLIT Vs. LVREDUCE

Hi,

lvreduce is used to remove a mirror.

lvsplit is used to split a mirror. Afterwards you can have both copies mounted simultaneously. Mostly used for backup purposes (consistent backup of the data while users can keep on working on the primary copy). Mirrors can be merged afterwards.

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
harry d brown jr
Honored Contributor
Deshpande Prashant
Honored Contributor

Re: LVSLPLIT Vs. LVREDUCE

HI

LVSPLIT :- splits the mirrored volume in to two logical volumes. Use this if you want to use two copies of same data mounted seperately.
Typically I have used in backup situations. Split mirror copy mount it backup mirror copy, leaving main copy online. After backup join mirror back.

LVREDUCE :- decreases space allocation or the number of mirror copies of logical volume.

HTH
Prashant.

Take it as it comes.
Helen French
Honored Contributor

Re: LVSLPLIT Vs. LVREDUCE