westlife521 发表于 2007-07-10 19:05

{原创}硬盘检测心得

最近公司内务整顿,俺的任务测试硬盘:
# format
Searching for disks...done
c0t8d0: configured with capacity of 68.35GB
AVAILABLE DISK SELECTIONS:
       0. c0t0d0
          /pci@1d,700000/scsi@4/sd@0,0
       1. c0t1d0
          /pci@1d,700000/scsi@4/sd@1,0
       2. c0t2d0
          /pci@1d,700000/scsi@4/sd@2,0
       3. c0t3d0
          /pci@1d,700000/scsi@4/sd@3,0
       4. c0t8d0
          /pci@1d,700000/scsi@4/sd@8,0
       5. c0t9d0
          /pci@1d,700000/scsi@4/sd@9,0
       6. c0t10d0
          /pci@1d,700000/scsi@4/sd@a,0
       7. c0t11d0
          /pci@1d,700000/scsi@4/sd@b,0
Specify disk (enter its number): 1
selecting c0t1d0

FORMAT MENU:
      disk       - select a disk
      type       - select (define) a disk type
      partition- select (define) a partition table
      current    - describe the current disk
      format   - format and analyze the disk
      repair   - repair a defective sector
      label      - write label to the disk
      analyze    - surface analysis
      defect   - defect list management
      backup   - search for backup labels
      verify   - read and display labels
      save       - save new disk/partition definitions
      inquiry    - show vendor, product and revision
      volname    - set 8-character volume name
      !   - execute , then return
      quit
format> analyze
ANALYZE MENU:
      read   - read only test   (doesn't harm SunOS)
      refresh- read then write(doesn't harm data)
      test   - pattern testing(doesn't harm data)
      write    - write then read      (corrupts data)
      compare- write, read, compare (corrupts data)
      purge    - write, read, write   (corrupts data)
      verify   - write entire disk, then verify (corrupts data)
      print    - display data buffer
      setup    - set analysis parameters
      config   - show analysis parameters
      !   - execute, then return
      quit
analyze> compare
Ready to analyze (will corrupt data). This takes a long time,
but is interruptable with CTRL-C. Continue? yes
      pass 0 - pattern = 0xc6dec6de
2/10/66   
Total of 0 defective blocks repaired.
analyze>


1、硬盘在检测完后如果提示:Total of 0 defective blocks repaired
ok 硬盘是好盘
2、format硬盘提示drive not available 报废
3、format硬盘提示type unknow可以尝试更换硬盘控制板 说不定硬盘重获新生



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/42931/showart_337330.html
页: [1]
查看完整版本: {原创}硬盘检测心得