Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do i find missing partitions on LINUX ?

JhilAug 20 2017 — edited Aug 20 2017

I do NOT understand following statement

Primaries being 4, the first logical partition is always 5. So any partition with number of five and up is a logical one.

I hope we can create maximum 4 primary partitions on the external disk  /dev/sdb

Question : 1)  how do i find logical partition details on my machine ?

>> Partition table

# cat /proc/partitions

major minor  #blocks  name

   8     0   73400320 sda

   8     1     104391 sda1

   8     2   20482875 sda2

   8     3   10241437 sda3

   8     4          1 sda4

   8     5    5116671 sda5

   8     6    3068383 sda6

   8     7   34379068 sda7 

                

>> Partitions on my Linux machine

            

# df -TH

Filesystem    Type     Size   Used  Avail Use% Mounted on

/dev/sda3     ext3      11G   4.5G   5.2G  47% /

/dev/sda7     ext3      35G   3.8G    29G  12% /u02

/dev/sda6     ext3     3.1G   324M   2.6G  12% /tmp

/dev/sda2     ext3      21G   6.2G    14G  33% /u01

/dev/sda1     ext3     104M    12M    87M  12% /boot

tmpfs        tmpfs     1.3G      0   1.3G   0% /dev/shm

.host:/     vmhgfs     105G    72G    34G  69% /mnt/hgfs

/dev/hdc   iso9660     3.1G   3.1G      0 100% /media/Enterprise Linux dvd 20100405

Please see above outpiut, /dev/sda4 and /dev/sda5 is not there.

Question :  2) How do i  find missing partitions ?  /dev/sda4 and  /dev/sda5  ?

Thanks

This post has been answered by Dude! on Aug 20 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 17 2017
Added on Aug 20 2017
12 comments
1,117 views