免费注册 查看新帖 |

Chinaunix

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

mediainit低格磁盘后,看不到容量了。我那个恨啊! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-08 17:14 |只看该作者 |倒序浏览
HPUX系统上每个盘为什么要分EFI,HPUX分区呢?就象ioscan -funC disk看到的:
Class     I  H/W Path       Driver     S/W State   H/W Type     Description
============================================================================
disk      0  0/0/2/0.0.0.0  sdisk      CLAIMED     DEVICE       TEAC    DV-28E-B
                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
disk      3  0/1/1/0.0.0    sdisk      CLAIMED     DEVICE       MAXTOR  ATLAS10K4_36SCA
                           /dev/dsk/c2t0d0     /dev/rdsk/c2t0d0  
                           /dev/dsk/c2t0d0s1   /dev/rdsk/c2t0d0s1
                           /dev/dsk/c2t0d0s2   /dev/rdsk/c2t0d0s2
                           /dev/dsk/c2t0d0s3   /dev/rdsk/c2t0d0s3
disk      1  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD036863AC
                           /dev/dsk/c2t1d0     /dev/rdsk/c2t1d0  
                           /dev/dsk/c2t1d0s1   /dev/rdsk/c2t1d0s1
                           /dev/dsk/c2t1d0s2   /dev/rdsk/c2t1d0s2
                           /dev/dsk/c2t1d0s3   /dev/rdsk/c2t1d0s3
disk      2  0/1/1/1.2.0    sdisk      CLAIMED     DEVICE       HP 146 GST3146807LC
                           /dev/dsk/c3t2d0     /dev/rdsk/c3t2d0  
                           /dev/dsk/c3t2d0s1   /dev/rdsk/c3t2d0s1
                           /dev/dsk/c3t2d0s2   /dev/rdsk/c3t2d0s2
                           /dev/dsk/c3t2d0s3   /dev/rdsk/c3t2d0s3

我怎么把/dev/rdsk/c3t2d0 盘上的/dev/rdsk/c3t2d0s1,/dev/rdsk/c3t2d0s2,/dev/rdsk/c3t2d0s3删掉呢??

现在问题是我之前用mediainit低格了一下/dev/dsk/c3t2d0
由于没有成功,现在看不到容量了。
要不我再mediainit一下?还是有什么其他快速格式化工具,或是其他办法? 郁闷!


