Disk Partition questions

Source: Internet
Author: User
Disk partitioning questions-general Linux technology-Linux technology and application information. For details, refer to the following section. [Root @ lzf home] # fdisk/dev/sda

Command (m for help): m
Command action
A toggle a bootable flag
B edit bsd disklabel
C toggle the dos compatibility flag
D delete a partition
L list known partition types
M print this menu
N add a new partition
O create a new empty DOS partition table
P print the partition table
Q quit without saving changes
S create a new empty Sun disklabel
T change a partition's system id
U change display/entry units
V verify the partition table
W write table to disk and exit
X extra functionality (experts only)

Command (m for help): p

Disk/dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 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 identifier: 0x000d10ae

Device Boot Start End Blocks Id System
/Dev/sda1*2048 1026047 512000 83 Linux
/Dev/sda2 1026048 41943039 20458496 8e Linux LVM (this indicates that my disk is only divided into two primary partitions)

Command (m for help): n
Command action
E extended
P primary partition (1-4)
E
Partition number (1-4, default 3): 2
Partition 2 is already defined. Delete it before re-adding it.

Command (m for help): n
Command action
E extended
P primary partition (1-4)
E
Partition number (1-4, default 3): 4
No free sectors available

Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4, default 3): 3
No free sectors available

Command (m for help): n
Command action
E extended
P primary partition (1-4)
P
Partition number (1-4, default 3): 4
No free sectors available

Command (m for help ):
Now, why is there No free sectors available which shows that there are only two partitions? Shouldn't it be possible to create a maximum of four partitions? Four primary partitions or four primary partitions plus one extended.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.