Guest User

ClientAlive => disk configuration

a guest
Apr 10th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.68 KB | None | 0 0
  1. //Partition layout section:
  2.  
  3.  
  4. root@sysresccd /root % gdisk /dev/sda
  5. GPT fdisk (gdisk) version 0.8.1
  6.  
  7. Partition table scan:
  8. MBR: protective
  9. BSD: not present
  10. APM: not present
  11. GPT: present
  12.  
  13. Found valid GPT with protective MBR; using GPT.
  14.  
  15. Command (? for help): p
  16. Disk /dev/sda: 5860533168 sectors, 2.7 TiB
  17. Logical sector size: 512 bytes
  18. Disk identifier (GUID): 26EC247D-7F60-4789-8AF3-E04121501585
  19. Partition table holds up to 128 entries
  20. First usable sector is 34, last usable sector is 5860533134
  21. Partitions will be aligned on 2048-sector boundaries
  22. Total free space is 102366 sectors (50.0 MiB)
  23.  
  24. Number Start (sector) End (sector) Size Code Name
  25. 1 102400 1536102399 732.4 GiB FD00 Linux RAID
  26. 2 1536102400 1547288575 5.3 GiB 8200 Linux swap
  27. 3 1547288576 5860533134 2.0 TiB FD00 Linux RAID
  28.  
  29. Command (? for help): q
  30. root@sysresccd /root % gdisk /dev/sdb
  31. GPT fdisk (gdisk) version 0.8.1
  32.  
  33. Partition table scan:
  34. MBR: protective
  35. BSD: not present
  36. APM: not present
  37. GPT: present
  38.  
  39. Found valid GPT with protective MBR; using GPT.
  40.  
  41. Command (? for help): p
  42. Disk /dev/sdb: 5860533168 sectors, 2.7 TiB
  43. Logical sector size: 512 bytes
  44. Disk identifier (GUID): 26EC247D-7F60-4789-8AF3-E04121501585
  45. Partition table holds up to 128 entries
  46. First usable sector is 34, last usable sector is 5860533134
  47. Partitions will be aligned on 2048-sector boundaries
  48. Total free space is 102366 sectors (50.0 MiB)
  49.  
  50. Number Start (sector) End (sector) Size Code Name
  51. 1 102400 1536102399 732.4 GiB FD00 Linux RAID
  52. 2 1536102400 1547288575 5.3 GiB 8200 Linux swap
  53. 3 1547288576 5860533134 2.0 TiB FD00 Linux RAID
  54.  
  55. Command (? for help): q
  56. root@sysresccd /root % gdisk /dev/sdc
  57. GPT fdisk (gdisk) version 0.8.1
  58.  
  59. Partition table scan:
  60. MBR: protective
  61. BSD: not present
  62. APM: not present
  63. GPT: present
  64.  
  65. Found valid GPT with protective MBR; using GPT.
  66.  
  67. Command (? for help): p
  68. Disk /dev/sdc: 5860533168 sectors, 2.7 TiB
  69. Logical sector size: 512 bytes
  70. Disk identifier (GUID): BF5AB663-8960-406F-BCE1-1DECD658A063
  71. Partition table holds up to 128 entries
  72. First usable sector is 34, last usable sector is 5860533134
  73. Partitions will be aligned on 2048-sector boundaries
  74. Total free space is 2014 sectors (1007.0 KiB)
  75.  
  76. Number Start (sector) End (sector) Size Code Name
  77. 1 2048 104447 50.0 MiB EF00 EFI System
  78. 2 104448 1536104447 732.4 GiB FD00 Linux RAID
  79. 3 1536104448 1547290623 5.3 GiB 8200 Linux swap
  80. 4 1547290624 5860533134 2.0 TiB FD00 Linux RAID
  81.  
  82. Command (? for help): q
  83. root@sysresccd /root %
  84.  
  85.  
  86. //mdamd section (RAID setup):
  87.  
  88.  
  89. root@sysresccd /root % cat /proc/mdstat
  90. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
  91. md126 : active raid5 sdc2[0] sda1[3] sdb1[1]
  92. 1535996928 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
  93.  
  94. md127 : active raid5 sdc4[0] sda3[3] sdb3[1]
  95. 4313239552 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
  96.  
  97. unused devices: <none>
  98. root@sysresccd /root %
  99.  
  100.  
  101. //lvm2 section (lvm setup):
  102.  
  103.  
  104. root@sysresccd /root % pvdisplay
  105. --- Physical volume ---
  106. PV Name /dev/md127
  107. VG Name data
  108. PV Size 4.02 TiB / not usable 4.00 MiB
  109. Allocatable yes (but full)
  110. PE Size 4.00 MiB
  111. Total PE 1053036
  112. Free PE 0
  113. Allocated PE 1053036
  114. PV UUID ekXL2P-Hgvo-h3C2-LDTD-oUsO-EIsp-Kzo0Wo
  115.  
  116. --- Physical volume ---
  117. PV Name /dev/md126
  118. VG Name sys
  119. PV Size 1.43 TiB / not usable 0
  120. Allocatable yes (but full)
  121. PE Size 4.00 MiB
  122. Total PE 374999
  123. Free PE 0
  124. Allocated PE 374999
  125. PV UUID OH3VfN-Jro5-DvEK-HoFL-0wG5-30Qc-LXpBcd
  126.  
  127. root@sysresccd /root %
  128.  
  129.  
  130. root@sysresccd /root % vgdisplay
  131. --- Volume group ---
  132. VG Name data
  133. System ID
  134. Format lvm2
  135. Metadata Areas 1
  136. Metadata Sequence No 6
  137. VG Access read/write
  138. VG Status resizable
  139. MAX LV 0
  140. Cur LV 1
  141. Open LV 0
  142. Max PV 0
  143. Cur PV 1
  144. Act PV 1
  145. VG Size 4.02 TiB
  146. PE Size 4.00 MiB
  147. Total PE 1053036
  148. Alloc PE / Size 1053036 / 4.02 TiB
  149. Free PE / Size 0 / 0
  150. VG UUID vLZg8a-K3qK-W7ae-ea30-ViAh-Pnri-rRjL2C
  151.  
  152. --- Volume group ---
  153. VG Name sys
  154. System ID
  155. Format lvm2
  156. Metadata Areas 1
  157. Metadata Sequence No 13
  158. VG Access read/write
  159. VG Status resizable
  160. MAX LV 0
  161. Cur LV 2
  162. Open LV 0
  163. Max PV 0
  164. Cur PV 1
  165. Act PV 1
  166. VG Size 1.43 TiB
  167. PE Size 4.00 MiB
  168. Total PE 374999
  169. Alloc PE / Size 374999 / 1.43 TiB
  170. Free PE / Size 0 / 0
  171. VG UUID 6w59f4-0AEz-hn7t-2pNF-olbT-EM8g-mkwVpD
  172.  
  173. root@sysresccd /root %
  174.  
  175.  
  176. root@sysresccd /root % vgdisplay
  177. --- Volume group ---
  178. VG Name data
  179. System ID
  180. Format lvm2
  181. Metadata Areas 1
  182. Metadata Sequence No 6
  183. VG Access read/write
  184. VG Status resizable
  185. MAX LV 0
  186. Cur LV 1
  187. Open LV 0
  188. Max PV 0
  189. Cur PV 1
  190. Act PV 1
  191. VG Size 4.02 TiB
  192. PE Size 4.00 MiB
  193. Total PE 1053036
  194. Alloc PE / Size 1053036 / 4.02 TiB
  195. Free PE / Size 0 / 0
  196. VG UUID vLZg8a-K3qK-W7ae-ea30-ViAh-Pnri-rRjL2C
  197.  
  198. --- Volume group ---
  199. VG Name sys
  200. System ID
  201. Format lvm2
  202. Metadata Areas 1
  203. Metadata Sequence No 13
  204. VG Access read/write
  205. VG Status resizable
  206. MAX LV 0
  207. Cur LV 2
  208. Open LV 0
  209. Max PV 0
  210. Cur PV 1
  211. Act PV 1
  212. VG Size 1.43 TiB
  213. PE Size 4.00 MiB
  214. Total PE 374999
  215. Alloc PE / Size 374999 / 1.43 TiB
  216. Free PE / Size 0 / 0
  217. VG UUID 6w59f4-0AEz-hn7t-2pNF-olbT-EM8g-mkwVpD
  218.  
  219. root@sysresccd /root %
Add Comment
Please, Sign In to add comment