oracle 12c GI安装配置共享存储分区

前端之家收集整理的这篇文章主要介绍了oracle 12c GI安装配置共享存储分区前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1、对第一块盘/dev/sdb进行分区:

  1. [root@rac1 ~]# fdisk /dev/sdb
  2. Device contains neither a valid DOS partition table,nor Sun,SGI or OSF disklabel
  3. Building a new DOS disklabel with disk identifier 0x06b87c6d.
  4. Changes will remain in memory only,until you decide to write them.
  5. After that,of course,the prevIoUs content won't be recoverable.
  6.  
  7. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  8.  
  9. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  10. switch off the mode (command 'c') and change display units to
  11. sectors (command 'u').
  12.  
  13. Command (m for help): n
  14. Command action
  15. e extended
  16. p primary partition (1-4)
  17. p
  18. Partition number (1-4): 1
  19. First cylinder (1-1566,default 1):
  20. Using default value 1
  21. Last cylinder,+cylinders or +size{K,M,G} (1-1566,default 1566):
  22. Using default value 1566
  23.  
  24. Command (m for help): p
  25.  
  26. Disk /dev/sdb: 12.9 GB,12884901888 bytes
  27. 255 heads,63 sectors/track,1566 cylinders
  28. Units = cylinders of 16065 * 512 = 8225280 bytes
  29. Sector size (logical/physical): 512 bytes / 512 bytes
  30. I/O size (minimum/optimal): 512 bytes / 512 bytes
  31. Disk identifier: 0x06b87c6d
  32.  
  33. Device Boot Start End Blocks Id System
  34. /dev/sdb1 1 1566 12578863+ 83 Linux
  35.  
  36. Command (m for help): w
  37. The partition table has been altered!
  38.  
  39. Calling ioctl() to re-read partition table.
  40. Syncing disks.
2、查看分区是否正常
  1. [root@rac1 ~]# fdisk -l /dev/sdb
  2.  
  3. Disk /dev/sdb: 12.9 GB,1566 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes
  5. Sector size (logical/physical): 512 bytes / 512 bytes
  6. I/O size (minimum/optimal): 512 bytes / 512 bytes
  7. Disk identifier: 0x06b87c6d
  8.  
  9. Device Boot Start End Blocks Id System
  10. /dev/sdb1 1 1566 12578863+ 83 Linux
