Guest User

Untitled

a guest
Jul 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.88 KB | None | 0 0
  1. sda: 1.5 TB
  2. sdb: 4 TB
  3. sdc: 1.5 TB
  4. sdd: 1.5 TB
  5. sde: 2 TB
  6. sdf: 2 TB
  7. sdg: 4 TB
  8. sdh: 4 TB
  9.  
  10. # cat /proc/mdstat
  11. Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
  12. md2 : active raid6 sdb7[0] sdh7[2] sdg7[1]
  13. 3906989824 blocks super 1.2 level 6, 64k chunk, algorithm 2 [4/3] [UUU_]
  14.  
  15. md3 : active raid6 sde5[1] sda5[5] sdb5[8] sdc5[7] sdh5[4] sdg5[3] sdf5[2]
  16. 8761844736 blocks super 1.2 level 6, 64k chunk, algorithm 2 [8/7] [_UUUUUUU]
  17.  
  18. md1 : active raid1 sda2[0] sdb2[1] sdc2[2] sde2[4] sdf2[5] sdg2[6] sdh2[7]
  19. 2097088 blocks [8/7] [UUU_UUUU]
  20.  
  21. md0 : active raid1 sda1[0] sdb1[1] sdc1[4] sde1[7] sdf1[6] sdg1[5] sdh1[3]
  22. 2490176 blocks [8/7] [UU_UUUUU]
  23.  
  24. unused devices: <none>
  25.  
  26. # lvs
  27. Couldn't find device with uuid SKEYY0-bPQP-1NrV-3lGA-vvGz-jdzc-oEHXUJ.
  28. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
  29. lv vg1001 -wi-a---p- 13.16t
  30.  
  31. # lvdisplay
  32. Couldn't find device with uuid SKEYY0-bPQP-1NrV-3lGA-vvGz-jdzc-oEHXUJ.
  33. --- Logical volume ---
  34. LV Path /dev/vg1001/lv
  35. LV Name lv
  36. VG Name vg1001
  37. LV UUID rwu7wS-tyDD-q3Hg-OJao-Tk1R-E2uj-e6fCNU
  38. LV Write Access read/write
  39. LV Creation host, time ,
  40. LV Status available
  41. # open 0
  42. LV Size 13.16 TiB
  43. Current LE 3450666
  44. Segments 5
  45. Allocation inherit
  46. Read ahead sectors auto
  47. - currently set to 1536
  48. Block device 253:2
  49.  
  50. # vgdisplay
  51. Couldn't find device with uuid SKEYY0-bPQP-1NrV-3lGA-vvGz-jdzc-oEHXUJ.
  52. --- Volume group ---
  53. VG Name vg1001
  54. System ID
  55. Format lvm2
  56. Metadata Areas 2
  57. Metadata Sequence No 10
  58. VG Access read/write
  59. VG Status resizable
  60. MAX LV 0
  61. Cur LV 1
  62. Open LV 0
  63. Max PV 0
  64. Cur PV 3
  65. Act PV 2
  66. VG Size 13.16 TiB
  67. PE Size 4.00 MiB
  68. Total PE 3450666
  69. Alloc PE / Size 3450666 / 13.16 TiB
  70. Free PE / Size 0 / 0
  71. VG UUID Gcc8BD-yk0O-vU5m-I3tB-t91a-EBUU-JRKWvP
  72.  
  73. # pvs
  74. Couldn't find device with uuid SKEYY0-bPQP-1NrV-3lGA-vvGz-jdzc-oEHXUJ.
  75. PV VG Fmt Attr PSize PFree
  76. /dev/md2 vg1001 lvm2 a-- 3.64t 0
  77. /dev/md3 vg1001 lvm2 a-- 8.16t 0
  78. unknown device vg1001 lvm2 a-m 1.36t 0
  79.  
  80. # cat /etc/lvm/backup/vg1001
  81. # Generated by LVM2 version 2.02.132(2)-git (2015-09-22): Fri Jul 20 14:52:59 2018
  82.  
  83. contents = "Text Format Volume Group"
  84. version = 1
  85.  
  86. description = "Created *after* executing '/sbin/lvextend --alloc inherit /dev/vg1001/lv -l100%VG'"
  87.  
  88. creation_host = "XXXXX" # Linux XXXXX 3.10.105 #23739 SMP Tue Jul 10 00:16:57 CST 2018 x86_64
  89. creation_time = 1532091179 # Fri Jul 20 14:52:59 2018
  90.  
  91. vg1001 {
  92. id = "Gcc8BD-yk0O-vU5m-I3tB-t91a-EBUU-JRKWvP"
  93. seqno = 10
  94. format = "lvm2" # informational
  95. status = ["RESIZEABLE", "READ", "WRITE"]
  96. flags = []
  97. extent_size = 8192 # 4 Megabytes
  98. max_lv = 0
  99. max_pv = 0
  100. metadata_copies = 0
  101.  
  102. physical_volumes {
  103.  
  104. pv0 {
  105. id = "03mkFg-ToOQ-EXLJ-ZUtq-qFzC-VjKq-dSHVHQ"
  106. device = "/dev/md3" # Hint only
  107.  
  108. status = ["ALLOCATABLE"]
  109. flags = []
  110. dev_size = 17523688320 # 8.1601 Terabytes
  111. pe_start = 1152
  112. pe_count = 2139122 # 8.1601 Terabytes
  113. }
  114.  
  115. pv1 {
  116. id = "SKEYY0-bPQP-1NrV-3lGA-vvGz-jdzc-oEHXUJ"
  117. device = "/dev/md4" # Hint only
  118.  
  119. status = ["ALLOCATABLE"]
  120. flags = []
  121. dev_size = 2930200320 # 1.36448 Terabytes
  122. pe_start = 1152
  123. pe_count = 357690 # 1.36448 Terabytes
  124. }
  125.  
  126. pv2 {
  127. id = "dEEe0z-52TX-JJxk-Kp3n-efLY-A4f9-actM7B"
  128. device = "/dev/md2" # Hint only
  129.  
  130. status = ["ALLOCATABLE"]
  131. flags = []
  132. dev_size = 7813979648 # 3.63867 Terabytes
  133. pe_start = 1152
  134. pe_count = 953854 # 3.63866 Terabytes
  135. }
  136. }
  137.  
  138. logical_volumes {
  139.  
  140. lv {
  141. id = "rwu7wS-tyDD-q3Hg-OJao-Tk1R-E2uj-e6fCNU"
  142. status = ["READ", "WRITE", "VISIBLE"]
  143. flags = []
  144. segment_count = 5
  145.  
  146. segment1 {
  147. start_extent = 0
  148. extent_count = 1069560 # 4.08005 Terabytes
  149.  
  150. type = "striped"
  151. stripe_count = 1 # linear
  152.  
  153. stripes = [
  154. "pv0", 0
  155. ]
  156. }
  157. segment2 {
  158. start_extent = 1069560
  159. extent_count = 238460 # 931.484 Gigabytes
  160.  
  161. type = "striped"
  162. stripe_count = 1 # linear
  163.  
  164. stripes = [
  165. "pv1", 0
  166. ]
  167. }
  168. segment3 {
  169. start_extent = 1308020
  170. extent_count = 1069562 # 4.08006 Terabytes
  171.  
  172. type = "striped"
  173. stripe_count = 1 # linear
  174.  
  175. stripes = [
  176. "pv0", 1069560
  177. ]
  178. }
  179. segment4 {
  180. start_extent = 2377582
  181. extent_count = 119230 # 465.742 Gigabytes
  182.  
  183. type = "striped"
  184. stripe_count = 1 # linear
  185.  
  186. stripes = [
  187. "pv1", 238460
  188. ]
  189. }
  190. segment5 {
  191. start_extent = 2496812
  192. extent_count = 953854 # 3.63866 Terabytes
  193.  
  194. type = "striped"
  195. stripe_count = 1 # linear
  196.  
  197. stripes = [
  198. "pv2", 0
  199. ]
  200. }
  201. }
  202. }
  203. }
Add Comment
Please, Sign In to add comment