Chinaunix

标题: [SOLARIS] 无法mount外置scsi硬盘,大家帮帮忙啊 [打印本页]

作者: shediaofan    时间: 2002-04-10 15:49
标题: solaris无法mount外置scsi硬盘,大家帮帮忙啊
solaris无法mount外置scsi硬盘
最近突然发现公司的一台sun服务器无法正常连接
到机房察看,发现主机的电源不知道什么时候已经关闭,但外置的
scsi硬盘店员依然是打开的。于是打开主机电源。启动时就发现系统无法自动mount外置硬盘。启动完毕后改用手工mount,依然提示无法找到设备。然后关掉主机,关掉外置硬盘的电源。再打开外置硬盘电源,打开主机。仍然提示相同的错误。拔掉scsi线,再插上,重启。问题依旧
各位老大看看,这是为什么阿。现在主管限期让我搞好,大家帮帮忙啊
作者: oramind    时间: 2002-04-11 02:05
make sure the external scsi drive is on.
reboot sun box, then stop-a to OK prompt, and probe-scsi and check if you can see the external scsi drive.  if yes, good.  if no, then something wrong with scsi drive or the cable.  double check cable connection.
if yes, boot -r to boot and rebuild device tree.

alternatively, if you box is already up now, try
touch /reconfigure
reboot -- -r

(only one command is needed, but type both to be sure)
作者: oramind    时间: 2002-04-11 02:06
also, if you don\'t want to reboot, you can type these commands:
drvconfig;disks;devlinks
作者: shediaofan    时间: 2002-04-11 08:03
thank you .but what is the meaning of \"probe-scsi \"
作者: shediaofan    时间: 2002-04-11 09:33
我到了ok状态。用probe-scsi也可以看到外置的硬盘,但是boot -r 后问题依旧
作者: clu65    时间: 2002-04-11 10:23
标题: solaris无法mount外置scsi硬盘,大家帮帮忙啊
What do you mean mount \"scsi harddrive\", can you see the hard drive when you run format?

What type of Sun Server you have? What type of disk array attached to your system?

If you can not mount file system on those hard drives, try to run fsck first, and then mount.
作者: shediaofan    时间: 2002-04-11 12:46
i can\'t see  the hard drive when  run format
作者: clu65    时间: 2002-04-11 20:50
标题: solaris无法mount外置scsi硬盘,大家帮帮忙啊
Try to connect the external disk array to other system to see if you can see the disks. If you can, check the setting \"pci-slot-skip-list\" and \"pci0-probe-list\" on E 250, 450. Or \"sbus-probe-default\" .

The purpose of this is to make sure the SCSI adapter is on the either PCI or SBUS probe list.

Another thing, please provide more detailed system configuration information, otherwise, it is hard for us to help you out.
作者: jghos    时间: 2002-04-12 09:14
看外置硬盘好像要用 probe-scsi-all 吧,probe-scsi 只能看内置硬盘。你确信能在ok下看到外置硬盘吗?从你提供的信息,我感觉是硬盘物理损坏了(很不幸),所以我很怀疑你是否真的在ok状态下看到了该硬盘。另:如果是外置磁盘阵列,你还可以试试更换槽位
作者: jghos    时间: 2002-04-12 09:14
看外置硬盘好像要用 probe-scsi-all 吧,probe-scsi 只能看内置硬盘。你确信能在ok下看到外置硬盘吗?从你提供的信息,我感觉是硬盘物理损坏了(很不幸),所以我很怀疑你是否真的在ok状态下看到了该硬盘。另:如果是外置磁盘阵列,你还可以试试更换槽位及检查阵列卡。
作者: shediaofan    时间: 2002-04-12 13:05
对我用的就是
probe-scsi-all
作者: oramind    时间: 2002-04-13 00:13
should be probe-scsi-all.  i wasn\'t thinking, not too hard anyway

one thing, you should try is changing scsi id on the disk, and make sure probe-scsi-all will see the new scsi-id as well.  (of course, use a different one than the rest on the same chain.)

if probe-scsi-all can see it, it means at least the chip is reporting back something, so not necessarily mean the hard drive is still good.

btw, what kind of hard drive is it?  you should give us more info.

then boot -r again, and run format, and see if you see the drive.  if you still don\'t, i really don\'t know what to say.

there is this /etc/path_to_inst file, or something like that, you can play with. but i haven\'t touched it in a while, and don\'t remember much.  you really have to know what you are doing before touching that file.  anyway, try the steps above again, and let us know how it goes.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2