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

Unix/Linux
Linux crontab定时执行任务 命令格式与详细例子
linux 查看用户及用户组的方法
让Linux系统有效防御ARP攻击的实用技巧
Linux 常用软件列表
linux wget 一个强大的下载命令
linux 常用脚本、命令
linux 磁盘配额 简单介绍
Linux服务器架设笔记 Squid服务器配置
ubuntu intel 集成显卡安装
ubuntu 9.04 X3100 显卡开启3D特效
Ubuntu 8.10 Server Ruby 的安装方法
Ubuntu root帐户密码修改
ubuntu下apt-get 命令参数
Ubuntu Linux下实现QQ的三种方式
Ubuntu 8.04中建立PHP+MySQL环境
Ubuntu常用软件大全
Ubuntu系统下安装Aircrack-ng
Ubuntu实现FTP功能
ubuntu 字体美化实现方法
ubuntu下netbeans汉字显示残缺问题

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 38 ::
收藏到网摘: 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).