免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2248 | 回复: 6
打印 上一主题 下一主题

设备树问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-28 16:01 |只看该作者 |倒序浏览
在V445上装了系统(2张73G硬盘,做过镜像)。系统可以成功从disk0和disk1上启动。又有一台T2000,但是少启动的硬盘,就从V445上拆一块下来装上。结果发现无法启动。怀疑为设备树问题需要更新。可以进单用户模式,但是不想重装系统。
OK下读到的设备
{11} ok probe-scsi-all
This command may hang the system if a Stop-A or halt command
has been executed.  Please type reset-all to reset the system
before executing this command.
Do you wish to continue? (y/n) y
/pci@780/pci@0/pci@9/scsi@0

MPT Version 1.05, Firmware Version 1.09.00.00

Target 0
Unit 0   Disk     FUJITSU MAY2073RCSUN72G 0501    143374738 Blocks, 73 GB
  SASAddress 500000e016739082  PhyNum 0



boot disk 时提示的报错



Boot device: /pci@780/pci@0/pci@9/scsi@0/disk@0  File and args:

Can't open boot_archive

Evaluating:
The file just loaded does not appear to be executable.
{0} ok boot net -s


我也不知道错在哪里,只能保证,肯定硬件都没有问题。然后像这样有系统的硬盘换到另一台机器上尝试直接启动能不能行我也不清楚。希望大家给看看呗~~

论坛徽章:
0
2 [报告]
发表于 2011-12-28 16:12 |只看该作者
v445是sun4u结构,T2000是sun4v,恐怕比较难

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
3 [报告]
发表于 2011-12-28 16:20 |只看该作者
I think, if you created one hardware RAID volume in V445, and you move around this member disk to another box, you must activate this RAID volume. Otherwise this hard raid volume is invisible by default. Please try :




To Activate LSI RAID Volumes for SPARC Server Blades

    Go to the OBP prompt.

    At the command line, set the auto-boot? and fcode-debug? variables to false and reset the system.

    ok setenv auto-boot? false

    auto-boot? = false

    ok setenv fcode-debug? true

    fcode-debug? = true

    ok reset-all

    Find the path to the controller.

    ok show-disks

    a) /pci@0/pci@0/pci@2/LSILogic,sas@0/disk

    b) /pci@0/pci@0/pci@1/pci@0/usb@1,2/storage@1/disk

    q) NO SELECTION

    Enter Selection, q to quit: q

    ok

    Note - You are looking for the path to the controller. For the T6320 and T6340 blades it contains the phrase “LSILogic,sas@0”. For the T6300 blade, it contains the phrase “scsi@0“.

    Select the controller.

    ok select /pci@0/pci@0/pci@2/LSILogic,sas@0

    Show the volumes, looking for any that are inactive.

    ok show-volumes

    Activate the inactive volumes. Repeat the command to activate all inactive volumes. For example, to activate volume number 1 type:

    ok 1 activate-volume

    Note - There might be more than two inactive RAID volumes, but you cannot activate more than two.

    Deselect the controller.

    ok unselect-dev

    Set the auto-boot? and fcode-debug? variables to true and reset the system.

    ok setenv auto-boot? true

    auto-boot? = true

    ok setenv fcode-debug? true

    fcode-debug? = true

    ok reset-all

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
4 [报告]
发表于 2011-12-28 16:21 |只看该作者

论坛徽章:
0
5 [报告]
发表于 2011-12-28 22:35 |只看该作者
哇塞,谢谢各位支持,我明天去试试。。真心谢~·

论坛徽章:
0
6 [报告]
发表于 2011-12-29 09:59 |只看该作者
不行啊!!
{0} ok show-disks
a) /pci@7c0/pci@0/pci@1/pci@0/ide@8/cdrom
b) /pci@7c0/pci@0/pci@1/pci@0/ide@8/disk
c) /pci@780/pci@0/pci@9/scsi@0/disk
q) NO SELECTION

{0} ok select /pci@7c0/pci@0/pci@1/pci@0/ide@8/disk
Can't read disk label.
Can't open disk label package
Can't open device

Enter Selection, q to quit: q
{0} ok select /pci@780/pci@0/pci@9/scsi@0/disk
{0} ok show-volume
show-volume ?
{0} ok show-volumes
show-volumes ?
{0} ok show-volumes

难道说我本来镜像就有可能没做好~~

论坛徽章:
0
7 [报告]
发表于 2011-12-29 09:59 |只看该作者
可是,我从单用户模式下把盘挂载上去看到里面确实有系统呀~~为什么就是起不来呢!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP