lxgi&

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

Partition 1 does not start on physical sector boundary.分区信息不正常

[root@v1 ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        20G  3.3G   16G  18% /
tmpfs            32G  228K   32G   1% /dev/shm
/dev/sda1       190M   32M  148M  18% /boot
[root@v1 ~]# fdisk -l


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.




Disk /dev/sda: 2997.9 GB, 2997920727040 bytes
255 heads, 63 sectors/track, 364476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000


   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      267350  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.
[root@v1 ~]# fdisk /dev/sda


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.




WARNING: The size of this disk is 3.0 TB (2997920727040 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID 
partition table format (GPT).




The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').


Command (m for help): p


Disk /dev/sda: 2997.9 GB, 2997920727040 bytes
255 heads, 63 sectors/track, 364476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000


   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      267350  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Command (m for help):


背景:1.dell   c6220II服务器,使用的lsi原厂阵列控制器

             2.这款阵列器可以做超过2个硬盘的raid1,

             3.用这款阵列器做好6个硬盘的raid5,在安装centOS6.6时,在分区这步竟然没有“强制为主分区”这个选项,而在raid1设置时,这里会正常出现这个选项

             4.应该是基于第三点,才导致raid5安装出来的系统,fdisk /dev/sda 只出现一个分区信息

原因:应该是硬盘cylinder和sector显示的问题

解决:用gdisk来分区,用法和fdisk差不多,gdisk print显示的sector就是正常的,用yum gdisk安装gdisk工具,说到这里提醒一下,centOS6.6 64bit的partprobe不起作用,分区完要重启。

posted on   lxgi&  阅读(2766)  评论(1编辑  收藏  举报

编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
点击右上角即可分享
微信分享提示