创新互联www.cdcxhl.cn八线动态BGP香港云服务器提供商,新人活动买多久送多久,划算不套路!
创新互联公司专注于企业成都营销网站建设、网站重做改版、青龙网站定制设计、自适应品牌网站建设、H5响应式网站、成都做商城网站、集团公司官网建设、外贸营销网站建设、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为青龙等各大城市提供网站开发制作服务。这篇文章主要介绍centos6超20TB磁盘的分区格式化的案例,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
一、服务器环境配置:
1、检查磁盘分区:
近期项目有个服务从虚拟机迁移到物理机,服务磁盘用户自己做了raid为3.8TB 2块磁盘配置 Raid1然后又3.8TB 6块磁盘配置了Raid5,安装操作系统使用的sda 3.8TB空间的raid1已分区。3.8TB*6的磁盘sdb共20TB的空间需要分区,并挂载给系统做存储使用。步骤如下:
1.1查询确认sdb状态:
# fdisk -l WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sda: 4000.2 GB, 4000225165312 bytes 255 heads, 63 sectors/track, 486333 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. WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted Disk /dev/sdb: 20001.1 GB, 20001125826560 bytes 255 heads, 63 sectors/track, 2431665 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/sdb1 1 267350 2147483647+ ee GPT Partition 1 does not start on physical sector boundary. Disk /dev/mapper/VolGroup-LogVol00: 2531.7 GB, 2531690283008 bytes 255 heads, 63 sectors/track, 307793 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 Disk /dev/mapper/VolGroup-LogVol01: 1468.0 GB, 1468006400000 bytes 255 heads, 63 sectors/track, 178474 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