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

Unix/Linux
没有发现 PHP 的扩展设置mbstring
apache it works
information_schema
linux apache启动命令
linux 如何查看硬盘大小
Blocks是什么意思
fdisk对硬盘分区
linux查看目录大小及硬盘大小
linux目录结构
修改linux用户密码
如何安装linux系统
fstab 格式
安装完samba如何从linux访问WINDOWS共享文件夹
/root
linux top命令参数
dd 参数使用
linux分区详解
iptables中文手册
IPTABLES配置实例
mysql如何建立数据库

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


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