ITPub博客

首页 > Linux操作系统 > Linux操作系统 > AMDU 从头部损坏的磁盘中提取文件

AMDU 从头部损坏的磁盘中提取文件

原创 Linux操作系统 作者:westzq1984 时间:2010-11-24 14:59:34 0 删除 编辑
记录一下

amdu -dis='/dev/sd*' -ba DATAVG ausize=1048576 blksize=4096 -external -extract=DATAVG.260

外部冗余的需要指定 -external
blksize 是元数据AU的大小

ba/ddisks               Include disks with bad headers
-baddisks :  Normally disks with bad disk headers, or that
    look like they were never part of a disk group, will not be
    scanned. This option forces them to be scanned anyway and to be
    considered part of the given diskgroup. This is most useful when
    a disk header has been damaged. The disk will still need to have
    a valid allocation table to drive the scan unless -fullscan is
    used. In any case at least one block in the first two AUs must be
    valid so that the disk number can be determined. The options
    -ausize and -blksize are required since these values are normally
    fetched from the disk header. If the diskgroup uses external
    redundancy then -external should be specified. These values will
    be compared against any valid disks found in the diskgroup and
    they must be the same.
   
bl/ksize                ASM block size for corrupt disks
-blksize : This option must be set when -baddisks is set. It
    must be a power of 2. This size is required to scan a disk looking
    for metadata, and it is normally read from the disk header. The
    value applies to all disks that do not have a valid header. The
    value from the disk header will be used if a valid header is
    found.
   
磁盘组的名称如果都不知道,可以一个磁盘一个磁盘的strings,只需要看前50个块就OK,找到FILEDIR就找到了磁盘组名
如果没有以前数据文件的列表,那么ASM文件号可以去尝试UNLOAD 256号文件,这个文件一般是控制文件

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8242091/viewspace-680180/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-04-06

  • 博文量
    251
  • 访问量
    1042184