自我介紹

shian

Tis night: now doth my longing break forth in me as a fountain ,-for speech do I long.

Menu:

Recent Entries

About

Tis night: now doth my longing break forth in me as a fountain ,-for speech do I long.

Categories

網管工作 [85]
隨想手札 [35]
資訊教育 [25]

Links

請按右鍵在新視窗開啟
- 發現自在的藍天
- 藍屋頂白牆上的陽光
- 網路書籤
- ㄚ比家族日記
- shian's 資訊組相簿
- shian's 個人相簿
- 學習手札
資訊管理
- 阿欣部落
- CHICWORKS
- ADJ 網路實驗室
- 創意MOODLE新聞區
資訊教育
- 華龍國小數位學習網
- 獅湖國小BIG6網站
- IN TIME
攝影photo
- Blue JOE Photo Diary
- Free printable cardboard lens hoods
- Contax Lens Hoods
- 景深計算機
- 如何看待觀景窗的大小
- CONTAX & Zeiss T* image
- 攝影教學課程資訊網
- Wisely 攝影風情
- David 老師的PhotoStory

Syndicate

RSS 0.90
RSS 1.0
RSS 2.0
Atom 0.3

Version:

andreas01 v1.3

網芳主機掛了一棵硬碟

shian | 19 四月, 2006 19:50

今天發現網芳主機的SCSI硬碟其中一棵(/dev/sdc1)燈號一直都不會亮,用指令查了一下果然真的壞了!還好有做RAID5,明天得趕快拿去換,順便測試硬碟熱插拔。

[root@ms2 root]# dmesg | grep md0
md: created md0
md0: removing former faulty sdc1!
md0: max total readahead window set to 496k
md0: 2 data-disks, max readahead per data-disk: 248k
raid5: md0, not all disks are operational -- trying to recover array
raid5: allocated 3287kB for md0
raid5: raid level 5 set md0 active with 2 out of 3 devices, algorithm 0
md: updating md0 RAID superblock on device
md0: no spare disk to reconstruct array! -- continuing in degraded mode

[root@ms2 root]# dmesg | grep raid
raid5: measuring checksumming speed
raid5: using function: pIII_sse (2964.000 MB/sec)
md: raid5 personality registered as nr 4
raid5: device sde1 operational as raid disk 2
raid5: device sdd1 operational as raid disk 1
raid5: md0, not all disks are operational -- trying to recover array
raid5: allocated 3287kB for md0
raid5: raid level 5 set md0 active with 2 out of 3 devices, algorithm 0
raid5: switching cache buffer size, 4096 --> 1024
raid5: switching cache buffer size, 1024 --> 4096

後來發現硬碟其實沒壞,可能是接觸不良,重新拿下再裝回去,重建RAID系統,一切搞定!

[root@ms2 root]# raidhotadd /dev/md0 /dev/sdc1

[root@ms2 root]# cat /proc/mdstat
Personalities : [raid5]
read_ahead 1024 sectors
md0 : active raid5 sdc1[3] sde1[2] sdd1[1]
142255360 blocks level 5, 4k chunk, algorithm 0 [3/2] [_UU]
[>....................] recovery = 2.2% (1618448/71127680) finish=115.8min speed=10001K/sec
unused devices: <none>

Posted in 網管工作 . 迴響: (0). 引用:(0). 靜態連結網址
«Next post | Previous post»