[ 本帖最后由 gaoshixing 于 2009-4-9 10:35 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-04-08 17:52 |只看该作者
我的意思是把/dev/rdsk/c3t2d0盘直接做裸磁盘。删除那些EFI分区等,它又不是启动盘。我觉得没必要。
用IDISK -R /dev/rdsk/c3t2d0不知道可以不?
还有:怎么直接删除硬盘路径?问的问题可能有点乱,还情大家指导。

论坛徽章:
0
3 [报告]
发表于 2009-04-08 17:53 |只看该作者
当然不能删除了,你这是IA的系统,CPU是INTEL的,第一个是EFI区,启动用的

论坛徽章:
0
4 [报告]
发表于 2009-04-08 22:20 |只看该作者
我看你是这3个盘都做了分区
你看下vg00是哪个盘?
如果哪个盘不在vg00中可以把分区信息干掉

#idisk -R /dev/rdsk/cxtxtx
#rmsf -H 硬件路径
#insf -e
#ioscan -fnC disk

论坛徽章:
0
5 [报告]
发表于 2009-04-09 09:09 |只看该作者
多谢楼上兄弟们的指导
我的/dev/rdsk/c3t2d0这块盘当然不在VG00里。
昨天对它进行mediainit,结果没成功。很害怕盘废了。。。。
IDISK -R /dev/rdsk/c3t2d0后提示
idisk: Unable to get describe data
我用diskinfo看不到盘的容量。cstm,mstm都看了,好象盘不行了。。。
郁闷,这不是想办法,把它的分区删除,删掉路径再重新insf一下。希望能有奇迹。。。
mediainit不成功盘就真的废了吗?有没有快速格式化盘的命令呢?
谢谢大家!

论坛徽章:
0
6 [报告]
发表于 2009-04-09 09:16 |只看该作者
我rmsf硬件路进后,用ioscan -funC disk看到如下:
Class     I  H/W Path       Driver     S/W State   H/W Type     Description
============================================================================
disk      0  0/0/2/0.0.0.0  sdisk      CLAIMED     DEVICE       TEAC    DV-28E-B
                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
disk      3  0/1/1/0.0.0    sdisk      CLAIMED     DEVICE       MAXTOR  ATLAS10K4_36SCA
                           /dev/dsk/c2t0d0     /dev/rdsk/c2t0d0  
                           /dev/dsk/c2t0d0s1   /dev/rdsk/c2t0d0s1
                           /dev/dsk/c2t0d0s2   /dev/rdsk/c2t0d0s2
                           /dev/dsk/c2t0d0s3   /dev/rdsk/c2t0d0s3
disk      1  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD036863AC
                           /dev/dsk/c2t1d0     /dev/rdsk/c2t1d0  
                           /dev/dsk/c2t1d0s1   /dev/rdsk/c2t1d0s1
                           /dev/dsk/c2t1d0s2   /dev/rdsk/c2t1d0s2
                           /dev/dsk/c2t1d0s3   /dev/rdsk/c2t1d0s3
disk      2  0/1/1/1.2.0    sdisk      CLAIMED     DEVICE       HP 146 GST3146807LC

请问,现在我怎么知道这盘是好还是坏?想用diskinfo也不行,想idisk重新分区也不行啊?本人菜鸟。。谢谢

论坛徽章:
0
7 [报告]
发表于 2009-04-09 09:25 |只看该作者
看到syslog.log里内容如下:
CURRENT MONITOR DATA:

Event Time..........: Thu Apr  9 09:25:09 2009
Severity............: SERIOUS
Monitor.............: disk_em
Event #.............: 100038              
System..............: rx2600

Summary:
    Disk at hardware path 0/1/1/1.2.0 : Media failure


Description of Error:

     The format of the medium in the device is corrupt. The medium is unusable.
     

Probable Cause / Recommended Action:

     A format operation in progress on the device may have been interrupted.
     Restart the formatting process.

     Alternatively, the medium in the device is flawed. If the medium is
     removable, replace the medium.

     Alternatively, if the medium is not removable, the device has experienced
     a hardware failure. Repaired or replace the device, as necessary.

Additional Event Data:
     System IP Address...: 192.168.89.110
     Event Id............: 0x49dd4e7500000000
     Monitor Version.....: B.01.01
     Event Class.........: I/O
     Client Configuration File...........:
     /var/stm/config/tools/monitor/default_disk_em.clcfg
     Client Configuration File Version...: A.01.00
          Qualification criteria met.
               Number of events..: 1
     Associated OS error log entry id(s):
          0x49dd4e7500000000
     Additional System Data:
          System Model Number.............: ia64 hp server rx2600
          OS Version......................: B.11.23
          STM Version.....................: B.40.00
          EMS Version.....................: A.04.00
     Latest information on this event:
          http://docs.hp.com/hpux/content/hardware/ems/scsi.htm#100038

v-v-v-v-v-v-v-v-v-v-v-v-v    D  E  T  A  I  L  S    v-v-v-v-v-v-v-v-v-v-v-v-v



Component Data:
     Physical Device Path...: 0/1/1/1.2.0
     Device Class...........: Disk
     Inquiry Vendor ID......: HP 146 G
     Inquiry Product ID.....: ST3146807LC     
     Firmware Version.......: HPC4
     Serial Number..........: 3HY63YEW00007416D1BJ

Product/Device Identification Information:

     Logger ID.........: sdisk
     Product Identifier: SCSI Disk
     Product Qualifier.: HP146
     SCSI Target ID....: 0x02
     SCSI LUN..........: 0x00

I/O Log Event Data:

     Driver Status Code..................: 0x0000007C
     Length of Logged Hardware Status....: 22 bytes.
     Offset to Logged Manager Information: 24 bytes.
     Length of Logged Manager Information: 34 bytes.

Hardware Status:

     Raw H/W Status:
          0x0000: 00 00 00 02   F0 00 03 00   00 00 00 0A   00 00 00 00
          0x0010: 31 00 0C 00   00 00

     SCSI Status...: CHECK CONDITION (0x02)
          Indicates that a contingent allegiance condition has occurred.  Any
          error, exception, or abnormal condition that causes sense data to be
          set will produce the CHECK CONDITION status.
     
SCSI Sense Data:

     Undecoded Sense Data:
          0x0000: F0 00 03 00   00 00 00 0A   00 00 00 00   31 00 0C 00
          0x0010: 00 00
     
     SCSI Sense Data Fields:
          Error Code                      : 0x70
          Segment Number                  : 0x00
          Bit Fields:      
               Filemark                   : 0
               End-of-Medium              : 0
               Incorrect Length Indicator : 0
          Sense Key                       : 0x03
          Information Field Valid         : TRUE
          Information Field               : 0x00000000
          Additional Sense Length         : 10
          Command Specific                : 0x00000000
          Additional Sense Code           : 0x31
          Additional Sense Qualifier      : 0x00
          Field Replaceable Unit          : 0x0C
          Sense Key Specific Data Valid   : FALSE               
          Sense Key Specific Data         : 0x00 0x00 0x00
                       
          Sense Key 0x03, MEDIUM ERROR, indicates that the command terminated
          with a nonrecovered error condition that was probably caused by a
          flaw in the medium or an error in the recorded data.  This sense key
          may also be returned if the device is unable to distinguish between a
          flaw in the medium and a specific hardware failure (sense key 0x04).
                       
          The combination of Additional Sense Code and Sense Qualifier (0x3100)
          indicates: Medium format corrupted.

SCSI Command Data Block:

     Command Data Block Contents:
          0x0000: 25 00 00 00   00 00 00 00   00 00
     
     Command Data Block Fields (10-byte fmt):
          Command Operation Code...(0x25)..: READ CAPACITY
          Logical Unit Number..............: 0
          Relative Address Bit.............: 0
          Partial Medium Indicator Bit.....: 0
          Logical Block Address............: 0 (0x00000000)

Manager-Specific Data Fields:
     Request ID.............: 0x0300060D
     Data Residue...........: 0x00000000
     CDB status.............: 0x00000002
     Sense Status...........: 0x00000000
     Bus ID.................: 0x03
     Target ID..............: 0x02
     LUN ID.................: 0x00
     Sense Data Length......: 0x12
     Q Tag..................: 0xFD
     Retry Count............: 5



我想问一下。重新再格式化一遍能行吗?毕竟盘比较大,时间比较长。
还有
     Alternatively, if the medium is not removable, the device has experienced
     a hardware failure. Repaired or replace the device, as necessary.
是什么意思。我怎么repaired?谢谢

论坛徽章:
0
8 [报告]
发表于 2009-04-09 09:43 |只看该作者
现在运行了N遍insf -e终于看到
disk      2  0/1/1/1.2.0    sdisk      CLAIMED     DEVICE       HP 146 GST3146807LC
                           /dev/dsk/c3t2d0   /dev/rdsk/c3t2d0

可diskinfo 依然看不到容量
idisk -wf重新分区也提示idisk: Unable to get describe data
cstm里看到
SCSI Disk (HP146)         Information FAILED

艾。估计不行了。55555555555555

论坛徽章:
0
9 [报告]
发表于 2009-04-09 10:31 |只看该作者
有人在吗?大家帮帮我,还有什么办法?
要不我再mediainit一下?还是有什么其他快速格式化工具,或是其他办法? 郁闷!

论坛徽章:
0
10 [报告]
发表于 2009-04-09 12:15 |只看该作者
pvcreate -f /dev/rdsk/c3t2d0
然后在试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP