硬盘警告:partition X does not end on cylinder boundary,字面意思是:分区X并没有在柱面边缘结束,所以可能意味着数据分区被覆盖的危险,因此会显示硬盘警告。

[root@localhost svn]# fdisk -lDisk /dev/cciss/c0d0: 146.8 GB, 146778685440 bytes
255 heads, 32 sectors/track, 35132 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009b2d4Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *           1         126      512000   83  Linux
<span style="font-size:18px;color:#ff0000;"><strong>Partition 1 does not end on cylinder boundary.</strong></span>
/dev/cciss/c0d0p2             126       35132   142825536   83  LinuxDisk /dev/mapper/VolGroup-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 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: 0x00000000Disk /dev/mapper/VolGroup-lv_swap: 8388 MB, 8388608000 bytes
255 heads, 63 sectors/track, 1019 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: 0x00000000Disk /dev/mapper/VolGroup-lv_home: 84.2 GB, 84175486976 bytes
255 heads, 63 sectors/track, 10233 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: 0x00000000

其实这是因为 This was a bit disconcerting at first, but after a few minutes of thinking it dawned on me that modern systems use LBA (Logical Block Addressing) instead of CHS (Cylinder/Head/Sector) to address disk drives. If we view the partition table using sectors instead of cylinders:

翻译下来就是:“现代操作系统使用LBA(Logical Block Addressing) 而不是CHS (Cylinder/Head/Sector)来记录硬盘分区”,如果不用柱面(Cylinder)而用扇区(Sector)来看,一切就正常了!

在fdisk指令用使用“u”命令,将用扇区代替柱面来显示,然后再按“p”,就会发现在扇区上其实并不重叠,如下:那么这个硬盘警告就可以排除了:

[root@localhost svn]# fdisk -u -lDisk /dev/cciss/c0d0: 146.8 GB, 146778685440 bytes
255 heads, 32 sectors/track, 35132 cylinders, total 286677120 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: 0x0009b2d4Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *        2048     1026047      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/cciss/c0d0p2         1026048   286677119   142825536   83  LinuxDisk /dev/mapper/VolGroup-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 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: 0x00000000Disk /dev/mapper/VolGroup-lv_swap: 8388 MB, 8388608000 bytes
255 heads, 63 sectors/track, 1019 cylinders, total 16384000 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: 0x00000000Disk /dev/mapper/VolGroup-lv_home: 84.2 GB, 84175486976 bytes
255 heads, 63 sectors/track, 10233 cylinders, total 164405248 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: 0x00000000

也可以使用这个命令查看:

[root@localhost svn]# sfdisk -uS -lDisk /dev/cciss/c0d0: 35132 cylinders, 255 heads, 32 sectors/track
Units = sectors of 512 bytes, counting from 0Device Boot    Start       End   #sectors  Id  System
/dev/cciss/c0d0p1   *      2048   1026047    1024000  83  Linuxstart: (c,h,s) expected (0,64,1) found (0,32,33)end: (c,h,s) expected (125,188,32) found (63,221,30)
/dev/cciss/c0d0p2       1026048 286677119  285651072  83  Linux
/dev/cciss/c0d0p3             0         -          0   0  Empty
/dev/cciss/c0d0p4             0         -          0   0  EmptyDisk /dev/mapper/VolGroup-lv_root: 6527 cylinders, 255 heads, 63 sectors/trackDisk /dev/mapper/VolGroup-lv_swap: 1019 cylinders, 255 heads, 63 sectors/trackDisk /dev/mapper/VolGroup-lv_home: 10233 cylinders, 255 heads, 63 sectors/track

partition X does not end on cylinder boundary相关推荐

  1. warning:partition X does not end on cylinder boundary

    Why "partition X does not end on cylinder boundary" warnings don't matter 为什么 不必担心"pa ...

  2. 遇到大容量磁盘你该怎么办?

    GPT 磁盘分区: 首先,你得有一块 GPT 分区的硬盘.小于 2 TB 的磁盘也可以转为 MBR 磁盘,但是大于 2 TB 的磁盘则需要使用 GPT 分区,否则大于 2 TB 的部分将被你封印. 挂 ...

  3. VMware ESXi 中的 CentOS 硬盘扩容

    1. 在 vSphere Client 上直接扩大虚拟机的硬盘空间或者挂载一块新硬盘. 2. 查看当前硬盘空间情况: [root@ucslab admin]# df -h 文件系统           ...

  4. linux下挂载硬盘

    2019独角兽企业重金招聘Python工程师标准>>> 切换到root用户 su - root 查看硬盘信息 fdisk -l Disk /dev/sda: 42.9 GB, 429 ...

  5. linux多路径策略配置,linux 多路径配置

    首先介绍一下什么是多路径(multi-path)?先说说多路径功能产生的背景,在多路径功能出现之前,主机上的硬盘是直接挂接到一个总线(PCI)上,路径是一对一的关系,也就是一条路径指向一个硬盘或是存储 ...

  6. 如何扩容单台服务器的存储容量?

    作者个人研发的在高并发场景下,提供的简单.稳定.可扩展的延迟消息队列框架,具有精准的定时任务和延迟队列处理功能.自开源半年多以来,已成功为十几家中小型企业提供了精准定时调度方案,经受住了生产环境的考验 ...

  7. linux 恢复win7引导,双系统重装win7后恢复ubuntu引导

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 双系统重装win7/Xp后如何恢复ubuntu引导 重装win7后如何恢复ubuntu引导 在重装系统之后,开机启动界面的ubuntu引导不见了,直接进入 ...

  8. linux挂载到哪个分区,Linux中直接挂载硬盘和挂载分区有什么区别?

     1.问题 Linux中直接挂载硬盘和挂载分区有什么区别? 比如 /dev/sdb 的硬盘,直接mkfs.ext4 /dev/sdb 后mount 使用, 和 先fdisk 分区 ,在 mkfs ...

  9. linux df是否分区,Linux中df命令查询磁盘信息和fdisk命令分区的用法

    df - 报告文件系统磁盘空间的使用情况 总览 df [option]... [file]... posix 选项: [-kp] gnu 选项 (最短方式): [-ahhiklmpv] [-t fst ...

最新文章

  1. 实战SSM_O2O商铺_18【商铺编辑】Service层开发
  2. oracle两列同时去重_Oracle表中重复数据去重的方法实例详解
  3. C的|、||、、、异或、~
  4. Spring框架----通用切入点表达式
  5. OAuth2.0官方文档中文翻译
  6. msdev.exe 应用程序错误 的解决办法
  7. html中字体都可以设置哪些,html中设置字体的属性有哪些
  8. CAXA_三维电子图板v2
  9. 显卡功耗测试用什么软件,跑什么测试显卡功耗最高:这20个项目能给你答案
  10. 鼠标连点器同时点多个位置_C++自制鼠标连点器
  11. 解决 Permission denied: user=root, access=WRITE, inode=“/user“:hdfs:supergroup:drwxr-xr-x
  12. 新华社和中移动联手打造的搜索引擎盘古搜索开通
  13. 《不能承受的生命之轻》
  14. (2)QlikView安装
  15. linux在线文档库
  16. css浮动以及清除浮动
  17. 计算机远程桌面软件,手把手教你远程控制电脑软件推荐
  18. PB 自定义按钮(不使用api重绘)
  19. 管道模型(Pipeline)
  20. Linux环境中,GitHub的配置使用极简教程

热门文章

  1. i5-10200h怎么样
  2. Day4:应用层——FTP :文件传输协议、电子邮件(EMail)、DNS(Domain Name System)、P2P应用(一类应用)
  3. 截获网易云、酷狗、QQ音乐播放器桌面歌词画面心德
  4. javaEE面试-文章推荐-1
  5. MetaMask轻钱包教程 修心手把手带你玩小狐狸 钱包小白必备非原创
  6. 解决WORD疑难之:设置节起始页码后出现诡异隐藏页/跳页、节首页页面边框丢失
  7. 华为智慧屏鸿蒙os系统体验,华为智慧屏S Pro体验:告诉你鸿蒙OS有多优秀?
  8. 中国7大行业进入微利时代 房地产无法幸免未来5年中国最有钱景的9种工作
  9. 索尼WH-1000XM5什么时候发布 索尼WH-1000XM5配置怎么样
  10. 技术从业者的未来(2)