RHCSA RHEL 8 - List, create, delete partitions on MBR and GPT disks
Computers, Security & Gadgets
0:00 / 0:00
RHCSA RHEL 8 - List, create, delete partitions on MBR and GPT disks
10 859 просмотров · 6 лет назад
Computers, Security & Gadgets
9,25 тыс. подписчиков
10 859 просмотров · 6 лет назад
Buy CSG Merchandise:
http://tee.pub/lic/csg
Your support on Patreon is much appreciated: / computers_servers
This video is based on RHEL 8.
Video to cover the section 'List, create, delete partitions on MBR and GPT disks' for the RHCSA (Red Hat Certified System Administrator).
More information on the required learning: http://bit.ly/rhcsa8
Notes from the video:
List size / used and available space / % / mount point:
df -h
Get UUID for partitions and drives:
blkid
Get disks and paritions in a tree output:
lsblk
Force system to check for partition changes:
partprobe
fdisk – MBR(Master Boot Record) partition tool
4 primary partitions(2TB max)
Create partitions:
fdisk /dev/sdb
n - new partiton
p or # e (primary or extended)
w - write changes
Delete partitions:
fdisk /dev/sdb
d - delete partiton
w - write changes
Change partition type:
fdisk /dev/sdb
t - change partition type
L - list all partition types
w - write changes
List partitions:
fdisk -l
gdisk – GPT partition tool
UEFI device – backwards compatible – 128 primary partition – 8 zebibytes per partition
Create partitions:
gdisk /dev/sdb
n - new partition
p or # e (primary or extended)
w - write changes
Delete partitions:
gdisk /dev/sdb
d - delete partition
w - write changes
If partitions are not showing up after creation or not disappearing after deletion use:
partprobe
List partitions:
gdisk -l /dev/sdb
#rhcsa #rhel #linux