[[FrontPage]]
#contents
*Memorystick から起動 [#x178832a]
ftp://ftp8.jp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/FreeBSD-9.0-RELEASE-amd64-memstick.img

 g7# dd if=FreeBSD-9.0-RELEASE-amd64-memstick.img of=/dev/da0 bs=64k
 10463+0 records in
 10463+0 records out
 685703168 bytes transferred in 48.462903 secs (14149032 bytes/sec)
 g7#


of=/dev/da0 bs=64k


*HDD交換 [#bffc0293]
 g7# zpool status
   pool: tank
  state: ONLINE
  scan: resilvered 1K in 0h0m with 0 errors on Tue Jun 26 12:49:24 2012
 config:
          NAME        STATE     READ WRITE CKSUM
         tank        ONLINE       0     0     0
           raidz1-0  ONLINE       0     0     0
             ada1    ONLINE       0     0     0
             ada2    ONLINE       0     0     0
             ada3    ONLINE       0     0     0
 
 errors: No known data errors
 
   pool: zfspool
  state: ONLINE
  scan: none requested
 config:
 
         NAME        STATE     READ WRITE CKSUM
         zfspool     ONLINE       0     0     0
           ada0p3    ONLINE       0     0     0
 
 errors: No known data errors
 g7#
 g7#
 g7#
 g7# zpool status
   pool: tank
  state: DEGRADED
 status: One or more devices has been removed by the administrator.
         Sufficient replicas exist for the pool to continue functioning in a
         degraded state.
 action: Online the device using 'zpool online' or replace the device with
         'zpool replace'.
  scan: resilvered 1K in 0h0m with 0 errors on Tue Jun 26 12:49:24 2012
 config:
 
         NAME                     STATE     READ WRITE CKSUM
         tank                     DEGRADED     0     0     0
           raidz1-0               DEGRADED     0     0     0
             1703520998278199717  REMOVED      0     0     0  was /dev/ada1
             ada2                 ONLINE       0     0     0
             ada3                 ONLINE       0     0     0
 
 errors: No known data errors
 
   pool: zfspool
  state: ONLINE
  scan: none requested
 config:
 
         NAME        STATE     READ WRITE CKSUM
         zfspool     ONLINE       0     0     0
           ada0p3    ONLINE       0     0     0
 
 errors: No known data errors
 g7#
 g7#
 g7#
 g7#
 g7#
 g7# zpool status
   pool: tank
  state: DEGRADED
 status: One or more devices has been removed by the administrator.
         Sufficient replicas exist for the pool to continue functioning in a
         degraded state.
 action: Online the device using 'zpool online' or replace the device with
         'zpool replace'.
  scan: resilvered 1K in 0h0m with 0 errors on Tue Jun 26 12:49:24 2012
 config:
 
         NAME                     STATE     READ WRITE CKSUM
         tank                     DEGRADED     0     0     0
           raidz1-0               DEGRADED     0     0     0
             1703520998278199717  REMOVED      0     0     0  was /dev/ada1
             ada2                 ONLINE       0     0     0
             ada3                 ONLINE       0     0     0
 
 errors: No known data errors
 
   pool: zfspool
  state: ONLINE
  scan: none requested
 config:
 
         NAME        STATE     READ WRITE CKSUM
         zfspool     ONLINE       0     0     0
           ada0p3    ONLINE       0     0     0
 
 errors: No known data errors
 g7#
 g7#
 g7#
 g7# zpool online tank ada1
 warning: device 'ada1' onlined, but remains in faulted state
 use 'zpool replace' to replace devices that are no longer present
 g7#
 g7#
 g7#
 g7# zpool status
   pool: tank
  state: DEGRADED
 status: One or more devices could not be used because the label is missing or
         invalid.  Sufficient replicas exist for the pool to continue
         functioning in a degraded state.
 action: Replace the device using 'zpool replace'.
    see: http://www.sun.com/msg/ZFS-8000-4J
  scan: scrub in progress since Tue Jun 26 12:51:38 2012
     1.15G scanned out of 162G at 40.5M/s, 1h7m to go
     0 repaired, 0.71% done
 config:
 
         NAME                     STATE     READ WRITE CKSUM
         tank                     DEGRADED     0     0     0
           raidz1-0               DEGRADED     0     0     0
             1703520998278199717  UNAVAIL      0     0     0  was /dev/ada1
             ada2                 ONLINE       0     0     0
             ada3                 ONLINE       0     0     0
 
 errors: No known data errors
 
   pool: zfspool
  state: ONLINE
  scan: none requested
 config:
 
         NAME        STATE     READ WRITE CKSUM
         zfspool     ONLINE       0     0     0
           ada0p3    ONLINE       0     0     0
 
 errors: No known data errors
 g7#
 g7#
 g7#
 g7# zpool status
   pool: tank
  state: DEGRADED
 status: One or more devices could not be used because the label is missing or
         invalid.  Sufficient replicas exist for the pool to continue
         functioning in a degraded state.
 action: Replace the device using 'zpool replace'.
    see: http://www.sun.com/msg/ZFS-8000-4J
  scan: scrub in progress since Tue Jun 26 12:51:38 2012
     19.1G scanned out of 162G at 73.3M/s, 0h33m to go
     0 repaired, 11.79% done
 config:
 
         NAME                     STATE     READ WRITE CKSUM
         tank                     DEGRADED     0     0     0
           raidz1-0               DEGRADED     0     0     0
             1703520998278199717  UNAVAIL      0     0     0  was /dev/ada1
             ada2                 ONLINE       0     0     0
             ada3                 ONLINE       0     0     0
 
 errors: No known data errors
 
   pool: zfspool
  state: ONLINE
  scan: none requested
 config:
 
         NAME        STATE     READ WRITE CKSUM
         zfspool     ONLINE       0     0     0
           ada0p3    ONLINE       0     0     0
 
 errors: No known data errors
 g7#
 g7#
 g7# zpool replace tank ada1 ada1
 g7# zpool status
   pool: tank
  state: DEGRADED
 status: One or more devices is currently being resilvered.  The pool will
         continue to function, possibly in a degraded state.
 action: Wait for the resilver to complete.
  scan: resilver in progress since Tue Jun 26 12:56:48 2012
     426M scanned out of 162G at 53.3M/s, 0h51m to go
     141M resilvered, 0.26% done
 config:
 
         NAME                       STATE     READ WRITE CKSUM
         tank                       DEGRADED     0     0     0
           raidz1-0                 DEGRADED     0     0     0
             replacing-0            UNAVAIL      0     0     0
               1703520998278199717  UNAVAIL      0     0     0  was /dev/ada1/old
               ada1                 ONLINE       0     0     0  (resilvering)
             ada2                   ONLINE       0     0     0
             ada3                   ONLINE       0     0     0
 
 errors: No known data errors

 
   pool: zfspool
  state: ONLINE
  scan: none requested
 config:
 
         NAME        STATE     READ WRITE CKSUM
         zfspool     ONLINE       0     0     0
           ada0p3    ONLINE       0     0     0

 
 errors: No known data errors
 g7#

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS