KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/22697/root/usr/share/system-config-lvm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/share/system-config-lvm/LogicalVolume.pyo
mō
ßKRc@sMdkZdkZdkTdklZdklZdefd„ƒYZdS(N(t*(sVolume(sMIRROR_SEGMENT_IDt
LogicalVolumecBsĪtZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
d
„Zd„Zdd„Zd„Zd„ZRS(NcCsmti||||||ƒg|_d|_
d|_g|_|i
ƒt|_t|_|idƒdS(Ni(tVolumet__init__tselftnametpathtusedtattrstuuidtsegmentstNonetsnapshot_origintsnapshot_usaget	snapshotstset_mirror_logtFalset
is_mirror_logtis_mirror_imagetset_stripes_num(RRRRRR	((t-/usr/share/system-config-lvm/LogicalVolume.pyRs				
		cCs|ii|ƒ|iƒdS(N(RR
tappendtsegmentt_LogicalVolume__sort_segments(RR((Rtadd_segmentscCs|iS(N(RR
(R((Rtget_segmentssc	Csž|i}xŽtt|ƒdddƒD]Ž}x…t|ddƒD]q}||diƒ\}}||iƒ\}}||jo.||d}||||d<|||<q?q?Wq&WdS(Niiiĸĸĸĸ(
RR
tsegstrangetlentitjtget_start_sizetstart1tsize1tstart2tsize2ttmp(	RR$R R!R#RRRR"((Rt__sort_segments!s	
cCs
|idjS(N(RRR(R((Rtis_snapshot-scCs||_t|ƒ|_dS(N(toriginRRtintt
usage_percentR
(RR'R)((Rtset_snapshot_info/s	cCs|i|ifS(N(RRR
(R((Rtget_snapshot_info2scCst|iƒdjS(Ni(RRR(R((Rt
has_snapshots4scCs|ii|ƒdS(N(RRRtsnapshot(RR-((Rtadd_snapshot6scCs|iS(N(RR(R((Rt
get_snapshots8scCs@t|iƒdjo&|idiƒtjotSq<ntS(Nii(RRR
tget_typetMIRROR_SEGMENT_IDtTrueR(R((Rtis_mirrored;scCs
||_dS(N(tnumRtstripes(RR4((RRAscCs
|idjS(Ni(RR5(R((Rt
is_stripedCscCs|iS(N(RR5(R((Rtstripes_numEscCs}||_|djoc|i|ijoPt|_|i|iƒƒx1|i	ƒD]}|iƒ}|i
tƒqRWndS(N(tlogRt
mirror_logRt	__class__R2Rtset_nametget_nameRtsegtget_extent_blocktextenttset_annotationt
MIRROR_LOG(RR8R=R?((RRHs	 	
cCs|iS(N(RR9(R((Rtget_mirror_logPscCs|d|iƒdt|iƒƒdt|iƒdƒGH|iƒo+|iƒ}|d|diƒdGHn|i	ƒoR|i
ƒ}|diƒ}x"|D]}|d|iƒ}q§W|d|GHn|d	GHx"|iD]}|i|d
ƒqéWdS(NsLV: t issnapshot origin(it)s, ssnapshots: s	segments:s  (tpaddingRR<tstrtget_pathtget_extent_total_used_freeR&R+tinfoR,R/tsnapst	snaps_strtsnapR
R=t	print_out(RRERIR=RJRKRL((RRMSs?

	
(t__name__t
__module__RRRRR&R*R+R,R.R/R3RR6R7RRRBRM(((RR
s"															(toststringtlvmui_constantsRtSegmentR1R(RR1RRPRQ((Rt?s
		



Anon7 - 2021