3、ok,分区正常。按照上述方法,把剩下的六块盘都分区。
  1. [root@rac1 ~]# fdisk /dev/sdc
  2. Device contains neither a valid DOS partition table,SGI or OSF disklabel
  3. Building a new DOS disklabel with disk identifier 0x15863b60.
  4. Changes will remain in memory only,the prevIoUs content won't be recoverable.
  5.  
  6. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  7.  
  8. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  9. switch off the mode (command 'c') and change display units to
  10. sectors (command 'u').
  11.  
  12. Command (m for help): p
  13.  
  14. Disk /dev/sdc: 12.9 GB,1566 cylinders
  15. Units = cylinders of 16065 * 512 = 8225280 bytes
  16. Sector size (logical/physical): 512 bytes / 512 bytes
  17. I/O size (minimum/optimal): 512 bytes / 512 bytes
  18. Disk identifier: 0x15863b60
  19.  
  20. Device Boot Start End Blocks Id System
  21.  
  22. Command (m for help): n
  23. Command action
  24. e extended
  25. p primary partition (1-4)
  26. p
  27. Partition number (1-4): n^H1
  28. Partition number (1-4): 1
  29. First cylinder (1-1566,default 1566):
  30. Using default value 1566
  31.  
  32. Command (m for help): p
  33.  
  34. Disk /dev/sdc: 12.9 GB,1566 cylinders
  35. Units = cylinders of 16065 * 512 = 8225280 bytes
  36. Sector size (logical/physical): 512 bytes / 512 bytes
  37. I/O size (minimum/optimal): 512 bytes / 512 bytes
  38. Disk identifier: 0x15863b60
  39.  
  40. Device Boot Start End Blocks Id System
  41. /dev/sdc1 1 1566 12578863+ 83 Linux
  42.  
  43. Command (m for help): w
  44. The partition table has been altered!
  45.  
  46. Calling ioctl() to re-read partition table.
  47. Syncing disks.
  48. [root@rac1 ~]# fdisk -l /dev/sdc
  49.  
  50. Disk /dev/sdc: 12.9 GB,1566 cylinders
  51. Units = cylinders of 16065 * 512 = 8225280 bytes
  52. Sector size (logical/physical): 512 bytes / 512 bytes
  53. I/O size (minimum/optimal): 512 bytes / 512 bytes
  54. Disk identifier: 0x15863b60
  55.  
  56. Device Boot Start End Blocks Id System
  57. /dev/sdc1 1 1566 12578863+ 83 Linux
  58. [root@rac1 ~]# fdisk /dev/sdd
  59. Device contains neither a valid DOS partition table,SGI or OSF disklabel
  60. Building a new DOS disklabel with disk identifier 0x12264bdf.
  61. Changes will remain in memory only,the prevIoUs content won't be recoverable.
  62.  
  63. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  64.  
  65. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  66. switch off the mode (command 'c') and change display units to
  67. sectors (command 'u').
  68.  
  69. Command (m for help): p
  70.  
  71. Disk /dev/sdd: 2147 MB,2147483648 bytes
  72. 255 heads,261 cylinders
  73. Units = cylinders of 16065 * 512 = 8225280 bytes
  74. Sector size (logical/physical): 512 bytes / 512 bytes
  75. I/O size (minimum/optimal): 512 bytes / 512 bytes
  76. Disk identifier: 0x12264bdf
  77.  
  78. Device Boot Start End Blocks Id System
  79.  
  80. Command (m for help): n
  81. Command action
  82. e extended
  83. p primary partition (1-4)
  84. p
  85. Partition number (1-4): 1
  86. First cylinder (1-261,G} (1-261,default 261):
  87. Using default value 261
  88.  
  89. Command (m for help): p
  90.  
  91. Disk /dev/sdd: 2147 MB,261 cylinders
  92. Units = cylinders of 16065 * 512 = 8225280 bytes
  93. Sector size (logical/physical): 512 bytes / 512 bytes
  94. I/O size (minimum/optimal): 512 bytes / 512 bytes
  95. Disk identifier: 0x12264bdf
  96.  
  97. Device Boot Start End Blocks Id System
  98. /dev/sdd1 1 261 2096451 83 Linux
  99.  
  100. Command (m for help): w
  101. The partition table has been altered!
  102.  
  103. Calling ioctl() to re-read partition table.
  104. Syncing disks.
  105. [root@rac1 ~]# fdisk -l /dev/sdd
  106.  
  107. Disk /dev/sdd: 2147 MB,261 cylinders
  108. Units = cylinders of 16065 * 512 = 8225280 bytes
  109. Sector size (logical/physical): 512 bytes / 512 bytes
  110. I/O size (minimum/optimal): 512 bytes / 512 bytes
  111. Disk identifier: 0x12264bdf
  112.  
  113. Device Boot Start End Blocks Id System
  114. /dev/sdd1 1 261 2096451 83 Linux
  115. [root@rac1 ~]# fdisk /dev/sde
  116. Device contains neither a valid DOS partition table,SGI or OSF disklabel
  117. Building a new DOS disklabel with disk identifier 0xb60ea544.
  118. Changes will remain in memory only,the prevIoUs content won't be recoverable.
  119.  
  120. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  121.  
  122. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  123. switch off the mode (command 'c') and change display units to
  124. sectors (command 'u').
  125.  
  126. Command (m for help): p
  127.  
  128. Disk /dev/sde: 2147 MB,261 cylinders
  129. Units = cylinders of 16065 * 512 = 8225280 bytes
  130. Sector size (logical/physical): 512 bytes / 512 bytes
  131. I/O size (minimum/optimal): 512 bytes / 512 bytes
  132. Disk identifier: 0xb60ea544
  133.  
  134. Device Boot Start End Blocks Id System
  135.  
  136. Command (m for help): n
  137. Command action
  138. e extended
  139. p primary partition (1-4)
  140. p
  141. Partition number (1-4): 1
  142. First cylinder (1-261,default 261):
  143. Using default value 261
  144.  
  145. Command (m for help): p
  146.  
  147. Disk /dev/sde: 2147 MB,261 cylinders
  148. Units = cylinders of 16065 * 512 = 8225280 bytes
  149. Sector size (logical/physical): 512 bytes / 512 bytes
  150. I/O size (minimum/optimal): 512 bytes / 512 bytes
  151. Disk identifier: 0xb60ea544
  152.  
  153. Device Boot Start End Blocks Id System
  154. /dev/sde1 1 261 2096451 83 Linux
  155.  
  156. Command (m for help): w
  157. The partition table has been altered!
  158.  
  159. Calling ioctl() to re-read partition table.
  160. Syncing disks.
  161. [root@rac1 ~]# fdisk -l /dev/sde
  162.  
  163. Disk /dev/sde: 2147 MB,261 cylinders
  164. Units = cylinders of 16065 * 512 = 8225280 bytes
  165. Sector size (logical/physical): 512 bytes / 512 bytes
  166. I/O size (minimum/optimal): 512 bytes / 512 bytes
  167. Disk identifier: 0xb60ea544
  168.  
  169. Device Boot Start End Blocks Id System
  170. /dev/sde1 1 261 2096451 83 Linux
  171. [root@rac1 ~]# fdisk /dev/sdf
  172. Device contains neither a valid DOS partition table,SGI or OSF disklabel
  173. Building a new DOS disklabel with disk identifier 0xe73a738f.
  174. Changes will remain in memory only,the prevIoUs content won't be recoverable.
  175.  
  176. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  177.  
  178. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  179. switch off the mode (command 'c') and change display units to
  180. sectors (command 'u').
  181.  
  182. Command (m for help): p
  183.  
  184. Disk /dev/sdf: 2147 MB,261 cylinders
  185. Units = cylinders of 16065 * 512 = 8225280 bytes
  186. Sector size (logical/physical): 512 bytes / 512 bytes
  187. I/O size (minimum/optimal): 512 bytes / 512 bytes
  188. Disk identifier: 0xe73a738f
  189.  
  190. Device Boot Start End Blocks Id System
  191.  
  192. Command (m for help): n
  193. Command action
  194. e extended
  195. p primary partition (1-4)
  196. p
  197. Partition number (1-4): 1
  198. First cylinder (1-261,default 261):
  199. Using default value 261
  200.  
  201. Command (m for help): p
  202.  
  203. Disk /dev/sdf: 2147 MB,261 cylinders
  204. Units = cylinders of 16065 * 512 = 8225280 bytes
  205. Sector size (logical/physical): 512 bytes / 512 bytes
  206. I/O size (minimum/optimal): 512 bytes / 512 bytes
  207. Disk identifier: 0xe73a738f
  208.  
  209. Device Boot Start End Blocks Id System
  210. /dev/sdf1 1 261 2096451 83 Linux
  211.  
  212. Command (m for help): w
  213. The partition table has been altered!
  214.  
  215. Calling ioctl() to re-read partition table.
  216. Syncing disks.
  217. [root@rac1 ~]# fdisk -l /dev/sdf
  218.  
  219. Disk /dev/sdf: 2147 MB,261 cylinders
  220. Units = cylinders of 16065 * 512 = 8225280 bytes
  221. Sector size (logical/physical): 512 bytes / 512 bytes
  222. I/O size (minimum/optimal): 512 bytes / 512 bytes
  223. Disk identifier: 0xe73a738f
  224.  
  225. Device Boot Start End Blocks Id System
  226. /dev/sdf1 1 261 2096451 83 Linux
  227. [root@rac1 ~]# fdisk /dev/sdg
  228. Device contains neither a valid DOS partition table,SGI or OSF disklabel
  229. Building a new DOS disklabel with disk identifier 0x41119c7e.
  230. Changes will remain in memory only,the prevIoUs content won't be recoverable.
  231.  
  232. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  233.  
  234. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  235. switch off the mode (command 'c') and change display units to
  236. sectors (command 'u').
  237.  
  238. Command (m for help): p
  239.  
  240. Disk /dev/sdg: 2147 MB,261 cylinders
  241. Units = cylinders of 16065 * 512 = 8225280 bytes
  242. Sector size (logical/physical): 512 bytes / 512 bytes
  243. I/O size (minimum/optimal): 512 bytes / 512 bytes
  244. Disk identifier: 0x41119c7e
  245.  
  246. Device Boot Start End Blocks Id System
  247.  
  248. Command (m for help): n
  249. Command action
  250. e extended
  251. p primary partition (1-4)
  252. p
  253. Partition number (1-4): 1
  254. First cylinder (1-261,default 261):
  255. Using default value 261
  256.  
  257. Command (m for help): p
  258.  
  259. Disk /dev/sdg: 2147 MB,261 cylinders
  260. Units = cylinders of 16065 * 512 = 8225280 bytes
  261. Sector size (logical/physical): 512 bytes / 512 bytes
  262. I/O size (minimum/optimal): 512 bytes / 512 bytes
  263. Disk identifier: 0x41119c7e
  264.  
  265. Device Boot Start End Blocks Id System
  266. /dev/sdg1 1 261 2096451 83 Linux
  267.  
  268. Command (m for help): w
  269. The partition table has been altered!
  270.  
  271. Calling ioctl() to re-read partition table.
  272. Syncing disks.
  273. [root@rac1 ~]# fdisk -l /dev/sdg
  274.  
  275. Disk /dev/sdg: 2147 MB,261 cylinders
  276. Units = cylinders of 16065 * 512 = 8225280 bytes
  277. Sector size (logical/physical): 512 bytes / 512 bytes
  278. I/O size (minimum/optimal): 512 bytes / 512 bytes
  279. Disk identifier: 0x41119c7e
  280.  
  281. Device Boot Start End Blocks Id System
  282. /dev/sdg1 1 261 2096451 83 Linux
  283. [root@rac1 ~]# fdisk /dev/sdh
  284. Device contains neither a valid DOS partition table,SGI or OSF disklabel
  285. Building a new DOS disklabel with disk identifier 0xeac8d462.
  286. Changes will remain in memory only,the prevIoUs content won't be recoverable.
  287.  
  288. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  289.  
  290. WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
  291. switch off the mode (command 'c') and change display units to
  292. sectors (command 'u').
  293.  
  294. Command (m for help): p
  295.  
  296. Disk /dev/sdh: 2147 MB,261 cylinders
  297. Units = cylinders of 16065 * 512 = 8225280 bytes
  298. Sector size (logical/physical): 512 bytes / 512 bytes
  299. I/O size (minimum/optimal): 512 bytes / 512 bytes
  300. Disk identifier: 0xeac8d462
  301.  
  302. Device Boot Start End Blocks Id System
  303.  
  304. Command (m for help): n
  305. Command action
  306. e extended
  307. p primary partition (1-4)
  308. p
  309. Partition number (1-4): 1
  310. First cylinder (1-261,default 261):
  311. Using default value 261
  312.  
  313. Command (m for help): p
  314.  
  315. Disk /dev/sdh: 2147 MB,261 cylinders
  316. Units = cylinders of 16065 * 512 = 8225280 bytes
  317. Sector size (logical/physical): 512 bytes / 512 bytes
  318. I/O size (minimum/optimal): 512 bytes / 512 bytes
  319. Disk identifier: 0xeac8d462
  320.  
  321. Device Boot Start End Blocks Id System
  322. /dev/sdh1 1 261 2096451 83 Linux
  323.  
  324. Command (m for help): w
  325. The partition table has been altered!
  326.  
  327. Calling ioctl() to re-read partition table.
  328. Syncing disks.
  329. [root@rac1 ~]# fdisk -l /dev/sdh
  330.  
  331. Disk /dev/sdh: 2147 MB,261 cylinders
  332. Units = cylinders of 16065 * 512 = 8225280 bytes
  333. Sector size (logical/physical): 512 bytes / 512 bytes
  334. I/O size (minimum/optimal): 512 bytes / 512 bytes
  335. Disk identifier: 0xeac8d462
  336.  
  337. Device Boot Start End Blocks Id System
  338. /dev/sdh1 1 261 2096451 83 Linux
  339. [root@rac1 ~]#

猜你在找的Oracle相关文章