关于solaris不支持多个lun的问题,解决方法,共享(原创)

weixin_38085511 2002-06-14 12:23:51

[这个贴子最后由南非蜘蛛在 2002/12/17 07:34pm 编辑]

如何解决solaris不支持多个lun的方法

作者:南非蜘蛛 zhedou@sohu.com
个人主页:http://www.douzhe.com
转载请保留作者信息

我得机器配置dell6400,adaptec的perc2 raid 卡,外加一个dell 221的阵列,机器内部8块73G硬盘,外部14块73G硬盘,总容量1T多,系统sol2.7x86,perc2的raid卡化了22个container,solaris2.7只能认识8个lun,郁闷。。。。。
手动修改/kernel/drv/sd.conf文件,一个lun只支持15个target,不用多写,具体修改如下

# more /kernel/drv/sd.conf
#
# ident "@(#)sd.conf    1.17    98/08/10 SMI"
#
# Copyright (c) 1998 by Sun Microsystems, Inc.
# All rights reserved.
#

name="sd" class="scsi" target=0 lun=0;
name="sd" class="scsi" target=1 lun=0;
name="sd" class="scsi" target=2 lun=0;
name="sd" class="scsi" target=3 lun=0;
name="sd" class="scsi" target=4 lun=0;
name="sd" class="scsi" target=5 lun=0;
name="sd" class="scsi" target=6 lun=0;
name="sd" class="scsi" target=7 lun=0;
name="sd" class="scsi" target=8 lun=0;
name="sd" class="scsi" target=9 lun=0;
name="sd" class="scsi" target=10 lun=0;
name="sd" class="scsi" target=11 lun=0;
name="sd" class="scsi" target=12 lun=0;
name="sd" class="scsi" target=13 lun=0;
name="sd" class="scsi" target=14 lun=0;
name="sd" class="scsi" target=15 lun=0;

name="sd" class="scsi" target=0 lun=1;
name="sd" class="scsi" target=1 lun=1;
name="sd" class="scsi" target=2 lun=1;
name="sd" class="scsi" target=3 lun=1;
name="sd" class="scsi" target=4 lun=1;
name="sd" class="scsi" target=5 lun=1;
name="sd" class="scsi" target=6 lun=1;
name="sd" class="scsi" target=7 lun=1;
name="sd" class="scsi" target=8 lun=1;
name="sd" class="scsi" target=9 lun=1;
name="sd" class="scsi" target=10 lun=1;
name="sd" class="scsi" target=11 lun=1;
name="sd" class="scsi" target=12 lun=1;
name="sd" class="scsi" target=13 lun=1;
name="sd" class="scsi" target=14 lun=1;
name="sd" class="scsi" target=15 lun=1;


name="sd" class="scsi" target=0 lun=2;
name="sd" class="scsi" target=1 lun=2;
name="sd" class="scsi" target=2 lun=2;
name="sd" class="scsi" target=3 lun=2;
name="sd" class="scsi" target=4 lun=2;
name="sd" class="scsi" target=5 lun=2;
name="sd" class="scsi" target=6 lun=2;
name="sd" class="scsi" target=7 lun=2;

name="sd" class="scsi" target=0 lun=3;
name="sd" class="scsi" target=1 lun=3;
name="sd" class="scsi" target=2 lun=3;
name="sd" class="scsi" target=3 lun=3;
name="sd" class="scsi" target=4 lun=3;
name="sd" class="scsi" target=5 lun=3;
name="sd" class="scsi" target=6 lun=3;
name="sd" class="scsi" target=7 lun=3;

name="sd" parent="blogic" target=0 lun=0;
name="sd" parent="blogic" target=1 lun=0;
name="sd" parent="blogic" target=2 lun=0;
name="sd" parent="blogic" target=3 lun=0;
name="sd" parent="blogic" target=4 lun=0;
name="sd" parent="blogic" target=5 lun=0;
name="sd" parent="blogic" target=6 lun=0;

name="sd" parent="flashpt" target=0 lun=0;
name="sd" parent="flashpt" target=1 lun=0;
name="sd" parent="flashpt" target=2 lun=0;
name="sd" parent="flashpt" target=3 lun=0;
name="sd" parent="flashpt" target=4 lun=0;
name="sd" parent="flashpt" target=5 lun=0;
name="sd" parent="flashpt" target=6 lun=0;

touch /reconfigure
reboot
然后认到了22个container,好像sun的网站提供sd.conf文件的补丁,我试了,但是不行

sparc的机器也会有此问题,解决如下

8 LUNS with Solaris 2.7/E250/A1000/RAID 6.1.1 Update 2

Thanks to Andreas Sinderman (who responded immediately to the ssa-managers
mail) and Mark Reid at Sun (who responded to my service call).

Andreas had it mostly right. The Tpatch (T106925-03) coupled with the other
required configuration file changes fixed things (I got the Tpatch from Mark).

Solaris 7 doesn't support more than 16 LUNS.

In addition to the Tpatch, you need to have the following:

