이 프로시저를 사용하여 요약되지 않은 루트(/) 파일 시스템을 노드에 복원하십시오. 복원되고 있는 노드는 시동되어서는 안됩니다. 복원 프로시저를 수행하기 전에 클러스터가 문제 없이 실행되고 있는지 확인하십시오.
실패한 디스크와 동일한 형식을 사용하여 새 디스크를 구획해야 하기 때문에, 이 프로시저를 시작하기 전에 구획 계획을 식별한 후 적절할 때 파일 시스템을 재작성하십시오.
루트 파일 시스템이 복원될 노드의 실패한 디스크를 대체하십시오.
서버와 함께 제공된 문서의 디스크 대체 프로시저를 참조하십시오.
복원되고 있는 노드를 시동하십시오.
Solaris CD-ROM을 사용하고 있는 경우, 다음 명령을 실행하십시오.
ok boot cdrom -s |
JumpStart server을 사용하고 있는 경우, 다음 명령을 실행하십시오.
ok boot net -s |
format(1M) 명령을 사용하여 모든 구획을 작성한 후 루트 디스크에서 교환하십시오.
실패한 디스크에 있었던 원래 구획 계획을 재작성하십시오.
newfs(1M) 명령을 사용하여 적절할 때 루트(/) 파일 시스템 및 다른 파일 시스템을 작성하십시오.
실패한 디스크에 있었던 원래 파일 시스템을 재작성하십시오.
/global/.devices/node@nodeid 파일 시스템 작성을 확인하십시오.
임시 마운트 지점에 루트(/) 파일 시스템을 마운트하십시오.
# mount device temp-mount-point |
백업에서 루트(/) 파일 시스템을 복원하고, 파일 시스템을 마운트 취소한 후 검사하십시오.
# cd temp-mount-point # ufsrestore rvf dump-device # rm restoresymtable # cd / # umount temp-mount-point # fsck raw-disk-device |
파일 시스템이 이제 복원되어 있습니다.
새 디스크에 새 시동 블록을 설치하십시오.
# /usr/sbin/installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk raw-disk-device |
단일 사용자 모드로 노드를 다시 시동하십시오.
루트 디스크 그룹이 루트 디스크의 단일 슬라이스에 있는지 판별하십시오.
단일 슬라이스에 있으면, 루트 디스크 그룹을 작성한 후 설정하십시오.
# vxdctl init # vxdg init rootdg # vxdctl add disk diskslice type=simple # vxdisk -f init diskslice type=simple # vxdg adddisk diskslice # vxdctl enable |
단일 슬라이스에 없으면, 단계 10로 진행하십시오.
scdidadm 명령을 사용하여 디스크 ID를 갱신하십시오.
# scdidadm -R /dev/rdsk/diskdevice |
CTRL-d를 눌러 다중 사용자 모드를 계속하십시오.
노드는 클러스터 모드로 다시 시동됩니다. 클러스터를 사용할 준비가 되어 있습니다.
다음 예에서는 테이프 디바이스 /dev/rmt/0에서 노드 phys-schost-1로 복원된 요약되지 않은 루트(/) 파일 시스템을 보여줍니다.
[Replace the failed disk and boot the node:] ok boot cdrom -s [Use format and newfs to create partitions and file systems] [Mount the root file system on a temporary mount point:] # mount /dev/dsk/c0t0d0s0 /a [Restore the root file system:] # cd /a # ufsrestore rvf /dev/rmt/0 # rm restoresymtable # cd / # umount /a # fsck /dev/rdsk/c0t0d0s0 [Install a new boot block:] # /usr/sbin/installboot /usr/platform/`uname \ -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0 [Reboot in single-user mode:] # reboot -- "-s" [If the root disk group is on a single slice on the root disk, create the new root disk group] # vxdctl init # vxdg init rootdg # vxdctl add disk c0t0d0s4 type=simple # vxdisk -f init c0t0d0s4 type=simple # vxdg adddisk c0t0d0s4 # vxdctl enable [Update the disk ID:] # scdidadm -R /dev/rdsk/c0t0d0 [Press CTRL-d to resume in multiuser mode] |