没有合适的资源?快使用搜索试试~ 我知道了~
一、服务器环境配置: 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 GN
资源详情
资源评论
资源推荐
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
1.2、sdb磁盘分区:
# parted /dev/sdb
GNU Parted 2.1
使用 /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print #查看当前分区
Model: LSI MRSASRoMB-8i (scsi)
Disk /dev/sdb: 20.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name 标志
(parted) mkpart primary 0% 100% #将磁盘所有空间分为一个区
(parted) print #再次查询磁盘分区
Model: LSI MRSASRoMB-8i (scsi)
Disk /dev/sdb: 20.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
weixin_38733355
- 粉丝: 4
- 资源: 898
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0