본문 바로가기
리눅스

raid1 풀렸고 현재 리빌딩 중( 리빌딩 중 시스템 버벅... )

by 혜룐 2015. 11. 10.

root@i1:/># dmesg | grep disk
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
root@i1:/># cat /proc/scsi/scsi 
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00 -------------------------->raid 1
Vendor: ADAPTEC Model: r1 Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 01 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST3146807LC Rev: 0007
Type: Unknown ANSI SCSI revision: 03
Host: scsi2 Channel: 01 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST3146707LC Rev: D703
Type: Unknown ANSI SCSI revision: 03
root@i1:/># ./arcconf getconfig 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Channel description : SCSI
Controller Model : Adaptec 2120S
Controller Serial Number : BA2A8E
Physical Slot : Unknown
Installed memory : 64 MB
Copyback : Disabled
Background consistency check : Disabled
Defunct disk drive count : 0
Logical devices/Failed/Degraded : 1/0/1
---------------------------------------------------
Controller Version Information
---------------------------------------------------
BIOS : 4.0-0 (6011)
Firmware : 4.0-0 (6011)
Driver : 1.1-5 (2455)
Boot Flash : 0.0-0 (0)
---------------------------------------------------
Controller Battery Information
---------------------------------------------------
Status : Not Installed
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 1
Logical device name : r1
RAID level : 1
Status of logical device : Degraded -->device1 failed 됨
Size : 139998 MB
Read-cache mode : Not supported
Write-cache mode : Not supported
Write-cache setting : Not supported
Partitioned : Yes
Number of chunks : 2
Drive(s) (Channel,Device) : HSP 0,1 -->channel 0 에 device 1
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
Channel #0:
Transfer Speed : Ultra320
Initiator at SCSI ID 7
Device #0
Device is a Hard drive
State : Hot Spare
Supported : Yes
Transfer Speed : Ultra320
Reported Channel,Device : 0,0
Vendor : SEAGATE
Model : ST3146807LC
Firmware : 0007
Serial number : 3HY707XP
Size : 140014 MB
Write Cache : Unknown
FRU : None
S.M.A.R.T. : No
Device #1
Device is a Hard drive
State : Rebuilding
Supported : Yes
Transfer Speed : Ultra320
Reported Channel,Device : 0,1
Vendor : SEAGATE
Model : ST3146707LC
Firmware : D703
Serial number : 3KS3S7RW
Size : 140014 MB
Write Cache : Unknown
FRU : None
S.M.A.R.T. : No
Command completed successfully.
root@i1:/># ./arcconf getstatus 1
Controllers found: 1
Logical device Task:
Logical device : 1
Current operation : Rebuild
Status : In Progress
Percentage complete : 61
Command completed successfully.
======================================================================================================
raid 1구성에 hot spare라.. 절대 말이 안됨...
뭐.. 암튼..
ID1 디스크가 떨어졌다가 다시 붙었고 raid1 이라 데이터 sync 하던 중 시스템이 불안정해 버벅거렸다.
왜? ID2 디스크가 hot spare .... 
이게 중요함.. hot spare 일 때 종종 저런 문제가 생겼던거 같다고 하셨다. (SH.DJ)
raid1 구성이 깨졌고 파일시스템체크로 현재 리빌딩 중이다. 리빌딩이 61%까지 진행된 걸로 보아..
약 2.3G 용량이 61% 정도 리빌딩 되는데 거의 2시간 걸림.. 
2,3 GB가 큰건 아니지만.. 디스크 146G라 그런거같음..