TeraStation
    自分の日記など
    その他の URL
設置
  作業方針など
    Linux 設定
      新品の場合
      disk を入替えた場合
    Root で login
    区画
    sysinst
    multi user で起動
      fdisk
    課題
  実際の設置作業
    作業全体の流れ
    詳細
  fdisk
    再起動
    mkfs.xfs
      RAID5 解除前
  sysinst
    fdisk
    disklabel
    fetch
  raid
    disklabel を写す
OS設置後
  RAID
      raid.conf
    区画
  raid 5
    raid0.conf
  raidctl
    用語
    操作
  swap34
    34 入替
  disk 入替
  mfdisk -c
  危険
作業例
  20080302
    追加 patch
    NetBSD 設置後
    boot selector
  20120302
    NetBSD 以前
      卓をつなぐ
      nasupdate
      admin で login
      ts.cgi を変更
      ts.cgi を実行
      sudo -s を確認
      RAID の解除
      一時ネットワーク
    USB メモリを用意
    RAID5 設定
      fdisk
      raid 設定
    sysinst
    pkgsrc
    raid
    problem
RAID HowTO
  20080428
    sysinst(fdisk)
    sysinst(disklabel)
    raid5
    sysinst (raid)
    multi-user
    raidctl -iv
  disk 障害
  boot selector

hardware | kuro-box | NetBSD/kuro-box | software

TeraStation

Last Update: "2008/06/26 10:29:55 makoto"

disk 障害

RAID5 で disk 障害が起きた時の復帰の方法 (の一つ) 2008/06/25 の日記 xx
ttyp0:root@tera3 21:51:28/080625(~)# raidctl -s raid1
Components:
           /dev/wd0f: optimal
           /dev/wd1f: optimal
           /dev/wd2f: failed
           /dev/wd3f: optimal
Spares:
           /dev/sd1f: spare
Component label for /dev/wd0f:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 4
   Version: 2, Serial Number: 2008042901, Mod Counter: 398
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 959861888
   RAID Level: 5
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid1
Component label for /dev/wd1f:
   Row: 0, Column: 1, Num Rows: 1, Num Columns: 4
   Version: 2, Serial Number: 2008042901, Mod Counter: 398
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 959861888
   RAID Level: 5
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid1
/dev/wd2f status is: failed.  Skipping label.
Component label for /dev/wd3f:
   Row: 0, Column: 3, Num Rows: 1, Num Columns: 4
   Version: 2, Serial Number: 2008042901, Mod Counter: 398
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 959861888
   RAID Level: 5
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid1
/dev/sd1f status is: spare.  Skipping label.
Parity status: DIRTY
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
ttyp0:root@tera3 21:51:31/080625(~)# raidctl -v -F /dev/wd2f raid1
Reconstruction status:
 88% |***********************************    | ETA: 01:37:17 |
Last Update: Sat, 07 Jun 2014 13:16:17 GMT 1.66 2008/03/08