게시물 1,376건
   
tgt-admin
글쓴이 : 최고관리자 날짜 : 2011-05-02 (월) 17:58 조회 : 8508
글주소 :
                                
tgt-admin
Usage:
tgt-admin [OPTION]...
This tool configures tgt targets.
  -e, --execute                 read /etc/tgt/targets.conf and execute tgtadm commands
      --delete <value>          delete all or selected targets
                                (see "--delete help" for more info)
      --offline <value>         put all or selected targets in offline state
                                (see "--offline help" for more info)
      --ready <value>           put all or selected targets in ready state
                                (see "--ready help" for more info)
      --update <value>          update configuration for all or selected targets
                                (see "--update help" for more info)
  -s, --show                    show all the targets
  -c, --conf <conf file>        specify an alternative configuration file
      --ignore-errors           continue even if tgtadm exits with non-zero code
  -f, --force                   force some operations even if the target is in use
  -p, --pretend                 only print tgtadm options
      --dump                    dump current tgtd configuration (note: does not
                                include detailed parameters, like write caching)
  -v, --verbose                 increase verbosity (show tgtadm commands)
  -h, --help                    show this help
 
### 설정파일 업데이트 (데몬 리스타트 필요없음)
tgt-admin --update help
      --update <value>          update all or selected targets
                                The target will be updated only if it's not used
                                (no initiator is connected to it).
                                If you want to update targets which are in use,
                                you have to add "--force" flag.
Example usage:
      --update help           - display this help
      --update ALL            - update all targets
      --update tid=4          - update target 4 (target with tid 4)
      --update iqn.2008-08.com.example:some.target - update this target
 

### 오프라인(비활성화)상태로  (==/ ready)
tgt-admin --offline help 
      --offline <value>         offline all or selected targets
Example usage:
      --offline help          - display this help
      --offline ALL           - offline all targets
      --offline tid=4         - offline target 4 (target with tid 4)
      --offline iqn.2008-08.com.example:some.target - offline this target
 
 
 
tgt-admin --update help
      --update <value>          update all or selected targets
                                The target will be updated only if it's not used
                                (no initiator is connected to it).
                                If you want to update targets which are in use,
                                you have to add "--force" flag.
Example usage:
      --update help           - display this help
      --update ALL            - update all targets
      --update tid=4          - update target 4 (target with tid 4)
      --update iqn.2008-08.com.example:some.target - update this target
 

이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.