免费注册 查看新帖 |

Chinaunix

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

如何修改硬盘的device path,急! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-30 11:15 |显示全部楼层 |倒序浏览
主机型号:HP rp5430
原启动盘信息如下:
原启动的device path为:
  Primary boot path:    0/0/2/0.6           
   Alternate boot path:  0/0/2/0.2           
   Console path:         0/0/4/1.0           
   Keyboard path:        0/0/4/0.0   
故障:主机在重启后报错,提示找不到系统:sea
   Path#  Device Path (dec)  Device Path (mnem)  Device Type               Rev
   -----  -----------------  ------------------  -----------               ----
   P0     0/0/1/1.2          intscsib.2          Random access media       1                          
   P1     0/0/2/0.14         intscsia.14         Random access media       1                          
   P2     0/0/2/1.6                              Random access media       1  

用isl>hpux -lm /stand/vmunix可以启动到单用户模式.但是却无法正常启动到多用户模式启动报错如下:
#init 6
Checking for LVM volume groups and Activating (if any exist)
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c2t6d0":
The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c2t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vg00":
Quorum not present, or some physical volume(s) are missing.

Activated volume group
Volume group "/dev/vg01" has been successfully changed.
vxfs fsck: /dev/rroot is currently mounted
vxfs fsck: sanity check: /dev/rroot already mounted
Checking hfs file systems
/sbin/fsclean: device /dev/vg00/lvol1 not responding
我想如果可以将sea找到的p1 0/0/2/0.14的参数更改为0/0/2/0.6问题应该可以解决.请高手指教!

[ 本帖最后由 messages 于 2008-4-30 17:26 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-04-30 15:01 |显示全部楼层

回复 #2 swallowcn 的帖子

机器里面数据没用的.你的意思是要重装吗?

论坛徽章:
0
3 [报告]
发表于 2008-04-30 16:18 |显示全部楼层
原帖由 草原夜风 于 2008-4-30 15:36 发表
在10秒钟中断提示下,进入Main Menu,然后选择co,可以修改的


---- Main Menu ---------------------------------------------------------------
Command Description
------- -----------
BOot [PRI|A ...


刚刚进在尝试修改硬盘在启动时主机给它分配的SCSI ID号,我觉得如果修改成功了就可以了,这块硬盘原来的ID号是
0/0/2/0.6 ,他所对应的卷信息为/dev/dsk/c2t6d0,现在系统把他的ID号改为了0/0/2/0.14,而0.14所对应的卷信息是/dev/dsk/c2t14d0.这样子就算你用光盘来引导并做Recover an unbootable HP-UX system---
光盘在做恢复bootlif时报错
*********** Installing bootlif  ***********

/duped_root/.kshrc: mkboot: cannot execute
\ mkboot failed.



         Mkboot failed to update the bootlif!!
         You will be returned to the HP-UX Recovery MENU
你知道怎么修改他的SCSI ID号吗?

论坛徽章:
0
4 [报告]
发表于 2008-04-30 16:29 |显示全部楼层
原帖由 yy_lee8888 于 2008-4-30 16:15 发表
pa pri 0/0/2/0.6


pathe primary 0/0/2/0.6 只是将系统的启动盘设置的启动ID为0/0/2/0.6,但是系统分配给硬盘的SCSI ID依然是0/0/2/0.14
刚刚看了一下在ser这里好象可以改,service menu如下:
service Menu: Enter command > he scsi

------- SCSI Help -------------------------------------------------------------

        SCSI displays the SCSI controller parameters.  SCSI is also
        used to set parameters for a SCSI controller at a specified path.
        These parameters are used by the operating system SCSI driver.

        If a parameter is set to Unknown or a path is not in the table,
        a firmware suggested SCSI controller parameter is used by the
        SCSI driver.  The firmware suggested value for the initiator id is 7.
        The firmware suggested value for the scsi rate is FAST.

        The termination command is used to control the auto termination of
        SCSI controllers.  This only works on some SCSI controllers.

        SCSI                         Display all SCSI controller parms
        SCSI INITiator               Display SCSI controller initiator ids
        SCSI INITiator <path>        Display initiator id for specified path
        SCSI INITiator <path> <id>   Set initiator id for specified path
        SCSI RATE                    Display SCSI controller transfer rates
        SCSI RATE <path>             Display transfer rate for specified path
        SCSI RATE <path> <rate>      Set transfer rate for specified path
        SCSI DELETE <path>           Delete the specified path from the table
        SCSI TERMination             Display SCSI controller auto termination
        SCSI TERMination <path>      Display auto termination for specific path
        SCSI TERMination <path> ON   Enable auto termination for specific path
        SCSI TERMination <path> OFF  Disable auto termination for specific path

             <rate> is FAST, ULTRA, or NOLIMIT
             <path> is in I/O notation, such as 1/2/3/4 (SBA/LBA/DEV./FUNC.)

论坛徽章:
0
5 [报告]
发表于 2008-04-30 16:52 |显示全部楼层
*** pa pri修改的是系统的启动路径***
Configuration Menu: Enter command > pa pri 0/0/2/0.6

   Primary boot path:    intscsia.6         
                         0/0/2/0.6           
                         0/0/02/0.6     (hex)
***但是sea查找到的P1的device path 则是0/0/2/0.14***,我是想改这个.能改吗?
Configuration Menu: Enter command > sea

Searching for potential boot device(s)
This may take several minutes.

To discontinue search, press any key (termination may not be immediate).


                                                                           IODC
   Path#  Device Path (dec)  Device Path (mnem)  Device Type               Rev
   -----  -----------------  ------------------  -----------               ----
   P0     0/0/1/1.2          intscsib.2          Random access media       1                          
  P1     0/0/2/0.14         intscsia.14         Random access media       1                         
   P2     0/0/2/1.6                              Random access media       1

论坛徽章:
0
6 [报告]
发表于 2008-04-30 17:01 |显示全部楼层
原帖由 yy_lee8888 于 2008-4-30 16:45 发表
硬盘的指示灯是什么颜色?

hp server rp5430的主机硬盘没有指示灯的.只有主机的前面板有几个指示灯 .
LEDs:  RUN      ATTENTION     FAULT     REMOTE     POWER
         FLASH    FLASH         ON        ON         ON
LED State: Boot Failed.  Running non-OS code.  Non-critical error detected.

论坛徽章:
0
7 [报告]
发表于 2008-04-30 17:10 |显示全部楼层

回复 #12 yy_lee8888 的帖子

没有做mirror

论坛徽章:
0
8 [报告]
发表于 2008-04-30 17:36 |显示全部楼层
原帖由 yy_lee8888 于 2008-4-30 17:26 发表
你看看gsp里面的sl有什么报错?

gsp_log.rar (1.29 KB, 下载次数: 21)

论坛徽章:
0
9 [报告]
发表于 2008-04-30 17:58 |显示全部楼层

回复 #18 yy_lee8888 的帖子

# ioscan -fnC disk
Class     I  H/W Path      Driver S/W State   H/W Type     Description
======================================================================
disk      0  0/0/1/1.2.0   sdisk CLAIMED     DEVICE       IBM     HUS103030FL3800
                          /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0
disk      1  0/0/2/0.14.0  sdisk CLAIMED     DE
刚刚咨询了HP说device path 是不能改的.但是奇怪的是为什么disk path会变为0/0/2/0.14.0.

论坛徽章:
0
10 [报告]
发表于 2008-04-30 17:59 |显示全部楼层
硬盘在硬件上应该没问题的.如果重装系统的话就可以解决问题了,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP