AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 477687
Accepted
0xC0000022L
0xC0000022L
Asked: 2013-02-12 08:44:49 +0800 CST2013-02-12 08:44:49 +0800 CST 2013-02-12 08:44:49 +0800 CST

全新设置:如何告诉 mdadm 不要费心同步 _data_?还是必须的?

  • 772

两个问题:

  1. 如果有的话,我怎么知道mdadm新创建的数组不需要同步,因为上面没有数据?即基本上强制它进入一种状态,假设“数据”(即广阔的空白空间)是同步的并且只同步元数据?
  2. 如果以上几点不可能,为什么?同步是否考虑了实际的坏扇区或者为什么我必须同步一个否则为空的数组?
linux
  • 1 1 个回答
  • 2183 Views

1 个回答

  • Voted
  1. Best Answer
    Stone
    2013-02-12T09:09:42+08:002013-02-12T09:09:42+08:00

    您可以使用该--assume-clean选项。来自man:

    Tell mdadm that the  array  pre-existed  and  is
    known to be clean.  It can be useful when trying
    to recover from a major failure as  you  can  be
    sure  that  no  data will be affected unless you
    actually write to the array.   It  can  also  be
    used when creating a RAID1 or RAID10 if you want
    to avoid the initial resync, however this  prac‐
    tice — while normally safe — is not recommended.
    Use this only if you really know  what  you  are
    doing.
    
    When  the  devices  that  will  be part of a new
    array were filled with zeros before creation the
    operator  knows  the array is actually clean. If
    that is the case, such  as  after  running  bad‐
    blocks,  this argument can be used to tell mdadm
    the facts the operator knows.
    
    • 3

相关问题

  • Linux 主机到主机迁移

  • 如何在 Linux 机器上找到有关硬件的详细信息?

  • 如何在 Linux 下监控每个进程的网络 I/O 使用情况?

  • 在 RHEL4 上修改 CUPS 中的现有打印机设置

  • 为本地网络中的名称解析添加自定义 dns 条目

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve