免费注册 查看新帖 |

Chinaunix

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

format看不到部分磁盘 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-26 00:02 |只看该作者 |倒序浏览
今天,处理一台故障e450,内有磁盘6个,0号盘是根盘,1号盘当是没用,2-5号原来是做的raid5(SDS),该主机更换了主板,现在在ok状态下 probe-scsi-all能看到6块盘,但是在系统里format看不到2-5号盘了!0-1号盘(没做mirror)能看到!\r\n\r\n ok probe-scsi-all\r\n/pci@1f,2000/scsi@1,1\r\nTarget 0 \r\n  Unit 0   Disk     FUJITSU MAJ3182M SUN18G 08040030P1003\r\nTarget 1 \r\n  Unit 0   Disk     FUJITSU MAJ3182M SUN18G 08040030P1064\r\n\r\n/pci@1f,2000/scsi@1\r\nTarget 0 \r\n  Unit 0   Disk     FUJITSU MAJ3182M SUN18G 08040030P9841\r\nTarget 1 \r\n  Unit 0   Disk     FUJITSU MAJ3182M SUN18G 08040030P1346\r\n\r\n/pci@1f,4000/scsi@2\r\nTarget 4 \r\n  Unit 0   Removable Tape     HP      C1537A          L706  62\r\nTarget 6 \r\n  Unit 0   Removable CD-ROM    TOSHIBA XM6201TASUN32XCD110312/12/97\r\n\r\n/pci@1f,4000/scsi@3\r\nTarget 0 \r\n  Unit 0   Disk     SEAGATE ST39204LC       00063BV0ZG0P\r\nTarget 1 \r\n  Unit 0   Disk     SEAGATE ST39204LC       00063BV0ZD27\r\n\r\n\r\n\r\n\r\n[cdbg][root][/]>format\r\nSearching for disks...done\r\n\r\n\r\nAVAILABLE DISK SELECTIONS:\r\n       0. c0t0d0 <SUN9G cyl 7450 alt 2 hd 10 sec 237>\r\n          /pci@1f,4000/scsi@3/sd@0,0\r\n       1. c0t1d0 <SUN9G cyl 7450 alt 2 hd 10 sec 237>\r\n          /pci@1f,4000/scsi@3/sd@1,0\r\nSpecify disk (enter its number): ^D

论坛徽章:
0
2 [报告]
发表于 2009-06-26 00:30 |只看该作者
另外,我已经在重启的时候reboot -- -r\r\n\r\ncdbg][root][/]>reboot -- -r\r\nJun 25 22:31:31 cdbg reboot: rebooted by root\r\nJun 25 22:31:31 rpcbind: rpcbind terminating on signal.\r\nJun 25 22:31:31 cdbg syslogd: going down on signal 15\r\nsyncing file systems... done\r\nrebooting...\r\nResetting ... \r\n\r\n\r\n\r\n\r\nok boot -- -r\r\nResetting ... \r\n\r\n\r\n\r\n\r\n[cdbg][root][/]>format\r\nSearching for disks...done\r\n\r\n\r\nAVAILABLE DISK SELECTIONS:\r\n       0. c0t0d0 <SUN9G cyl 7450 alt 2 hd 10 sec 237>\r\n          /pci@1f,4000/scsi@3/sd@0,0\r\n       1. c0t1d0 <SUN9G cyl 7450 alt 2 hd 10 sec 237>\r\n          /pci@1f,4000/scsi@3/sd@1,0\r\nSpecify disk (enter its number): ^D\r\n[cdbg][root][/]>exit

论坛徽章:
0
3 [报告]
发表于 2009-06-26 00:34 |只看该作者
这是之前的状况!\r\nRebooting with command: boot cdrom -s                                 \r\nBoot device: /pci@1f,4000/scsi@2/disk@6,0:f  File and args: -s\r\nSunOS Release 5.8 Version Generic_108528-29 64-bit\r\nCopyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.\r\nConfiguring /dev and /devices\r\nTSI: gfxp0 is GFX8P @ 1152x900\r\nUsing RPC Bootparams for network configuration information.\r\nConfigured interface hme0\r\n\\\r\nINIT: SINGLE USER MODE\r\n# df -k\r\nFilesystem            kbytes    used   avail capacity  Mounted on\r\n/pci@1f,4000/scsi@2/disk@6,0:b\r\n                       85194   78050       0   100%    /\r\nswap                 1971128     240 1970888     1%    /tmp\r\nproc                       0       0       0     0%    /proc\r\nmnttab                     0       0       0     0%    /etc/mnttab\r\n/tmp/devices         1971128     240 1970888     1%    /devices\r\n/tmp/dev             1971128     240 1970888     1%    /dev\r\n/devices/pci@1f,4000/scsi@2/sd@6,0:a\r\n                      503232  503232       0   100%    /cdrom\r\n/cdrom/Solaris_8/Tools/Boot/usr\r\n                      503232  503232       0   100%    /usr\r\nfd                         0       0       0     0%    /dev/fd\r\n# format\r\nSearching for disks...done\r\n\r\n\r\nAVAILABLE DISK SELECTIONS:\r\n       0. c0t0d0 <SUN9G cyl 7450 alt 2 hd 10 sec 237>\r\n          /pci@1f,4000/scsi@3/sd@0,0\r\n       1. c0t1d0 <SUN9G cyl 7450 alt 2 hd 10 sec 237>\r\n          /pci@1f,4000/scsi@3/sd@1,0\r\n       2. c2t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>\r\n          /pci@1f,2000/scsi@1/sd@0,0\r\n       3. c2t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>\r\n          /pci@1f,2000/scsi@1/sd@1,0\r\n       4. c3t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>\r\n          /pci@1f,2000/scsi@1,1/sd@0,0\r\n       5. c3t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>\r\n          /pci@1f,2000/scsi@1,1/sd@1,0\r\nSpecify disk (enter its number): ^D

论坛徽章:
0
4 [报告]
发表于 2009-06-26 09:15 |只看该作者
在OK下执行set-defaults 然后reset-all看看。

论坛徽章:
0
5 [报告]
发表于 2009-06-26 09:46 |只看该作者
2-5的物理地址和0-1的不一样,是不是有什么线没有连接好!

论坛徽章:
0
6 [报告]
发表于 2009-06-26 09:58 |只看该作者
。。。 同楼上!现场中 经常会有些机器  把所有连线 重新插拨后 一切OK

论坛徽章:
0
7 [报告]
发表于 2009-06-26 11:01 |只看该作者
可能是跟主板有关系,请重新确认一下该主板的产品号是不是跟原来的一致,之前更换过SUNV880的硬盘背板也出现过类似的问题.\r\n\r\n你的probe-scsi-all输出不正常...\r\nok probe-scsi-all\r\n/pci@1f,2000/scsi@1,1\r\nTarget 0 \r\n  Unit 0   Disk     FUJITSU MAJ3182M SUN18G 08040030P1003\r\nTarget 1 \r\n  Unit 0   Disk     FUJITSU MAJ3182M SUN18G 08040030P1064\r\n\r\n/pci@1f,2000/scsi@1\r\nTarget 0 \r\n  Unit 0   Disk     FUJITSU MAJ3182M SUN18G 08040030P9841\r\nTarget 1 \r\n  Unit 0   Disk     FUJITSU MAJ3182M SUN18G 08040030P1346\r\n\r\n/pci@1f,4000/scsi@2\r\nTarget 4 \r\n  Unit 0   Removable Tape     HP      C1537A          L706  62\r\nTarget 6 \r\n  Unit 0   Removable CD-ROM    TOSHIBA XM6201TASUN32XCD110312/12/97\r\n\r\n/pci@1f,4000/scsi@3\r\nTarget 0 \r\n  Unit 0   Disk     SEAGATE ST39204LC       00063BV0ZG0P\r\nTarget 1 \r\n  Unit 0   Disk     SEAGATE ST39204LC       00063BV0ZD27

论坛徽章:
0
8 [报告]
发表于 2009-06-26 12:24 |只看该作者
问题已解决!就是一条命令:devfsadm -C\r\n气死我了!reboot -- -r和 ok boot -- -r 不一样啊!(一般这两个要有效些的挖)\r\n另外,这台机器接了个scsi卡,插在两个不同的pci插槽cXt0d0s0(X会变)可能能回答9楼的疑问.

论坛徽章:
0
9 [报告]
发表于 2009-06-28 13:23 |只看该作者
boot -r是识别新设备,devfsadm -C除了识别新设备,还把以前把掉但遗留的设备给清除掉。估计LZ的2-5号盘在系统里有久的遗留

论坛徽章:
0
10 [报告]
发表于 2009-06-29 10:44 |只看该作者
路过。。学习一下。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP