MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /usr/share/system-config-lvm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/system-config-lvm/Filesystem.pyc
mò
˜Dc@sÁdkZdkZdklZlZlZlZlZlZdk	Tdk
Z
dkZ
dklZdk
Z
dkZ
dklZlZedƒZedƒZedƒZedƒZed	ƒZed
ƒZedƒZedƒZd
„Zd„Zdfd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZ defd„ƒYZ!defd„ƒYZ"defd„ƒYZ#defd„ƒYZ$defd „ƒYZ%dS(!N(sexecWithCapturesexecWithCaptureErrorStatussexecWithCaptureStatussexecWithCaptureProgresss"execWithCaptureErrorStatusProgresssexecWithCaptureStatusProgress(t*(sminidom(sPROGNAMEs
INSTALLDIRsCreating %s filesystemsResizing %s filesystemsChecking %s filesystemsUpgrading %s filesystem to %ssQCreation of filesystem failed. Command attempted: "%s" - System Error Message: %ssOResize of filesystem failed. Command attempted: "%s" - System Error Message: %ssNCheck of filesystem failed. Command attempted: "%s" - System Error Message: %ssPUpgrade of filesystem failed. Command attempted: "%s" - System Error Message: %scCsŠx)tƒD]}|i|ƒo|Sq
q
Wtdddd|gƒ}tid|tiƒot	dƒSntid|tiƒot	dƒSnòtid|tiƒot	d	ƒSnËtid
|tiƒot	d
ƒSn¤tid|tiƒot	dƒSn}tid|tiƒot	dƒSnVtid
|tiƒot	d
ƒSn/tid|tiƒot	dƒSnt
ƒSdS(Ns
/usr/bin/files-ss-LsFAT \(12 bit\)tvfat12sFAT \(16 bit\)tvfat16sFAT \(32 bit\)tvfat32tminixtxfstjfstraiserfstswap(tget_filesystemstfstprobetpathtexecWithCapturetresulttretsearchtItUnknowntNoFS(RR
R((t*/usr/share/system-config-lvm/Filesystem.pytget_fss,
cCs.tƒtƒtƒtƒtƒtƒtƒgS(N(Rtext3text2tgfs2tgfs2_clusteredtgfst
gfs_clustered(((RR	6st
FilesystemcBs†tZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
d
„Zd„ZRS(Nc

Csl||_|	|_||_||_||_|o||_||_|o||_||_	t
|_dS(N(tnametselftfsnamet	creatableteditablet	mountabletextendable_onlinetextendable_offlinetreducible_onlinetreducible_offlinetFalset
upgradable(
RRR R!R"R#R$R%R&R((Rt__init__<s							cCsdS(N((RR((RtcreateOscCsdS(N((Rtdev_path((Rt
extend_onlineRscCsdS(N((RR+((Rtextend_offlineUscCsdS(N((RR+tnew_size_bytes((Rt
reduce_onlineXscCsdS(N((RR+R.((Rtreduce_offline[scCsdS(N((Rtdevpath((Rtset_options^scCsdS(N((RR1((Rtchange_options`scCsdS(N(tNone(RR1((Rt	get_labelcscCstS(N(R'(RR((RRfscCsdS(N((Rt	clustered((Rt
set_clusterediscCsˆt}tdddgƒ}ti||tiƒo
t}n|tjo9t	ddd|gƒ\}}|djo
t}q„n|S(Ns/bin/cats/proc/filesystemss/sbin/modprobes-ni(R'R"R
toutRRRRtTruetexecWithCaptureStatustmoduletstatus(RRR;R<R"R8((Rtcheck_mountablems


cCs&ti|tiƒotSntSdS(N(tostaccessRtF_OKR9R'(RR((Rt
check_pathxscCs3x,|D]$}|i|ƒtjotSqqWtS(N(tpathsRRRAR'R9(RRBR((Rtcheck_paths}s
(t__name__t
__module__R)R*R,R-R/R0R2R3R5RR7R=RARC(((RR;s													RcBstZd„ZRS(NcCs2ti|tdƒtttttttdƒ
dS(NR4tnone(RR)Rt_R9R'(R((RR)…s(RDRER)(((RR„sRcBstZedƒed„ZRS(NsUnknown filesystemcCs,ti||tt|ttttdƒ
dS(Ntunknown(RR)RRR'R"(RRR"((RR)Œs(RDRERGR'R)(((RR‹sRcBsPtZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(	NcCsq|idƒ}|iddƒ}|iddgƒ}|idƒ}ti	|d|t
|||t|dƒ
dS(Ns/sbin/mkfs.ext3Rs/sbin/e2fscks/sbin/resize2fss/usr/sbin/ext2onlinetExt3(RRAR R=R"RCtresize_offlineR,RR)R9R'(RR"R,RJR ((RR)“scCs@tdddd|gƒ}tid|tiƒotSndS(Ns
/usr/bin/files-ss-LR(R
RRRRRR9(RRR((RRžscCs¢tƒ}|idƒ|idƒ|idƒ|i|ƒdi|ƒ}t|i}t
d||ƒ\}}}|djotdt||fƒ‚ndS(Ns
/sbin/mkfss-tRt itFATAL(tlisttargstappendRtjointcmdstrtCREATING_FSRRtmsgt"execWithCaptureErrorStatusProgresstotetrtCommandErrortFSCREATE_FAILURE(RRRQRVRNRURWRS((RR*£s	





cCsˆtƒ}|idƒ|i|ƒdi|ƒ}t|i}t
d||ƒ\}}}|djotdt||fƒ‚ndS(Ns/usr/sbin/ext2onlineRKiRL(RMRNROR+RPRQtRESIZING_FSRRRSRTRURVRWRXtFSRESIZE_FAILURE(RR+RQRVRNRURWRS((RR,¯s	



cCs
d‚dS(Ns
NOT supported((RR+R.((RR/¹scCs3tƒ}|idƒ|idƒ|idƒ|i|ƒdi|ƒ}t|i}t
d||ƒ\}}}|djp
|djptdt||fƒ‚ntƒ}|idƒ|i|ƒdi|ƒ}t|i}t
d||ƒ\}}}|djotdt||fƒ‚ndS(	Ns/sbin/e2fscks-fs-pRKiiRLs/sbin/resize2fs(RMRNROR+RPRQtCHECKING_FSRRRSRTRURVRWRXtFSCHECK_FAILURERZR[(RR+RQRVRNRURWRS((RR-½s$	




	



c
CsTtƒ}|idƒ|idƒ|idƒ|i|ƒdi|ƒ}t|i}	t
d||	ƒ\}}}|djp
|djptdt||fƒ‚n|d}tƒ}|id	ƒ|i|ƒ|it|ƒd
ƒdi|ƒ}t|i}	t
d	||	ƒ\}}}|djotdt||fƒ‚ndS(Ns/sbin/e2fscks-fs-pRKiiRLis/sbin/resize2fstK(RMRNROR+RPRQR\RRRSRTRURVRWRXR]R.tnew_size_kbtstrRZR[(
RR+R.RQRVRNRUR_RWRS((RR0Ós(	





	



c	CsÌdg}|idƒ|i|ƒtd|ƒ\}}|djoƒ|iƒ}xt|D]h}t	i
d|t	iƒoI|iƒ}|t|ƒd}t	id|t	iƒodSqÀ|SqXqXWndS(Ns
/sbin/tune2fss-lisvolume nameis<none>(RNROR1R:RURWt
splitlinestlinestlineRRRtsplittwordstlentlabeltmatchR4(	RR1RbRNRURgRWReRc((RR5ës	


(
RDRER)RR*R,R/R-R0R5(((RR’s				
			RcBsYtZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
RS(
NcCsk|idƒ}|iddƒ}|iddgƒ}ti|d|t	|t
|t
|dƒ
t	|_dS(Ns/sbin/mkfs.ext2Rs/sbin/e2fscks/sbin/resize2fstExt2(RRAR R=R"RCRJRR)R9R'R((RR"RJR ((RR)þscCs@tdddd|gƒ}tid|tiƒotSndS(Ns
/usr/bin/files-ss-LR(R
RRRRRR9(RRR((RR	scCs¢tƒ}|idƒ|idƒ|idƒ|i|ƒdi|ƒ}t|i}t
d||ƒ\}}}|djotdt||fƒ‚ndS(Ns
/sbin/mkfss-tRRKiRL(RMRNRORRPRQRRRRRSRTRURVRWRXRY(RRRQRVRNRURWRS((RR*s	





cCs
d‚dS(Ns
NOT supported((RR+((RR,scCs
d‚dS(Ns
NOT supported((RR+R.((RR/scCs3tƒ}|idƒ|idƒ|idƒ|i|ƒdi|ƒ}t|i}t
d||ƒ\}}}|djp
|djptdt||fƒ‚ntƒ}|idƒ|i|ƒdi|ƒ}t|i}t
d||ƒ\}}}|djotdt||fƒ‚ndS(	Ns/sbin/e2fscks-fs-pRKiiRLs/sbin/resize2fs(RMRNROR+RPRQR\RRRSRTRURVRWRXR]RZR[(RR+RQRVRNRURWRS((RR-"s$	




	



c
CsTtƒ}|idƒ|idƒ|idƒ|i|ƒdi|ƒ}t|i}	t
d||	ƒ\}}}|djp
|djptdt||fƒ‚n|d}tƒ}|id	ƒ|i|ƒ|it|ƒd
ƒdi|ƒ}t|i}	t
d	||	ƒ\}}}|djotdt||fƒ‚ndS(Ns/sbin/e2fscks-fs-pRKiiRLis/sbin/resize2fsR^(RMRNROR+RPRQR\RRRSRTRURVRWRXR]R.R_R`RZR[(
RR+R.RQRVRNRUR_RWRS((RR08s(	





	



cCs”dg}|idƒ|i|ƒdi|ƒ}t|itƒif}t
d||ƒ\}}}|djotdt||fƒ‚ndS(Ns
/sbin/tune2fss-jRKiRL(RNROR+RPRQtUPGRADING_FSRRRRSRTRURVRWRXtFSUPGRADE_FAILURE(RR+RQRNRURWRSRV((RtupgradePs	


c	CsÌdg}|idƒ|i|ƒtd|ƒ\}}|djoƒ|iƒ}xt|D]h}t	i
d|t	iƒoI|iƒ}|t|ƒd}t	id|t	iƒodSqÀ|SqXqXWndS(Ns
/sbin/tune2fss-lisvolume nameis<none>(RNROR1R:RURWRaRbRcRRRRdReRfRgRhR4(	RR1RbRNRURgRWReRc((RR5Zs	


(RDRER)RR*R,R/R-R0RlR5(((RRýs								
RcBs>tZd„Zd„Zd„Zd„Zd„Zd„ZRS(NcCsb|idƒ}|iddƒ}|idƒ}ti|tdƒ|t	||t	t	t	dƒ
dS(Ns/sbin/gfs_mkfsRs/sbin/gfs_growsGFS (local)(
RRAR R=R"R#RR)RGR'(RR#R"R ((RR)nscCs(|i|ƒ}|djotSntS(Ntnolock(Rt_gfs__get_gfs_lock_typeRtl_typeR9R'(RRRo((RRxs
c	CsÂd}|g}|idƒ|idƒ|idƒ|idƒ|idƒ|i|ƒdi|ƒ}t|i}t
|||ƒ\}}}|djotd	t||fƒ‚ndS(
Ns/sbin/gfs_mkfss-jt1s-ptlock_nolocks-ORKiRL(tMKFS_GFS_BINRNRORRPRQRRRRRSRTRURVRWRXRY(	RRRQRVRNRURWRSRr((RR*~s	







cCs{dg}|i|ƒdi|ƒ}t|i}t	d||ƒ\}}}|djot
dt||fƒ‚ndS(Ns/sbin/gfs_growRKiRL(RNROR+RPRQRZRRRSRTRURVRWRXR[(RR+RQRVRNRURWRS((RR,s	


cCs|o
t|_ndS(N(R6R'RR (RR6((RR7–scCs¿|idƒo«dg}|idƒ|i|ƒ|idƒdi|ƒ}td|ƒ\}}}|djoCd|jodSq·d|jod	Sq·d
|jodSq·q»ndS(Ns/sbin/gfs_tooltsbtprotoRKitlock_dlmtdlmt	lock_gulmtgulmRqRm(RRARNRORRPRQtexecWithCaptureErrorStatusRURVRWR4(RRRQRVRNRURW((Rt__get_gfs_lock_typešs	






(RDRER)RR*R,R7Rn(((RRms	
					RcBs€tZd„Zd„Zd„Zd„Zdd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„ZRS(NcCs|idƒ}|iddƒ}|idƒ}d}tii	|ƒpdt
|f}ntii
tƒtii|dtƒ|_|iidƒ|_|iidƒ|_|iid	ƒ|_|iid
ƒ|_|iidƒ|_|iidƒ|_|iid
ƒ|_|iƒ}|iƒ}|iƒ}|djo†|ii |ƒ|ii!|ƒ|djo|ii"t#ƒn"|djo|ii"t#ƒn|ii$t%ƒ|ii$t%ƒn|o|i&|ƒ}nt'i(|t)dƒ|t%||t%t%t%dƒ
dS(Ns/sbin/gfs_mkfsRs/sbin/gfs_growsFilesystem.glades%s/%stdomaint
new_gfs_propstclusternametgfsnametjournalsRuRwtlocking_boxRvRxsGFS (clustered)(*RRAR R=R"R#t	gladepathR>Rtexistst
INSTALLDIRtgtktgladetbindtextdomaintPROGNAMEtXMLt	glade_xmlt
get_widgettdlgtclustername_entryt
gfsname_entryt
journals_spint
lock_dlm_butttlock_gulm_buttR€t _gfs_clustered__get_cluster_nameR}t%_gfs_clustered__get_cluster_nodes_numt	nodes_numt%_gfs_clustered__get_cluster_lock_typet	lock_typeR4tset_textt	set_valuet
set_activeR9t
set_sensitiveR't"_gfs_clustered__is_cluster_runningRR)RG(RR“RR}R#R"R•R ((RR)®sB


cCs |i|ƒ}|djp
|djos|ioa|iƒ}|iƒ}|i	|ƒ}|i|ƒd}||jo|o
||j|_nt
SntS(NRvRxi(Rt!_gfs_clustered__get_gfs_lock_typeRtgfs_lockR"R‘tc_nameR”tc_lockRšt	c_runningt"_gfs_clustered__get_gfs_table_nametgfs_clusternameR9R'(RRRŸRRžRœR¡((RRÙs
'cCs½|ip
d‚ny t}x“|p‹|iiƒ}|tijoht	}d}	d}|ii
ƒiƒ}|ii
ƒiƒ}x\|D]T}
|
|jotd|
ƒ}	t}n|
|jotd|
ƒ}	t}q‰q‰Wt|ƒdjotdƒ}	t}n*t|ƒdjotdƒ}	t}n|p|i|	ƒq®|iiƒ}|d	|}d
}|iiƒo|d7}q®|iiƒo|d7}q®q q WWn|iiƒ‚nX|iiƒd
}|g}|i!dƒ|i!t"|ƒƒ|i!dƒ|i!|ƒ|i!dƒ|i!|ƒ|i!dƒ|i!|ƒdi$|ƒ}
t&|i'}	t(|||	ƒ\}}}|djot,dt-|
|fƒ‚ndS(Ns
not creatablets;:'"/?.>,<]}[{ =+)(*&^%$#@!`~s(Cluster name contains illegal character s$GFS name contains illegal character isMissing Cluster NamesMissing GFS Namet:tlock_RvRxs/sbin/gfs_mkfss-js-ps-ts-ORKRL(.RR R'tvalidR‹truntrcR„tRESPONSE_OKR9RSt
illegal_charsRŒtget_texttstripRRtg_nametcRGRft_gfs_clustered__errorMessageRŽtget_value_as_inttj_numttabletlocking_typeRt
get_activeRthideRrRNROR`RRPRQRRRRTRURVRWRXRY(RRRR²R©R±RrR¥R§RSRQRNR°R­RURWR¬RV((RR*åsn








	








cCs{dg}|i|ƒdi|ƒ}t|i}t	d||ƒ\}}}|djot
dt||fƒ‚ndS(Ns/sbin/gfs_growRKiRL(RNROR+RPRQRZRRRSRTRURVRWRXR[(RR+RQRVRNRURWRS((RR,s	


cCsdS(N((RR6R((RR7(scCs¿|idƒo«dg}|idƒ|i|ƒ|idƒdi|ƒ}td|ƒ\}}}|djoCd|jodSq·d|jod	Sq·d
|jodSq·q»ndS(Ns/sbin/gfs_toolRsRtRKiRuRvRwRxRqRm(RRARNRORRPRQRyRURVRWR4(RRRQRVRNRURW((RRz,s	






cCsÃ|idƒo¯dg}|idƒ|i|ƒ|idƒdi|ƒ}td|ƒ\}}}|djoG|iƒiƒ}t|ƒdjo|didƒid	ƒSq»q¿nd
S(Ns/sbin/gfs_toolRsR±RKiiis"R£(NN(RRARNRORRPRQRyRURVRWR«RdReRfR4(RRRQRVRNRURWRe((Rt__get_gfs_table_name<s	



&cCs|iƒdS(Ni(Rt _gfs_clustered__get_cluster_info(R((Rt__get_cluster_nameKscCs|iƒdS(Ni(RR¶(R((Rt__get_cluster_lock_typeMscCs|iƒdS(Ni(RR¶(R((Rt__get_cluster_nodes_numOscCs:y,titdƒidƒƒi}|idƒ}d}d}xË|iD]À}|i
tiiijo¡|idjo
d}q	|idjo
d}q	|idjoY|}xP|iD]A}|i
tiiijo"|id	jo|d
7}qýq¼q¼Wq	qIqIW|djo|||fSnWnnXdS(Ns/etc/cluster/cluster.confi€–˜RitcmanRvRxtclusternodestclusternodei(NNN(tminidomtparseStringtfiletreadt
firstChildtc_conftgetAttributeRR4tlockR“t
childNodestnodetnodeTypetxmltdomtNodetELEMENT_NODEtnodeNametnodes(RRÆR“RRÄRÍRÂ((Rt__get_cluster_infoQs0!



"
cCsz|djotSnyWddg}td|ƒ\}}}|djo"|idƒdjot	SqknWnnXtS(Ns/sbin/magma_tooltquorumitQuorateiÿÿÿÿ(
R}R4R'RNRyRURVtstfindR9(RR}RNRURÑRV((Rt__is_cluster_runninghs

cCsEtiddtiti|ƒ}|iƒ|iƒ}|i
ƒ|S(Ni(R„t
MessageDialogR4t
MESSAGE_ERRORt
BUTTONS_OKtmessageR‹tshow_allR¦R§tdestroy(RR×R‹R§((Rt__errorMessageus	

(RDRER)RR*R,R4R7R›R R‘R”R’R¶RšR®(((RR­s	+		:									
RcBs>tZd„Zd„Zd„Zd„Zd„Zd„ZRS(NcCsb|idƒ}|iddƒ}|idƒ}ti|tdƒ|t	||t	t	t	dƒ
dS(Ns/sbin/gfs2_mkfsRs/sbin/gfs2_growsGFS2 (local)(
RRAR R=R"R#RR)RGR'(RR#R"R ((RR)‚scCs(|i|ƒ}|djotSntS(NRm(Rt_gfs2__get_gfs_lock_typeRRoR9R'(RRRo((RRŒs
c	CsÂd}|g}|idƒ|idƒ|idƒ|idƒ|idƒ|i|ƒdi|ƒ}t|i}t
|||ƒ\}}}|djotd	t||fƒ‚ndS(
Ns/sbin/gfs2_mkfss-jRps-pRqs-ORKiRL(RrRNRORRPRQRRRRRSRTRURVRWRXRY(	RRRQRVRNRURWRSRr((RR*’s	







cCs{dg}|i|ƒdi|ƒ}t|i}t	d||ƒ\}}}|djot
dt||fƒ‚ndS(Ns/sbin/gfs2_growRKiRL(RNROR+RPRQRZRRRSRTRURVRWRXR[(RR+RQRVRNRURWRS((RR,¡s	


cCs|o
t|_ndS(N(R6R'RR (RR6((RR7ªscCs¿|idƒo«dg}|idƒ|i|ƒ|idƒdi|ƒ}td|ƒ\}}}|djoCd|jodSq·d|jod	Sq·d
|jodSq·q»ndS(Ns/sbin/gfs2_toolRsRtRKiRuRvRwRxRqRm(RRARNRORRPRQRyRURVRWR4(RRRQRVRNRURW((RRz®s	






(RDRER)RR*R,R7RÛ(((RRs	
					RcBs€tZd„Zd„Zd„Zd„Zdd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„ZRS(NcCs|idƒ}|iddƒ}|idƒ}d}tii	|ƒpdt
|f}ntii
tƒtii|dtƒ|_|iidƒ|_|iidƒ|_|iid	ƒ|_|iid
ƒ|_|iidƒ|_|iidƒ|_|iid
ƒ|_|iƒ}|iƒ}|iƒ}|djo†|ii |ƒ|ii!|ƒ|djo|ii"t#ƒn"|djo|ii"t#ƒn|ii$t%ƒ|ii$t%ƒn|o|i&|ƒ}nt'i(|t)dƒ|t%||t%t%t%dƒ
dS(Ns/sbin/gfs2_mkfsRs/sbin/gfs2_growsFilesystem.glades%s/%sR{R|R}R~RRuRwR€RvRxsGFS2 (clustered)(*RRAR R=R"R#RR>RR‚RƒR„R…R†R‡RˆR‰RŠR‹RŒRRŽRRR€t!_gfs2_clustered__get_cluster_nameR}t&_gfs2_clustered__get_cluster_nodes_numR“t&_gfs2_clustered__get_cluster_lock_typeR•R4R–R—R˜R9R™R't#_gfs2_clustered__is_cluster_runningRR)RG(RR“RR}R#R"R•R ((RR)ÂsB


cCs |i|ƒ}|djp
|djos|ioa|iƒ}|iƒ}|i	|ƒ}|i|ƒd}||jo|o
||j|_nt
SntS(NRvRxi(Rt"_gfs2_clustered__get_gfs_lock_typeRRœR"RÜRRÞRžRßRŸt#_gfs2_clustered__get_gfs_table_nameR¡R9R'(RRRŸRRžRœR¡((RRís
'cCs½|ip
d‚ny t}x“|p‹|iiƒ}|tijoht	}d}	d}|ii
ƒiƒ}|ii
ƒiƒ}x\|D]T}
|
|jotd|
ƒ}	t}n|
|jotd|
ƒ}	t}q‰q‰Wt|ƒdjotdƒ}	t}n*t|ƒdjotdƒ}	t}n|p|i|	ƒq®|iiƒ}|d	|}d
}|iiƒo|d7}q®|iiƒo|d7}q®q q WWn|iiƒ‚nX|iiƒd
}|g}|i!dƒ|i!t"|ƒƒ|i!dƒ|i!|ƒ|i!dƒ|i!|ƒ|i!dƒ|i!|ƒdi$|ƒ}
t&|i'}	t(|||	ƒ\}}}|djot,dt-|
|fƒ‚ndS(Ns
not creatableR¢s;:'"/?.>,<]}[{ =+)(*&^%$#@!`~s(Cluster name contains illegal character s$GFS name contains illegal character isMissing Cluster NamesMissing GFS NameR£R¤RvRxs/sbin/gfs2_mkfss-js-ps-ts-ORKRL(.RR R'R¥R‹R¦R§R„R¨R9RSR©RŒRªR«RRR¬R­RGRft_gfs2_clustered__errorMessageRŽR¯R°R±R²RR³RR´RrRNROR`RRPRQRRRRTRURVRWRXRY(RRRR²R©R±RrR¥R§RSRQRNR°R­RURWR¬RV((RR*ùsn








	








cCs{dg}|i|ƒdi|ƒ}t|i}t	d||ƒ\}}}|djot
dt||fƒ‚ndS(Ns/sbin/gfs2_growRKiRL(RNROR+RPRQRZRRRSRTRURVRWRXR[(RR+RQRVRNRURWRS((RR,3s	


cCsdS(N((RR6R((RR7<scCs¿|idƒo«dg}|idƒ|i|ƒ|idƒdi|ƒ}td|ƒ\}}}|djoCd|jodSq·d|jod	Sq·d
|jodSq·q»ndS(Ns/sbin/gfs2_toolRsRtRKiRuRvRwRxRqRm(RRARNRORRPRQRyRURVRWR4(RRRQRVRNRURW((RRz@s	






cCsÃ|idƒo¯dg}|idƒ|i|ƒ|idƒdi|ƒ}td|ƒ\}}}|djoG|iƒiƒ}t|ƒdjo|didƒid	ƒSq»q¿nd
S(Ns/sbin/gfs2_toolRsR±RKiiis"R£(NN(RRARNRORRPRQRyRURVRWR«RdReRfR4(RRRQRVRNRURWRe((RRµPs	



&cCs|iƒdS(Ni(Rt!_gfs2_clustered__get_cluster_info(R((RR·_scCs|iƒdS(Ni(RRã(R((RR¸ascCs|iƒdS(Ni(RRã(R((RR¹cscCs:y,titdƒidƒƒi}|idƒ}d}d}xË|iD]À}|i
tiiijo¡|idjo
d}q	|idjo
d}q	|idjoY|}xP|iD]A}|i
tiiijo"|id	jo|d
7}qýq¼q¼Wq	qIqIW|djo|||fSnWnnXdS(Ns/etc/cluster/cluster.confi€–˜RiRºRvRxR»R¼i(NNN(R½R¾R¿RÀRÁRÂRÃRR4RÄR“RÅRÆRÇRÈRÉRÊRËRÌRÍ(RRÆR“RRÄRÍRÂ((RRÎes0!



"
cCsz|djotSnyWddg}td|ƒ\}}}|djo"|idƒdjot	SqknWnnXtS(Ns/sbin/magma_toolRÏiRÐiÿÿÿÿ(
R}R4R'RNRyRURVRÑRÒR9(RR}RNRURÑRV((RRÓ|s

cCsEtiddtiti|ƒ}|iƒ|iƒ}|i
ƒ|S(Ni(R„RÔR4RÕRÖR×R‹RØR¦R§RÙ(RR×R‹R§((RRÚ‰s	

(RDRER)RR*R,R4R7RàRáRÜRÞRÝRãRßRâ(((RRÁs	+		:									
(&RR>texecuteR
RyR:texecWithCaptureProgressRTtexecWithCaptureStatusProgressRXRÈtxml.domR½R„t	gtk.gladetlvmui_constantsR‡RƒRGRRRZR\RjRYR[R]RkRR	RRRRRRRRR( RåRyRRTRR‡RÈRRRRRR
R„RæRR\RRRRYRƒRZR½R	RRR:RkR[R]R>Rj((Rt?s8		+		
				Ikp@Ô@

Anon7 - 2021