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 / 问题 / 496253
Accepted
Jono20201
Jono20201
Asked: 2013-04-05 11:54:28 +0800 CST2013-04-05 11:54:28 +0800 CST 2013-04-05 11:54:28 +0800 CST

结束和开始气缸一样吗?

  • 772

今天,我们让 DC 更换了 RAID 阵列中出现故障的硬盘驱动器,这是我第一次不得不这样做。但是,我现在正在尝试重新同步阵列,但我很难理解这个系统现在是如何工作的。

我们当前的工作驱动器分区表如下:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x56565656

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2089    16777216   fd  Linux raid autodetect
/dev/sda2   *        2089      121602   959983616   fd  Linux raid autodetect

为什么/dev/sda1的结束柱面和/dev/sda2的开始柱面相同?因此,我无法在新驱动器上复制分区表。

drive
  • 1 1 个回答
  • 1538 Views

1 个回答

  • Voted
  1. Best Answer
    Zoredache
    2013-04-05T12:01:48+08:002013-04-05T12:01:48+08:00

    添加您的-u选项给fdisk -l你。Fdisk 正在欺骗您,因为您让它生活在一个圆柱体/磁头实际上意味着有用的东西的世界中(这个世界早已不复存在)。我的猜测是您的驱动器将分区对齐到 1MB 边界而不是可以看到的伪柱面。分区没有结束在完美的柱面边界上。

    例子:

    $ sudo fdisk -l /dev/sda
    
    Disk /dev/sda: 2000.4 GB, 2000397852160 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000c82ff
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1         244     1951744   fd  Linux raid autodetect
    Partition 1 does not end on cylinder boundary.
    /dev/sda2             244      243202  1951559680   fd  Linux raid autodetect
    
    $ sudo fdisk -l -u /dev/sda
    
    Disk /dev/sda: 2000.4 GB, 2000397852160 bytes
    255 heads, 63 sectors/track, 243201 cylinders, total 3907027055 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000c82ff
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1            2048     3905535     1951744   fd  Linux raid autodetect
    Partition 1 does not end on cylinder boundary.
    /dev/sda2         3905536  3907024895  1951559680   fd  Linux raid autodetect
    
    • 10

相关问题

  • Smart Array P400 驱动器故障

  • 在linux中移动到更大的驱动器

  • 复制时 USB 驱动器将名称从 /dev/sdb 更改为 /dev/sdc (然后再返回)?

  • Vista 上的双硬盘 - 什么去哪儿了?

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