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

Unix/Linux
linux查看内存的大小
在linux下写的代码,用的是utf-8,结果拿到XP下运行的时候,所有的中文都成乱码
linux su和sudo命令的区别
linux cron 下的定时执行工具使用技巧
linux 查找进程及终止进程操作的相关命令
redhat linux 安装 gcc编译器
Linux Mplayer播放各种格式的电影
一起回顾一下linux常用命令
Linux 网站项目发布要做哪些配置
linux SSH配合SecureCRT的密匙完美使用方法
GD 编译出错解决方法
Facebook Open Platform编译FAQ
Linux 系统硬盘 优化
linux 挂载详解
linux crontab定时命令
Linux 系统中确保访问三级域名畅通的方法
Linux 特权帐号VS普通帐号
确保Linux系统安全的前提条件 漏洞防护
Linux 监视系统资源使用率
Red Hat Linux上使用BIND建立DNS服务器

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


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