Example of viewing disk header content in Oracle Database KFOD

Source: Internet
Author: User

OracleDatabaseKFOD view disk header contentThe related operations are what we will introduce in this article. Let's take a look at this part.

The content of the disk header is intercepted here:

 
 
  1. [Oracle @ rac2 ~] $ Kfed read/dev/mapper/datap1
  2. Kfbh. endian: 1; 0x000: 0x01
  3. Kfbh. hard: 130; 0x001: 0x82
  4. Kfbh. type: 1; 0x002: KFBTYP_DISKHEAD
  5. Kfbh. datfmt: 1; 0x003: 0x01
  6. Kfbh. block. blk: 0; 0x004: T = 0 NUMB = 0x0
  7. Kfbh. block. obj: 2147483648; 0x008: TYPE = 0x8NUMB = 0x0
  8. Kfbh. check: 1508168608; 0x00c: 0x59e4d3a0
  9. Kfbh. fcn. base: 0; 0x10: 0x00000000
  10. Kfbh. fcn. wrap: 0; 0x014: 0x00000000
  11. Kfbh. spare1: 0; 0x018: 0x00000000
  12. Kfbh. spare2: 0; 0x01c: 0x00000000
  13. Kfdhdb. driver. provstr: ORCLDISKDATA; 0x000: length = 12
  14. --> Disk volume name
  15. Kfdhdb. driver. reserved [0]: 1096040772; 0x008: 0x41544144
  16. Kfdhdb. driver. reserved [1]: 0; 0x00c: 0x00000000
  17. Kfdhdb. driver. reserved [2]: 0; 0x010: 0x00000000
  18. Kfdhdb. driver. reserved [3]: 0; 0x014: 0x00000000
  19. Kfdhdb. driver. reserved [4]: 0; 0x018: 0x00000000
  20. Kfdhdb. driver. reserved [5]: 0; 0x01c: 0x00000000
  21. Kfdhdb. compat: 168820736; 0x020: 0x0a100000
  22. Kfdhdb. dsknum: 0; 0x024: 0x0000
  23. Kfdhdb. grptyp: 1; 0x026: KFDGTP_EXTERNAL
  24. --> ThisindicatesRedundancy for Group. Check TYPE in query output.
  25. Kfdhdb. hdrsts: 3; 0x027: KFDHDR_MEMBER
  26. --> This indicatesDiskHeader status. Here it indicates it is member of Group.
  27. Kfdhdb. dskname: DATA; 0x028: length = 4
  28. --> This indicatesDiskName
  29. Kfdhdb. kgname: DATA; 0x048: length = 4
  30. --> This indicatestheGroup Name for the disk.
  31. Kfdhdb. fgname: DATA; 0x068: length = 4
  32. --> This indicatestheFailure Group Name.
  33. Kfdhdb. capname:; 0x088: length = 0
  34. Kfdhdb. crestmp. hi: 32952076; 0x0a8: HOUR = 0 xcDAYS = 0x18 MNTH = 0x3 YEAR = 0x7db
  35. Kfdhdb. crestmp. lo: 3374491648; 0x0ac: USEC = 0x0MSEC = 0xaa SECS = 0x12 MINS = 0x32
  36. Kfdhdb. mntstmp. hi: 32955120; 0x0b0: HOUR = 0x10DAYS = 0x17 MNTH = 0x6 YEAR = 0x7db
  37. Kfdhdb. mntstmp. lo: 3440417792; 0x0b4: USEC = 0x0MSEC = 0x27 SECS = 0x11 MINS = 0x33
  38. Kfdhdb. secsize: 512; 0x0b8: 0x0200
  39. Kfdhdb. blksize: 4096; 0x0ba: 0x1000
  40. Kfdhdb. ausize: 1048576; 0x0bc: 0x00100000
  41. Kfdhdb. mfact: 113792; 0x0c0: 0x0001bc80
  42. Kfdhdb. dsksize: 11993; 0x0c4: 0x00002ed9
  43. Kfdhdb. pmcnt: 2; 0x0c8: 0x00000002
  44. Kfdhdb. fstlocn: 1; 0x0cc: 0x00000001
  45. Kfdhdb. altlocn: 2; 0x0d0: 0x00000002
  46. Kfdhdb. f1b1locn: 2; 0x0d4: 0x00000002
  47. Kfdhdb. redomirrors [0]: 0; 0x0d8: 0x0000
  48. Kfdhdb. redomirrors [1]: 0; 0x0da: 0x0000
  49. Kfdhdb. redomirrors [2]: 0; 0x0dc: 0x0000
  50. Kfdhdb. redomirrors [3]: 0; 0x0de: 0x0000
  51. Kfdhdb. dbcompat: 168820736; 0x0e0: 0x0a100000
  52. Kfdhdb. kgstmp. hi: 32952076; 0x0e4: HOUR = 0 xcDAYS = 0x18 MNTH = 0x3 YEAR = 0x7db
  53. Kfdhdb. kgstmp. lo: 3374396416; 0x0e8: USEC = 0x0MSEC = 0x4d SECS = 0x12 MINS = 0x32
  54. Kfdhdb. ub4spare [0]: 0; 0x0ec: 0x00000000
  55. Kfdhdb. ub4spare [1]: 0; 0x0: 0x00000000
  56. ......
  57. Kfdhdb. ub4spare [55]: 0; 0x1c8: 0x00000000
  58. Kfdhdb. ub4spare [56]: 0; 0x1cc: 0x00000000
  59. Kfdhdb. ub4spare [57]: 0; 0x1d0: 0x00000000
  60. Kfdhdb. acdb. aba. seq: 0; 0x1d4: 0x00000000
  61. Kfdhdb. acdb. aba. blk: 0; 0x1d8: 0x00000000
  62. Kfdhdb. acdb. ents: 0; 0x1 DC: 0x0000
  63. Kfdhdb. acdb. ub2spare: 0; 0x1de: 0x0000

The above is an example of how to view disk header content in the Oracle database KFOD. We will introduce this article here, and hope this introduction will help you gain some benefits!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.