* Appropriate entries in /kernel/drv/sd.conf -- manually type them in (like
  I did) or run add16luns.sh from the Tools directory on the Raid Manager
  software cd.

* create/edit /kernel/drv/glm.conf to have:

device-type-scsi-options-list =
    "Symbios StorEDGE A1000", "lsi-scsi-options",
    "Symbios StorEDGE A3000", "lsi-scsi-options",
    "SYMBIOS RSM Array 2000", "lsi-scsi-options";
lsi-scsi-options = 0x407f8;

* change the /etc/osa/rmparams to have 16 MaxLuns instead of 8:

System_MaxLunsPerController=16

All this and boot -r. I found that the /dev/dsk links for disks 8 and up were
not created at boot time, but were created as LUNS using these disk numbers
were created.

lauradel

我没有测试过,如果可以,请告诉大家方法吧
...全文
43 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
内容概要:本文深入探讨了DMA高效数据传输实现方案在高性能计算芯片领域的应用与架构创新,重点分析了缓存一致性DMA、多通道DMA架构及其在数据中心SmartNIC、存算一体芯片和Chiplet互连等场景中的实践。文章结合RISC-V架构,通过Chisel硬件描述语言和C语言驱动代码,展示了多通道DMA控制器的设计与实现,涵盖仲裁机制、AXI总线适配、分散-聚集传输模式及中断处理等核心技术,并强调了性能优化与验证方法。最后展望了AI调度、光互连、近存计算与安全DMA等未来发展方向。; 适合人群:具备数字电路与计算机体系结构基础,从事芯片设计、嵌入式开发或高性能计算相关工作的研发人员,尤其是有1-5年经验的工程师与研究人员。; 使用场景及目标:①理解DMA在突破“内存墙”和降低系统能耗中的关键技术路径;②掌握多通道DMA控制器的硬件设计与驱动开发方法;③应用于SmartNIC、AI加速器、Chiplet等高性能芯片系统的数据传输架构设计;④为构建高带宽、低延迟、高能效的异构计算平台提供参考。; 阅读建议:此资源融合硬件设计与软件驱动,建议结合Chisel仿真与RISC-V平台实操,重点关注DMA与缓存一致性、异构计算单元的协同机制,并通过性能计数器与错误注入手段进行系统级验证。
内容概要:本文围绕基于共享储能服务的智能楼宇双层优化配置展开研究,通过Matlab代码实现相应的数学建模与仿真分析,提出一种结合上层规划与下层运行的协同优化框架,旨在提升智能楼宇能源系统的经济性、能效水平与电网互动能力。研究充分考虑光伏发电、负荷需求、储能充放电等多元因素,采用先进的优化算法(如智能优化算法)对共享储能资源的容量配置与运行调度进行精细化决策,有效降低用能成本,提高可再生能源消纳率,并增强系统运行的稳定性与灵活性。全文涵盖模型构建、算法设计、求解流程及结果验证,具备较高的理论深度与工程应用价值; 适合人群:具备电力系统、能源管理、优化算法等相关背景的科研人员、研究生,以及从事智能电网、综合能源系统、建筑节能等领域的工程技术人员; 使用场景及目标:①用于智能楼宇及园区级能源系统的规划与运行优化研究;②支撑共享储能机制下的资源配置、经济调度与商业模式设计;③作为Matlab仿真教学与高水平论文复现的典型案例,帮助深入理解双层优化模型、主从博弈结构及智能算法在能源系统中的应用; 阅读建议:建议结合提供的Matlab代码进行同步学习与调试,重点关注上下层模型的耦合关系与迭代求解过程,可进一步拓展至多主体协同、不确定性建模(如风光出力波动)及鲁棒优化等前沿方向开展深化研究。
内容概要:本文《【故障检测】基于 KPCA 的故障检测【T2 和 Q 统计指数的可视化】(Matlab代码实现)》系统阐述了基于核主成分分析(KPCA)的非线性故障检测方法,重点实现了T²和Q统计量的构建与可视化过程。通过Matlab编程,将高维非线性数据映射至特征空间,提取主成分并建立监控模型,利用T²和Q指数对工业过程中的异常状态进行联合监测与诊断,有效提升了复杂系统中早期故障的识别能力,具有较强的工程实用性与理论参考价值。; 适合人群:适用于具备信号处理、控制工程或工业过程监测背景,熟悉Matlab编程语言,并从事故障诊断、智能运维、自动化系统研发等相关工作的研究生、科研人员及工程技术开发者。; 使用场景及目标:①应用于化工、电力、制造等流程工业中的关键设备状态监控与早期故障预警;②作为学术研究中KPCA算法的仿真验证平台,用于对比分析不同非线性降维方法的检测性能;③深化对非线性过程监控中统计指标设计与阈值判定机制的理解与实践应用。; 阅读建议:建议读者结合所提供的Matlab代码逐模块运行与调试,深入掌握KPCA建模流程、主成分子空间划分及T²、Q统计量的计算逻辑,鼓励在标准数据集(如TE过程)上复现实验结果,并尝试扩展至其他非线性场景以提升模型泛化能力。

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