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

Unix/Linux
使用yum把内核升级到Kernel 2.6.0test9
请问如何在vi中做到高亮显示?
Firefly 的Xft2 for Fedora下载安装
如何设置cygwin控制台字体高亮显示?
SWT(implemented with gtk)的可视化控件的X11窗口句柄
发现PUTTY的一个弱点
rh9.0的apache怎么没有htdoc这个文件夹啊
网络字节序的问题
linux filesystem 1TB limited?
防火墙iptables的一个有些难度的问题(虚心请教高手)
总结INIT :Id "2" respawing too fast :disable for 5
编译完内核让它支持ntfs之后,只需要make dep就可以吗?
在Virtual PC 5.2上配置Debian的网络
如何设置同一用户同一时间只能有一个人登陆啊??
讨论一下:mount 时会不会提示本地目录已经mount了一个了?
can't add this user?why?
有没有可能突破扩展分区上逻辑分区15个的限制?
1.网友文章:一Linux系统的入侵分析 (2002年6月11日)
Debian参考手册
提供在turbolinux7.0下安装拨号服务器的方法!

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


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