记录一下
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/
,如需转载,请注明出处,否则将追究法律责任。