本文主要是介绍CentOS7使用parted挂载大于2T本地硬盘卷组,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
挂载sdb
Last login: Thu Mar 14 15:29:45 2019 from 192.168….
[`root@ ~]# lsblk`
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 893.8G 0 disk
├─sda1 8:1 0 500M 0 part /boot
├─sda2 8:2 0 200G 0 part /
├─sda3 8:3 0 100G 0 part
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 32G 0 part [SWAP]
sdb 8:16 0 25.5T 0 disk
[root@ ~]# fdisk -l
Disk /dev/sda: 959.7 GB, 959656755200 bytes, 1874329600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk label type: dos
Disk identifier: 0x00032f40
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 420456447 209715200 83 Linux
/dev/sda3 420456448 630171647 104857600 83 Linux
/dev/sda4 630171648 1874329599 622078976 5 Extended
/dev/sda5 630175744 697284607 33554432 82 Linux swap / Solaris
Disk /dev/sdb: 28001.6 GB, 28001576157184 bytes, 54690578432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
[root@ ~]# parted /dev/sdb
GNU Parted 3.1
Using /dev/sdb
Welcome to GNU P
这篇关于CentOS7使用parted挂载大于2T本地硬盘卷组的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!