zoukankan      html  css  js  c++  java
  • 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不起作用,分区完要重启。

  • 相关阅读:
    jQuery tips
    WCF4.0进阶系列—第十一章 编写代码控制配置和通信 (上)
    WCF4.0进阶系列—第九章 事务支持(上)
    WCF4.0进阶系列第二章 寄宿WCF服务
    WCF4.0进阶系列第五章 在因特网环境下保护WCF服务
    [JavaScript] onkeypress and onchange event
    [JavaScript]使用jQuery定制开发自己的UI
    WCF4.0进阶系列第四章 保护企业内部的WCF服务
    WCF4.0进阶系列第六章 维护服务协定和数据协定
    WCF4.0 进阶系列第一章 WCF简介
  • 原文地址:https://www.cnblogs.com/lixigang/p/5371844.html
Copyright © 2011-2022 走看看