蓝色字体是输入的命令

[root@RH2288V3 /]# parted /dev/sdb
GNU Parted 2.1
使用 /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklable
  align-check TYPE N                        check partition N for TYPE(min|opt)
        alignment
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on
        COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition
        table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on
        partition NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table,
        available devices, free space, all found partitions, or a particular
        partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START
        and END
  resize NUMBER START END                  resize partition NUMBER and its file
        system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition
        NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
        copyright information of GNU Parted
(parted) mklabel
新的磁盘标签类型? gpt                                                    
警告: The existing disk label on /dev/sdb will be destroyed and all data on this
disk will be lost. Do you want to continue?
是/Yes/否/No? yes                                                         
(parted) mkpart primary 0 2199GB
警告: The resulting partition is not properly aligned for best performance.
忽略/Ignore/放弃/Cancel? Ignore                                           
(parted) print                                                            
Model: HUAWEI XSG1 (scsi)
Disk /dev/sdb: 2199GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     标志
 1      17.4kB  2199GB  2199GB               primary

(parted) quit                                                             
信息: You may need to update /etc/fstab.

[root@RH2288V3 /]# fdisk -l

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

Disk /dev/sdb: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 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

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      267350  2147483647+  ee  GPT

Disk /dev/sdc: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 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

Disk /dev/sda: 1200.2 GB, 1200243695616 bytes
255 heads, 63 sectors/track, 145921 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: 0x00088d65

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64      145922  1171599360   8e  Linux LVM

Disk /dev/mapper/vg_rh2288v3-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: 0x00000000

Disk /dev/mapper/vg_rh2288v3-lv_swap: 16.7 GB, 16693329920 bytes
255 heads, 63 sectors/track, 2029 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

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

Disk /dev/mapper/FC_DISK: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 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

Device Boot      Start         End      Blocks   Id  System
/dev/mapper/FC_DISKp1               1      267350  2147483647+  ee  GPT

Disk /dev/mapper/vg_rh2288v3-lv_home: 1129.3 GB, 1129333129216 bytes
255 heads, 63 sectors/track, 137300 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

[root@RH2288V3 /]# partprobe /dev/sdb
[root@RH2288V3 /]# mkfs.ext4 /dev/mapper/FC_DISKp1
mke2fs 1.41.12 (17-May-2010)
文件系统标签=
操作系统:Linux
块大小=4096 (log=2)
分块大小=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
134217728 inodes, 536870903 blocks
26843545 blocks (5.00%) reserved for the super user
第一个数据块=0
Maximum filesystem blocks=4294967296
16384 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
        102400000, 214990848, 512000000

正在写入inode表: 完成                            
Creating journal (32768 blocks): 完成
Writing superblocks and filesystem accounting information: 完成

This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

[root@RH2288V3 FC_disk]# mount /dev/mapper/FC_DISKp1 /mnt/FC_disk
[root@RH2288V3 FC_disk]# df -h
Filesystem                       Size  Used Avail Use% Mounted on
/dev/mapper/vg_rh2288v3-lv_root   50G  6.0G   41G  13% /
tmpfs                             16G  224K   16G   1% /dev/shm
/dev/sda1                        485M   40M  420M   9% /boot
/dev/mapper/vg_rh2288v3-lv_home  1.1T  201M  983G   1% /home
/dev/mapper/FC_DISKp1            2.0T  199M  1.9T   1% /mnt/FC_disk

