1.查看fdisk -l 分区情况:
[root@localhost ~]# fdisk -l
Disk /dev/sda: 1000.1 GB, 1000123400192 bytes, 1953366016 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0009f4c4
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 249823231 123862016 8e Linux LVM
Disk /dev/mapper/rhel-root: 50 GB, 912680550400 bytes, 1782579200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/rhel-swap: 8321 MB, 8321499136 bytes, 16252928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/rhel-home: 64.8 GB, 64818774016 bytes, 126599168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rhel-root 50G 4.5G

本文介绍了如何在RedHat7.5系统中进行硬盘扩展分区的操作,包括查看分区情况、创建扩展分区、建立逻辑分区、保存退出并重启生效、创建物理卷、卷组扩容、逻辑卷扩容以及文件系统扩容的详细步骤。
最低0.47元/天 解锁文章
1155

被折叠的 条评论
为什么被折叠?



