Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    maximum of partitions in linux?


    1. what is maximum numbers of below?

    ide
    scsi
    partition in each hardware
    total useable of partition

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    There can be a maximium of 4 primary partitions.
    One of the Primary can be an extended.
    Which can contain as many partitions as you desire. No limit, except for the size of te medium.
    No difference between ide and scsi as far as number of partitions go.

    Let me know if I didn't answer your question to your satisfaction.
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  3. #3
    + Thanx

  4. $spacer_open
    $spacer_close
  5. #4
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,120
    Quote Originally Posted by budman7
    There can be a maximium of 4 primary partitions.
    One of the Primary can be an extended.
    Which can contain as many partitions as you desire. No limit, except for the size of te medium.
    No difference between ide and scsi as far as number of partitions go.

    Let me know if I didn't answer your question to your satisfaction.
    It's limited cause of the amount of partition devices the kernel can make and use.
    Last time I checked:
    IDE: Max 63 (4 primary/extended and 59 logical)
    SCSI: Max 11 or 27

  6. #5
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Do not take this as Windows bashing, but Windows can only make 26 partitions normally (letters of the alphabet). That would imply not using any floppy, cd-rom or other device.
    Debian Jessie x86_64 & armhf :: LibreELEC is the solution for your Linux-based HTPC setups.

  7. #6

    need the clear picture again

    I found from text book, It was printed a few years ago. I am not sure it is absolutly correct.
    max of partittion for ide = 63
    max of partition for scsi = 15

    a) but I don't know how to calculate,
    For each hd, let say hda, max of partition are

    hda1-primary
    hda2-primary
    hda3-primary
    hda4-extended
    hda5-logical
    hda6-logical
    hda7-logical
    hda8-logical

    total: max 8 partitions per each hd
    if max of hd is 8, it should be 8x8= 64 partitions, why there is only 63? where is the other one?

    b) scsi is only 15 ? only 2 scsi(how could it be)? 2x8= 16 partitions? where is the other one?

    c) It looks like a simple question, but I really want to get a right concept from basic again.
    Thanx

  8. #7
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    I think you are getting the hard drives and partitions mixed up. 63 ide hard drives(that is a lot of controllers) and 15 scsi. I believe you can chain 127 usb devices together, making them all hard drives.
    I personally have 10 partitions on my120 GB hard drive.
    Off topic
    Do not take this as Windows bashing, but Windows can only make 26 partitions normally (letters of the alphabet). That would imply not using any floppy, cd-rom or other device.
    Actually Windows can only make 23 partitions. One primary and one extended that can have 22 logical
    C: is primary
    A: is dedicated to floppy
    B: is dedicated to floppy(how stupid is that)
    D: would be the extended that holds all the logical
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  9. #8
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,120

    Re: need the clear picture again

    Quote Originally Posted by sf433
    why there is only 63
    Cause 63 is simply the the maximum amount of partition devices the kernel can make on an IDE drive and use. Their's no other reason (in Linux the firts 4 are reserved for primary/extended, leaving maximum 59 partitions as logical).

    Quote Originally Posted by budman7
    I think you are getting the hard drives and partitions mixed up
    Euhm... no.

  10. #9
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    budman7 wrote:
    I think you are getting the hard drives and partitions mixed up

    Euhm... no. Confused
    I was referring to
    I found from text book, It was printed a few years ago. I am not sure it is absolutly correct.
    max of partittion for ide = 63
    max of partition for scsi = 15

    a) but I don't know how to calculate,
    For each hd, let say hda, max of partition are

    hda1-primary
    hda2-primary
    hda3-primary
    hda4-extended
    hda5-logical
    hda6-logical
    hda7-logical
    hda8-logical

    total: max 8 partitions per each hd
    if max of hd is 8, it should be 8x8= 64 partitions, why there is only 63? where is the other one?

    b) scsi is only 15 ? only 2 scsi(how could it be)? 2x8= 16 partitions? where is the other one?
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  11. #10
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,120
    Ah... I mist his last part and thought you meant the amount of partitions and drives... (it's indeed hda1till hda63)

    PS: I highly doubt this could ever be very functional on current drives though...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •