관리-도구
편집 파일: lvm2.pyo
� u��ec @ sE d d l m Z m Z m Z m Z d e e e e f d � � YZ d S( i����( t Plugint RedHatPlugint DebianPlugint UbuntuPlugint Lvm2c B sS e Z d Z d Z d Z d d d e f d d d e f g Z e d � Z d � Z RS( s LVM2 volume manager t lvm2t storaget lvmdumps collect an lvmdump tarballt fasts lvmdump-amsO attempt to collect an lvmdump with advanced options and raw metadata collectiont slowc C s` | j d d d t � } d } d } | r3 d } n | | | f } | j | d | j � �d S( s| Collects an lvmdump in standard format with optional metadata archives for each physical volume present. t nameR t makes lvmdump %s -d '%s't s -a -mt chrootN( t get_cmd_output_patht Falset add_cmd_outputt tmp_in_sysroot( t selft metadatat lvmdump_patht lvmdump_cmdt lvmdump_optst cmd( ( s4 /usr/lib/python2.7/site-packages/sos/plugins/lvm2.pyt do_lvmdump s c C s� d } | j d | d d �d } | d d } d } | d d } d } | j d | d | d | | f d | | f d | | f g � | j d � | j d � r� | j � n"