본문 바로가기

Work/Solaris

solaris stmsboot ( mpxio )

Solaris 10

# format 

 0. c2t5000C5000774F5EFd0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>

          /scsi_vhci/disk@g5000c5000774f5ef

 1. c2t500000E01908B910d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>

          /scsi_vhci/disk@g500000e01908b910

 2. c2t500000E019077690d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>

          /scsi_vhci/disk@g500000e019077690


평소에 보던 경로와는 다르다.


# stmsboot -L ( mpxio 설정 확인 ) 

non-STMS device name                    STMS device name

------------------------------------------------------------------

/dev/rdsk/c1t0d0        /dev/rdsk/c2t500000E019077690d0

/dev/rdsk/c1t1d0        /dev/rdsk/c2t500000E01908B910d0

/dev/rdsk/c1t2d0        /dev/rdsk/c2t5000C5000774F5EFd0



# stmsboot -e -D fp ( fibre channel 만 설정)

# stmsboot -e ( 설정 Enabled 전체 )

# stmsboot -d ( 설정 Disabled )


--> 위 적용후 reboot 필요


/kernel/drv/fp.conf

@@  전체설정  @@

mpxio-disable="yes";    --> 전체설정 Disable


@@  포트별 설정  @@

name="fp" class="fibre-channel" port=0 mpxio-disable="no";

name="fp" class="fibre-channel" port=1 mpxio-disable="no";


/kernel/drv/scsi_vhci.conf

oad-balance="round-robin";   --> Load Balancing 설정 Enable 
load-balance="none";             --> Load Balancing 설정 Diable
auto-failback="enable";           --> Failback 설정 Enable (기본으로 Enable)
auto-failback="disable”;          --> Failback 설정 Disable


@@ stmsboot -d @@ 재부팅 후 부팅 불가시
1. SIngle boot
2. mount /dev/dsk/c0t0d0s0 /mnt ( c0t0d0s0 예시 ) 
3. cp /mnt/mpxio/mpt_sas.conf.disable.xxxx...    /mnt/kernel/drv/mpt_sas.conf
4. cp /mnt/etc/mpxio/vfstab.disable.xxxx....   /mnt/etc/vfstab
5. /usr/sbin/svccfg -f /mnt/etc/mpxio/svccfg_recover     
( /mnt 에 마운트 안하면 실행 불가 )
6. bootadm update-archive -R /mnt 
( /mnt 에 마운트 안하면 실행 불가 )