CentOS6.5挂载大于2TB的磁盘使用parted和GPT类型相关推荐

  1. df命令 du命令 磁盘分区 parted分区gpt格式

    df命令 du命令 磁盘分区 parted分区gpt格式 du查看目录大小,df查看磁盘使用情况 经常使用的命令(必要时,若需使用root权限加上sudo) 1. 查看某个目录的大小:du -hs   ...

  2. linux 6.4 能挂载最大多大硬盘,CentOS6.4的ext4文件系统如何实现挂载大于16TB的磁盘分区...

    环境: CentOS6.4_64bit 服务器硬盘配置12X2T,做了1个Raid5,再分了1个约500G的虚拟磁盘组和1个约21.5T的虚拟磁盘组. 选择500G的磁盘安装完系统CentOS6.4_ ...

  3. 验证VSPHERE5 支持大于2TB磁盘

    VSPHERE5 使用GTP格式的分区表,文件系统类型为VMFS5.X,直接支持大于2TB的磁盘分区,相对于VSPHERE4不同 vsphere4使用MSDOS格式的分区表,文件系统类型为VMFS3. ...

  4. 验证Vsphere 5 支持大于2TB磁盘

    VSPHERE5 使用GTP格式的分区表,文件系统类型为VMFS5.X,直接支持大于2TB的磁盘分区,相对于VSPHERE4不同 vsphere4使用MSDOS格式的分区表,文件系统类型为VMFS3. ...

  5. 超过2t硬盘分区_大于2T的磁盘分区方法

    红帽企业 Linux 4 Update 1 提供对大于 2 terabytes(TB)的磁盘设备的支持. 在安装时,暂时不要划分大于2TB的文件分区,待安装完LINUX系统后,再参考以下操作步骤: ( ...

  6. 磁盘无法挂载超过2T大小磁盘解决方法

    磁盘分区格式MBR限制了单块磁盘大小为2TB,如果想挂载超过2TB的磁盘,就要换成其他格式如GPT格式. 因为帮助客户使用OnApp搭建云平台,存储先用6TB在测试,所以需要通过其他格式来挂载这6TB ...

  7. linux格式化大于2t硬盘分区,linux下大于2tb硬盘格式化及挂载,linux下大于2t的分区方法,linux gpt分区表 管理 自动挂载分区...

    linux下大于2tb硬盘格式化及挂载,linux下大于2t的分区方法,linux gpt分区表 管理 自动挂载分区 (7页) 本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找 ...

  8. Linux大于2TB硬盘格式化及挂载

    引言: ①.分区的方式 a)mbr分区: 最多支持四个主分区.系统只能安装在主分区.扩展分区要占一个主分区.MBR最大支持2TB,但拥有最好的兼容性 b)gtp分区: 支持无限多个主分区(说是这么说, ...

  9. MBR与GPT分区格式(实例-创建大于2TB的分区)

    一 关键词 MBR和2TB的限制 在使用fdisk建立分区时,我们最大只能建立2TB大小的分区,如果你的磁盘(阵列)大于2TB,只能通过划分多个分区的方法才能充分利用磁盘容量,这对于使用小于2TB分区 ...

最新文章

  1. linux下时区设置和时间同步
  2. linux 内存管理 page fault带来的性能问题
  3. Thread Join()的用法
  4. sql 2000 分页
  5. 使用jenkins进行git多分支项目打包时的一个小问题
  6. ubuntu 12.10 php55安装过程
  7. linux多用户运行同一程序_linux系统中CentOS有哪些优势,让它长盛不衰?
  8. python地板除与除法的区别_“地板除”还是“取整除”?地板除和天花板除floor division和ceil devision...
  9. 如何解决代码嵌套太深问题
  10. chrome ubuntu_ubuntu 安装chrome
  11. window双网卡上网
  12. 详解深度学习中的梯度消失、爆炸原因及其解决方法
  13. Python中的sys.argv是什么含义
  14. 移动端 网易云 左右滚动导航栏
  15. VB写的软件加壳都没用,超强反调试反破解分析,检测OD调试器
  16. [渝粤教育] 西南科技大学 建筑工程定额与预算 在线考试复习资料2021版(2)
  17. 攻防世界(动态调试题)
  18. 陈安之励志演讲经典句子
  19. 沉淀自己(此文无价)
  20. win10下关闭笔记本自带键盘以及解锁

热门文章

  1. [C/C++]宽字符与控制台程序
  2. Codeforces-1487 D. Pythagorean Triples(数学)
  3. android edittext 输入手机号码格式变化
  4. 算法:三阶矩阵求逆矩阵算法公式
  5. android操作系统偷流量,运营商在“偷流量”?用实验告诉你真相!
  6. 为什么 MySQL 使用 B+ 树
  7. mac重启php-fpm
  8. 比特大陆之争终落幕,吴忌寒为爱和平退出?
  9. 每个python对象都具有布尔值_百度T7架构师透析Python对象你需要知道这些
  10. 数据库 流量切分_ABTEST平行流量切分和分层流量切分高效实现及优缺点分析