본문 바로가기

Work

(154)
centos,Redhat storage Fc 카드 관련 /sys/class/fc_host/host# * Scanning Storage Interconnects *1. echo 1 > /sys/class/fc_host/host1/issue_lip 2. /usr/bin/rescan-scsi-bus.sh 3. lsmod | grep qlaqla2xxx 469784 8qla4xxx 275503 0 3-1. rmmod qla2xxx qla4xxx
Solaris .profile * ldom_path * stty -istrip -parenb cs8 erase ^HLANG=koTERM=vt100EDITOR=viPS1=[`hostname`:'$PWD']PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/etc:/opt/SUNWldm/binexport LANG TERM EDITOR PS1 PATHset -o vi * 기본 * stty -istrip -parenb cs8 erase ^HLANG=koTERM=vt100EDITOR=viPS1=[`hostname`:'$PWD']PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/etc:.export LANG TERM EDITOR PS..
Solaris 디스크 제거 # cfgadm -alAp_Id Type Receptacle Occupant Conditionc0 scsi-bus connected configured unknownc0::dsk/c0t0d0 disk connected configured unknownc0::rmt/0 tape connected configured unknownc1 scsi-bus connected configured unknownc1::dsk/c1t3d0 disk connected configured unknownc1::dsk/c1t4d0 disk connected configured unknown # cfgadm -x remove_device c1::dsk/c1t4d0Removing SCSI device: /devices/sbus@1f..
Solaris SVM 삭제 SVM Mirror 구성된 DISK 절체시 교체 방법1. metattach 를 이용한 DISK 교체 1.1. 장애디스크 metadetach # metadetach -f d10 d12 # metadetach -f d20 d22 # metadetach -f d30 d32 1.2. 장애디스크 metadb 삭제 # metadb -d /dev/rdsk/c1t1d0s7 1.3. 장애디스크 metaclear # metaclear d12 # metaclear d22 # metaclear d33 1.4. 디스크 교체 후 인식확인 # ls -lR /devices > /dev/null # devfsadm # drvconfig;disks 1.5. 디스크 구성정보 복사 # prtvtoc -h /dev/rdsk/c1t0d0s2 ..
Solaris 10 SVM 설정 정리 ** disk 7번 슬라이스에 공간 할당** formatpp7 start cylinder $ ( 끝까지 ) or start cylinder 숫자end cylinder 숫자 adf sdf prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2 ( slice2에 파티션 정보가 있어서 )결과 명령어 확인 주의! metadb -a -f -c3 /dev/dsk/c0t0d0s7 /dev/dsk/c0t1d0s7 ( slice7 에 metadb 및 복제 replica 생성 ) metainit -f d11 1 1 c0t0d0s0 ( / )metainit -f d12 1 1 c0t1d0s0metainit d10 -m d11 metainit -f d21 1 1 c0t0d..
xscf 장애 확인 xscf>showhardconf ( 물리 장치 확인 ) xscf>showlogs error xscf>fmdump -v -a xscf>fmdump -v -u uuid
M4000 도메인 확인 xscf>showdomainstatus -a ( 도메인 상태 확인 )DID Domain Status00 Running01 Running xscf > showdevices ex> showdevices 00-0 showdevices 00-1 XSCF> showdevices 00-1 CPU:----DID XSB id state speed ecache 01 00-1 8 on-line 2150 5 01 00-1 9 on-line 2150 5 01 00-1 10 on-line 2150 5 01 00-1 11 on-line 2150 5 Memory:------- board perm base domain target deleted remainingDID XSB mem MB mem MB address mem MB XSB..
Solaris 10 Rsync 사용 Solaris 10 에서 rsync 사용하기 ** 필요패키지 **libgcc-3.4.6-sol10-sparc-local.gzpopt-1.14-sol10-sparc-local.gzlibintl-3.4.0-sol10-sparc-local.gzlibiconv-1.11-sol10-sparc-local.gz ** rsync 패키지 **rsync-3.0.4-sol10-sparc-local.gz Soalris - Solaris rsync 를 사용하려면, 서버측 Client 측 rsync 모두 설치가 필요 #gunzip *.gz#pkgadd -d 로 해당 패키지들 설치 #rsync -avz --delete -e ssh @:/ /ex > rsync -avz --delete -e ssh root@192.168.1.1:/k..