/dev/sda is not limited to 20 partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
installation-guide (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
https:/
says
Linux limits the partitions per drive to 15 partitions for SCSI
disks (3 usable primary partitions, 12 logical partitions), and 63
partitions on an IDE drive (3 usable primary partitions, 60 logical
partitions). However the normal Ubuntu system provides only 20
devices for partitions, so you may not install on partitions higher
than 20 unless you first manually create devices for those
partitions.
This is misleading since the transition from /dev/hda to /dev/sda as the
latter now enforces a limit of 16 minor devices per drive.
$ ls -l /dev/sd[ab]
brw-rw---- 1 root disk 8, 0 2010-12-30 16:28 /dev/sda
brw-rw---- 1 root disk 8, 16 2011-01-13 16:32 /dev/sdb
$
0 is the whole drive, 1-4 are the primary partitions, 5-15 are the
logical partitions. So there's now a limit of 15 partitions per drive,
assuming you've used all of the primary partitions.
A friend of a friend found installation failed on creating the three
partitions for /, swap, and /home. The first two succeeded, the third
failed with an error passed on imprecisely as "the 17th partition"
couldn't be created. The guide suggests 20 should be OK.
"oh, wait, I'm evidently misremembering and the /dev/sd* limit is indeed
16. Yes, I suppose that should be documented in the installation
guide." -- Colin Watson, #ubuntu-installer, 2011-01-17 10:21.
Related branches
- Colin Watson: Approve
- Phillip Susi (community): Needs Resubmitting
- Ubuntu branches: Pending requested
-
Diff: 858 lines (+638/-118)8 files modifieddebian/changelog (+17/-0)
debian/patches/16-dos-partitions.patch (+55/-0)
debian/patches/dm-part-sync.patch (+268/-0)
debian/patches/dmraid.patch (+73/-92)
debian/patches/loop-partitions.patch (+201/-15)
debian/patches/series (+4/-1)
debian/patches/skip-floppy.patch (+17/-0)
debian/patches/udevadm-settle.patch (+3/-10)
no longer affects: | partman-base (Ubuntu) |
summary: |
- /dev/sda has 15 partition hard limit, not 20+ + /dev/sda is not limited to 20 partitions |
I think it would also be nice to have some vaguely sensible UI when you go over the limit.