当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > 有没有可能突破扩展分区上逻辑分区15个的限制?

Unix/Linux
ubuntu与windows远程连接的方法
在Ubuntu系统中文件进行加密传输
Unix 操作系统中处理字符串问题的简单方式
UNIX 操作系统复杂的关机过程
fedora phpMyAdmin 安装方法及介绍
Red Hat Enterprise Linux 4+Nginx 0.7.47+PHP5.2+MYSQL5.0+Memcache+eAccelerator收
CENTOS 系统的配置
CentOS 挂载NTFS分区的两种方法
CentOS Tomcat 的启动服务脚本
Centos5.2配置LAMP与Centos5.3配置LAMP
从技术产品市场角度阐述Linux操作系统的发展
rar for linux程序基本命令
LIDS功能:建立一个安全的Linux系统
如何来清除Linux系统命令的历史记录

Unix/Linux 中的 有没有可能突破扩展分区上逻辑分区15个的限制?


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 33 ::
收藏到网摘: n/a


一块SCSI硬盘最大分区只能分三个主分区加一个逻辑分区, 而逻辑分区上最多可分15个逻辑分区, 有没有可能突破这种限制分到/dev/sda16, dev/sda17...etc?
sakulagi 回复于:2004-12-31 09:07:41 这个是硬件限制。好像不能突破
idhly 回复于:2004-12-31 09:27:16 [quote:4fe9fbc6b7="sakulagi"]这个是硬件限制。好像不能突破[/quote:4fe9fbc6b7]
唉, 看来只有期待64位时代的早日到来了... :em16:
流氓无产者 回复于:2004-12-31 09:29:14 不会吧,应该是应用程序的限制吧,cfdisk和fdisk都限制到16个分区
另scsi应该是内核限制,/dev/sda只能分配minor0-15,16开始就是sdb拉
ide不存在,可到64个分区
idhly 回复于:2004-12-31 09:58:30 [quote:8add3c50ae="流氓无产者"]不会吧,应该是应用程序的限制吧,cfdisk和fdisk都限制到16个分区
另scsi应该是内核限制,/dev/sda只能分配minor0-15,16开始就是sdb拉
ide不存在,可到64个分区[/quote:8add3c50ae]
如果是软件限制, 那有可能通过修改内核编译参数或其他方法来突破这种限制吗?
chenzq1604 回复于:2004-12-31 10:05:38 楼上的你要那么多分区干嘛?15个还不够用吗?
q1208c 回复于:2004-12-31 10:09:35 64位没用吧? 得换硬盘吧?
再说了, 一块 146G的硬盘, 分16区, 有什么用么? 真正的商用系统,哪有要分这么多的呀.
idhly 回复于:2004-12-31 13:17:47 [quote:6372422d7b="q1208c"]64位没用吧? 得换硬盘吧?
再说了, 一块 146G的硬盘, 分16区, 有什么用么? 真正的商用系统,哪有要分这么多的呀.[/quote:6372422d7b]

840G的DISK ARRAY啊老大, 1,200G的硬盘我还用烦恼吗? :em16:
q1208c 回复于:2004-12-31 13:27:12 [quote:b0e7f0edc2="idhly"]
840G的DISK ARRAY啊老大, 1,200G的硬盘我还用烦恼吗? :em16:[/quote:b0e7f0edc2]
就算是 840G, 你想分那么多区做什么用呢?
用目录不一样么?
wolfop 回复于:2004-12-31 15:37:20 呵呵,看来是搞企业级别应用的,干嘛不用LVM,还用那种那么落后的逻辑分区管理。
pcreate
vgcreate
lvcreate
sakulagi 回复于:2004-12-31 16:33:13 流氓无产者 说的是对的:完整的解释可以看这里:
http://www.linux.org.za/Lists-Archives/glug-9705/msg00036.html
myforever 回复于:2004-12-31 18:22:16 确实如此 The logical drives within an extended partition are organized in a kind of linked list and there could be a potentially unlimited number of them if there were enough space on the disk to hold them. Linux has to adresse devices through major and minor device numbers, though. Major numbers select a driver, minor numbers are interpreted by the driver. The major and minor number are limited to 8 bit each. The SCSI driver uses a few bits of the minor number to select a SCSI device[color=red:79d9201c46](4 bits needed due to 16 possible devs on wide SCSI). [/color:79d9201c46]The remaining bits can select partitions on a disk, so it is 16 partitions total per disk on SCSI, one reserved for /dev/sd?, [color=red:79d9201c46]leaves you with 15 useable partitions altogether[/color:79d9201c46] (4 of them ) primary).