[分享] 希捷T级m命令中文详解

[复制链接]

该用户从未签到

4

主题

250

回帖

342

积分

[INTOHARD]工兵

Rank: 1

积分
342
发表于 2012-6-9 00:35:44 | 显示全部楼层 |阅读模式
希捷T级m命令详解,,中英对照!!

希捷T级m命令详解.rar

138.91 KB, 下载次数: 97, 下载积分: 金子 -2

  • TA的每日心情
    开心
    2014-5-11 13:27
  • 签到天数: 54 天

    [LV.5]六品通判

    46

    主题

    453

    回帖

    9051

    积分

    [INTOHARD]团长

    Rank: 8Rank: 8

    积分
    9051
    QQ
    发表于 2012-6-9 04:15:43 | 显示全部楼层
    什么东西学习一下
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2019-8-16 14:21
  • 签到天数: 163 天

    [LV.7]四品道员

    25

    主题

    815

    回帖

    5643

    积分

    [INTOHARD]团长

    小二

    Rank: 8Rank: 8

    积分
    5643
    QQ
    发表于 2012-6-9 08:30:53 | 显示全部楼层
    不知道是不是论坛里面的老资料
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2016-1-21 07:29
  • 签到天数: 467 天

    [LV.9]二品侍郎

    7

    主题

    913

    回帖

    1981

    积分

    [INTOHARD]营长

    Rank: 6Rank: 6

    积分
    1981
    发表于 2012-6-9 10:19:18 | 显示全部楼层
    不错啊,。11,12的
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    2013-8-27 09:33
  • 签到天数: 77 天

    [LV.6]五品郎中

    8

    主题

    209

    回帖

    755

    积分

    [INTOHARD]连长

    Rank: 4

    积分
    755
    发表于 2012-6-9 12:01:34 | 显示全部楼层
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2022-5-24 07:02
  • 签到天数: 261 天

    [LV.8]三品御史

    16

    主题

    1157

    回帖

    1229

    积分

    [INTOHARD]营长

    Rank: 6Rank: 6

    积分
    1229
    发表于 2012-6-9 13:19:21 | 显示全部楼层
    -------------------------------------------------------------------------------- Format Partition (Level T 'm')--------------------------------------------------------------------------------

      Description:
        This command formats the specified partition.

      Quick Help:

        "FormatPartition, m[Partition],[FormatOpts],[DefectListOpts],[MaxWrRetryCnt],[MaxRdRetryCnt],\n\r"
        "[MaxEccTLevel],[MaxCertifyTrkRewrites],[ValidKey],[DataPattern]";

      Input Parameters:

        0 - Partition Number.
       
            This parameter specifies the media partition to be formatted.
       
                 0 = User Partition
                 1 = System Partition
       
              Type:    Unsigned 8-bit value
       
              Range:   0 or 1
       
              Default: 0
       
        1 - Format Options.
       
            This parameter is a bit significant value that selects the following options:
       
                Bits 31-6: not used
       
                Bit 5: Enable SeaCOS XF Space Format.
       
                       This bit is only valid when the User Partition is selected.  If this
                       bit is equal to 1, the the Format Partition command will only format
                       SeaCOS Extended File (XF) space.
                       NOTE: This feature can be enabled or disabled at compile-time.  Use
                       the quick help to determine whether your code supports this feature.
       
                Bit 4: Enable Zone Re-format Skipping.
       
                       If this bit is equal to 1, then the Format Partition command will
                       enable the zone re-format skipping mode during the format operation.
                       With this mode enabled, the format operation will not re-format
                       a zone if grown defects were found in the zone.
                       NOTE: This feature can be enabled or disabled at compile-time.  Use
                       the quick help to determine whether your code supports this feature.
       
                Bit 3: Enable Event-based Format Logging.
       
                       If this bit is equal to 1, then the Format Partition command will
                       display information about error events that occur during the format
                       operation.  This information will be displayed as interim status as
                       these events occur.
                       NOTE: This feature can be enabled or disabled at compile-time.  Use
                       the quick help to determine whether your code supports this feature.
       
                Bit 2: Disable User Partition Certify.
       
                       This bit is only valid when the User Partition is selected.  If this
                       bit is equal to 1, media certification and defect deallocation will
                       be disabled.
       
                Bit 1: Disable User Partition Format.
       
                       This bit is only valid when the User Partition is selected.  If this
                       bit is equal to 1, the User Partition sectors will not be written
                       with a constant data pattern.
       
                Bit 0: Corrupt User Partition Primary Defects.
       
                       This bit is only valid when the User Partition is selected.  If this
                       bit is equal to 1, the primary defective sectors will be corrupted.
       
              Type:    Unsigned 32-bit value
       
              Range:   0 or 0xFFFFFFFF
       
              Default: 0 (Enable User partition Certify,
                          Enable User Partition Format,
                          Don't Corrupt Primary Defects)
       
        2 - Defect List Options.
       
            This parameter is a bit significant value that selects the following options:
       
                Bits 31-3: not used
       
                Bit 2: Process the Active Error Log.
       
                       This bit is only valid when the User Partition is selected.  If this
                       bit is equal to 1, the Format Client Defect List will be written with
                       contents of the Active Error Log and the option to process the Client
                       Defect List will be enabled.  If there is no Active Error Log or there
                       are no R/W-related entries in the Active Error Log, then this bit will
                       be ignored.
       
                Bit 1: Process Primary Defect Lists.
       
                       This bit is only valid when the User Partition is selected.  If this
                       bit is equal to 1, the the Primary Defect Lists will be used when
                       creating the defect list to be used by the format operation.
       
                Bit 0: Process Grown Defect Lists.
       
                       This bit is only valid when the User Partition is selected.  If this
                       bit is equal to 1, the the Grown Defect Lists will be used when
                       creating the defect list to be used by the format operation.
       
              Type:    Unsigned 32-bit value
       
              Range:   0 or 0xFFFFFFFF
       
              Default: 0x00000003 (Process Grown Defect Lists,
                                   Process Primary Defect Lists,
                                   Do not process the Active Error Log)
       
        3 - Maximum Write Retry Count.
       
            If this parameter is entered, the maximum write retry count will be set to the
            specified value.  This parameter is only valid when the User Partition is being
            formatted (Parameter 0 is equal to 0).  If this parameter is not entered, the
            maximum write retry count will not be changed.
       
              Type:    Unsigned 16-bit value
       
              Range:   0 or 0xFFFF
       
              Default: None.
       
        4 - Maximum Read Retry Count.
       
            If this paremeter is entered, the maximum read retry count will be set to the
            specified value.  This parameter is only valid when the User Partition is being
            formatted (Parameter 0 is equal to 0).  If this parameter is not entered, the
            maximum read retry count will not be changed.
       
              Type:    Unsigned 16-bit value
       
              Range:   0 or 0xFFFF
       
              Default: None.
       
        5 - Maximum ECC T-Level.
       
            If this paremeter is entered, the maximum ECC T-Level will be set to the specified
            value.  This parameter is only valid when the User Partition is being formatted
            (Parameter 0 is equal to 0).  If this parameter is not entered, the ECC T-Level
            will not be changed.
       
              Type:    Unsigned 16-bit value
       
              Range:   0 or 0xFFFF
       
              Default: None.
       
        6 - Track Rewrite During Certify Retry Threshold.
       
            If this parameter is entered, it specifies the maximum number of rewrite retries
            to be performed during the user partition certification pass.
       
              Type:    Unsigned 16-bit value
       
              Range:   0 or 0xFFFF
       
              Default: None.  If this parameter is not entered, the default value recommended
                       by the R/W Firmware will be used.
       
        7 - Valid Command Key.
       
            For a User Partition format, this parameter must be equal to 22 Hex.  If this
            parameter is not equal to 22 Hex, the command will not be executed.
       
            For a System Partition format, this parameter must be equal to DD Hex.  If this
            parameter is not equal to DD Hex, the command will not be executed.
       
              Type:    Unsigned 8-bit value
       
              Range:   0x22 or 0xDD
       
              Default: None
       
        8 - Data Pattern For Format.
       
            This parameter specifies the data pattern to be used when formatting the specified
            partition.  If this parameter is not entered, the specified partition will be
            formatted with a 0x00000000 data pattern.
       
              Type:    Unsigned 32-bit value
       
              Range:   0 or 0xFFFFFFFF
       
              Default: 0x00000000.
       

      Output Data:

       
       
            If the error occurred while processing the defect lists, the following additional
            information will be displayed.
       
               "Process Defect List Error"
               "R/W Sense cccccccc, R/W Error dddddddd, List Offset eeeeeeee, File Error ffffffff"
       
               where
       
                  cccccccc is the sense status that was returned by the R/W subsystem
       
                  dddddddd is the error code that was returned by the R/W subsystem
       
                  eeeeeeee is the offset of the defect list entry at which the error occurred
       
                  ffffffff is the error code that was returned by the system information manager (SIM)
       
            If the error occurred during the format operation, the following additional information
            will be displayed.
       
               "User Partition Format Failed - Elapsed Time c"
               "R/W Sense dddddddd, R/W Error eeeeeeee, File Error ffffffff"
               "Blk Addr gggggggg, Blk Addr Type hh, Cyl iiiiiiii, Hd jj";
       
               where
       
                  c is the amount of time that has elapsed since the format operation was started
       
                  dddddddd is the sense status that was returned by the R/W subsystem
       
                  eeeeeeee is the error code that was returned by the R/W subsystem
       
                  ffffffff is the error code that was returned by the system information manager (SIM)
       
                  gggggggg is the R/W block address at which the error occurred
       
                  hh is the R/W block address type at which the error occurred
       
                  iiiiiiii is the R/W cylinder address at which the error occurred
       
                  jj is the R/W head address at which the error occurred
       
            If no error occurred and the format operation is still in progress, the following
            information will be displayed.
       
               "Max Wr Retries = cc, Max Rd Retries = dd, Max ECC T-Level = ee, Max Certify Rewrite Retries = ffff"
               "User Partition Format  gg% complete, Zone hh, Pass ii, LBA jjjjjjjj, ErrCode kkkkkkkk, Elapsed Time l"
       
               where
       
                  cc is the maximum write retry count to be used
       
                  dd is the maximum read retry count to be used
       
                  ee is the maximum ECC T-Level to be used
       
                  ffff is the certify rewrite rety threshold
       
                  gg is the percent of the format operation that has been completed
       
                  hh is the data zone that is currently being formatted
       
                  ii is the number of the current pass through the data zone
       
                  jjjjjjjj is the last LBA that was formatted
       
                  kkkkkkkk is the error code that was reported by the R/W subsystem
       
                  l is the amount of time that has elapsed since the format operation was started
       
            If no error occurred, the format operation is still in progress, a format event occurs,
            and format event reporting is enabled, the following information will be displayed.
       
               "Event: Media Write Start, aaa Format, Zone bb, Start Blk cccccccc, Num Sectors dddddddd"
       
                  or
       
               "Event: Write Xfer, Start Blk cccccccc, Len eeeeeeee, Next Blk ffffffff, Erc gggggggg, Stat hh"
       
                  or
       
               "Event: Media Certify Start, New Format, Zone bb, Start Blk cccccccc, Num Sectors dddddddd"
       
                  or
       
               "Event: Certify Xfer, Start Blk cccccccc, Len eeeeeeee, Next Blk ffffffff, Erc gggggggg, Stat hh"
       
                  or
       
               "Event: Unrec Err, LBA iiiiiiii, PBA jjjjjjjj, Erc gggggggg, Trk llll, Hd mm, Sctr nn, Wdg oo, ZnGrp pp, Zn qq, DOS: rr/ss/tt"
               "Event: Unrec Err, LBA iiiiiiii, PBA jjjjjjjj, Erc gggggggg, Trk llll, Hd mm, Sctr nn, Wdg oo, Zn qq, DOS: rr/ss/tt"
               "Event: Unrec Err, LBA iiiiiiii, PBA jjjjjjjj, Erc gggggggg, Trk llll, Hd mm, Sctr nn, Wdg oo, ZnGrp pp, Zn qq"
               "Event: Unrec Err, LBA iiiiiiii, PBA jjjjjjjj, Erc gggggggg, Trk llll, Hd mm, Sctr nn, Wdg oo, Zn qq"
       
                NOTES: ZnGrp information is only available on drives supporting VBAR
                       DOS information is only available on drives supporting Directed Offline Scan
       
                  or
       
               "Event: Cert Trk Rewrite, Retry Blk kkkkkkkk, Len eeeeeeee, Next Blk ffffffff, Erc gggggggg, Stat hh"
       
                  or
       
               "Event: Cert Trk Rewrite Cntr Update, Cnt 0001"
       
               where
       
                  aaa indicates whether this is a "New Format" or a "Reformat"
       
                  bb is the zone
       
                  cccccccc is the starting block
       
                  dddddddd is the number of blocks to be formatted
       
                  eeeeeeee is the length of the transfer
       
                  ffffffff is the next starting block
       
                  gggggggg is the error code that was reported by the R/W subsystem
       
                  hh is the read/write status
       
                  iiiiiiii is the logical block address (LBA)
       
                  jjjjjjjj is the physical block address (PBA)
       
                  kkkkkkkk is the block which causes the rewrite retry
       
                  llll is the track on which the error occurred
       
                  mm is the head on which the error occurred
       
                  nn is the sector on which the error occurred
       
                  oo is the wedge on which the error occurred
       
                  pp is the zone group in which the error occurred
       
                  qq is the zone in which the error occurred
       
                  rr is the DOS scan unit associated with the error
       
                  ss is the DOS relative cylinder in scan unit associated with the error
       
                  tt is the DOS surface cylinder unit associated with the error
       
            If no error occurred and the format operation has successfully completed, the following
            information will be displayed.
       
               " User Partition Format Successful - Elapsed Time m"
       
               where
       
                  m is the amount of time that has elapsed since the format operation was started
       
               If at least one zone re-format was skipped then the following will also be
               displayed upon successful completion of the format:
       
               "Zone re-format was skipped."
       

      Examples:

        Example #1:
        Perform a "quick format" (process defect lists, clear format corrupt, do not write
        or certify the drive)

           F3 T>m0,6,,,,,,22

        Example #2:
        Perform a "quick format" (don't process defect lists i.e. unslip and unalt, do not
        write or certify the drive)

           F3 T>m0,6,0,,,,,22

        Example #3:
        Perform a format with the default data pattern 0x00000000 and certify with event
        reporting enabled:

           F3 T>m0,8,,,,,,22

        Example #4:
        Perform a format and certify with event reporting enabled, set max write retries
        to 16, set max read retry count to 8, max ECC T-Level to 0, and track rewrite
        during certify retry threshold to 20:

           F3 T>m0,8,,10,8,0,14,22

        Example #5:
        Perform a format with user input data pattern 0xFFFFFFFF and certify with event
        reporting enabled:

           F3 T>m0,8,,,,,,22,ffffffff

      Revision History:

        0001.0000   Initial revision.
        0001.000X   Added ability to enable and display event-based output.
        0011.000X   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                    Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                    (DiagError).
        0012.000X   Added additional parameter 8 for users to input data pattern for format. The
                    default data pattern is 0x00000000 instead of the 0x77777777 for the User
                    Partition and 0xFFFFFFFF for the System Partition.
        0012.001X   Added option to process the Active Error Log.
       
        Note on Minor Rev:
        ----.ZZZX   ZZZ represents the minor rev base value.
                    X represents set of conditional feature flags.
                      - If bit 0 of X is set, then the ability to enable and display
                        event-based output is supported.
                      - If bit 1 of X is set, then the ability to enable zone re-format
                        skipping and output command result information if at least one
                        zone re-format was skipped is supported.
                      - If bit 2 of X is set, then the ability to format only SeaCOS
                        Extended File (XF) space is supported.
                      - (Bit 3 of X is reserved for future conditional features.)


    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2022-5-24 07:02
  • 签到天数: 261 天

    [LV.8]三品御史

    16

    主题

    1157

    回帖

    1229

    积分

    [INTOHARD]营长

    Rank: 6Rank: 6

    积分
    1229
    发表于 2012-6-9 13:20:34 | 显示全部楼层
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    擦汗
    2012-5-18 18:42
  • 签到天数: 1 天

    [LV.1]布衣百姓

    211

    主题

    637

    回帖

    662

    积分

    [INTOHARD]连长

    Rank: 4

    积分
    662
    发表于 2012-6-9 15:08:37 | 显示全部楼层
    完全看不懂
    回复 支持 反对

    使用道具 举报

    REX
  • TA的每日心情
    奋斗
    2012-7-17 16:20
  • 签到天数: 1 天

    [LV.1]布衣百姓

    2

    主题

    93

    回帖

    243

    积分

    [INTOHARD]排长

    Rank: 3Rank: 3

    积分
    243
    发表于 2012-6-9 16:49:59 | 显示全部楼层
    好贵(31:(31:(31:
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2012-11-23 09:37
  • 签到天数: 153 天

    [LV.7]四品道员

    7

    主题

    300

    回帖

    937

    积分

    [INTOHARD]连长

    Rank: 4

    积分
    937
    发表于 2012-6-11 09:10:09 | 显示全部楼层
    有点贵了,关键一点内容也不透露,也不知道值不值,毕竟不是一笔小数目啊,呵呵
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    快速回复 返回顶部 返回列表