免费注册 查看新帖 |

Chinaunix

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

如何修改硬盘的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 14:36 |只看该作者

机器上边数据有没有用嘛!

机器上边数据有没有用嘛!

没用的话就不管它,

论坛徽章:
0
3 [报告]
发表于 2008-04-30 15:01 |只看该作者

回复 #2 swallowcn 的帖子

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

论坛徽章:
0
4 [报告]
发表于 2008-04-30 15:29 |只看该作者
能更详细吗?

论坛徽章:
0
5 [报告]
发表于 2008-04-30 15:36 |只看该作者
在10秒钟中断提示下,进入Main Menu,然后选择co,可以修改的


---- Main Menu ---------------------------------------------------------------
Command Description
------- -----------
BOot [PRI|ALT|<path>] Boot from specified path
PAth [PRI|ALT] [<path>] Display or modify a path
SEArch [DIsplay|IPL] [<path>] Search for boot devices
COnfiguration menu Displays or sets boot values
INformation menu Displays hardware information
SERvice menu Displays service commands
DIsplay Redisplay the current menu
HElp [<menu>|<command>] Display help for menu or command
RESET

论坛徽章:
0
6 [报告]
发表于 2008-04-30 16:15 |只看该作者
pa pri 0/0/2/0.6

论坛徽章:
0
7 [报告]
发表于 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
8 [报告]
发表于 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
9 [报告]
发表于 2008-04-30 16:39 |只看该作者
co>pa pri 0/0/2/0.6
可以更改

论坛徽章:
0
10 [报告]
发表于 2008-04-30 16:45 |只看该作者
硬盘的指示灯是什么颜色?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP