Types of Partition
There are three types of partition in linux.
A.Primary Partition
B.Extended Partition
C.Logical Partition
We can create three primary partition and one extended partition.And 60 logical partition on extented one.
Total number of partition is 64 on one disk.
Syntax: fdisk <disk name>
m for help
Options:
n - add new partition
p - list partition table
d - delete partition
w - save partition
t - toggle change system ID
Some important commands used for partition
# fdisk -l
list partition table
# lsblk
list disk and disk partition
# blkid
display block id of partition with file system
# df -hT
disk consumption with human readable form
Comments
Post a Comment