zoukankan      html  css  js  c++  java
  • How to recover destroyed ZFS storage pools

    root@sol11ai:~# zpool status tank
      pool: tank
    state: ONLINE
      scan: resilvered 91K in 0h0m with 0 errors on Fri Jun 14 17:49:05 2013
    config:

            NAME      STATE     READ WRITE CKSUM
            tank      ONLINE       0     0     0
              c8t1d0  ONLINE       0     0     0
            spares
              c8t2d0  AVAIL

    errors: No known data errors


    root@sol11ai:~# zpool destroy tank

    root@sol11ai:~# zpool import -D
      pool: tank
        id: 15968236092128463827
    state: ONLINE (DESTROYED)
    action: The pool can be imported using its name or numeric identifier.
    config:

            tank      ONLINE
              c8t1d0  ONLINE
            spares
              c8t2d0


    root@sol11ai:~# zpool import -D tank


    root@sol11ai:~# zpool status tank
      pool: tank
    state: ONLINE
      scan: resilvered 91K in 0h0m with 0 errors on Fri Jun 14 17:49:05 2013
    config:

            NAME      STATE     READ WRITE CKSUM
            tank      ONLINE       0     0     0
              c8t1d0  ONLINE       0     0     0
            spares
              c8t2d0  AVAIL

    errors: No known data errors

  • 相关阅读:
    匿名函数 sorted() filter() map() 递归函数
    内置函数
    生成器
    迭代器
    函数
    Linux系统及lvm知识
    nginx设置成开机自动启动服务
    cinder介绍及使用lvm本地存储
    docker私有仓库的搭建
    工作中涉及运维知识点的汇总
  • 原文地址:https://www.cnblogs.com/cqubityj/p/3140404.html
Copyright © 2011-2022 走看看