강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

데몬 스크립트 파일 : /etc/rc.d/init.d/iscsi

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

데몬 스크립트 파일 : /etc/rc.d/init.d/iscsi

 

 iSCSI 데몬 스크립트입니다. 

 

 

 

 

사용옵션 : start|stop|restart|reload|status|condrestart

 

설정파일 : /etc/iscsi.conf

PID파일 : /var/run/iscsid.pid


스크립트 사용예

[root@command init.d]# /etc/rc.d/init.d/iscsi stop

 iscsiD] iSCSI: umount iscsid[  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/iscsi start

Starting iSCSI: iscsi iscsid

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/iscsi restart

 iscsiD] iSCSI: umount iscsid[  OK  ]

Starting iSCSI: iscsi iscsid

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/iscsi status

iscsid (pid 5634) is running...

[root@command init.d]#

[root@command init.d]# ps -ef | grep iscsi

root      5681     1  0 15:18 ?        00:00:00 iscsid -l /dev/iscsi -m 755

root      5686  2007  0 15:18 pts/0    00:00:00 grep iscsi

[root@command init.d]#

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,037 명
  • 현재 강좌수 :  35,810 개
  • 현재 접속자 :  97 명