igogo56136

Untitled

Apr 25th, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.01 KB | None | 0 0
  1. root@pve3:~# lsblk
  2. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
  3. sda 8:0 1 0B 0 disk
  4. sdb 8:16 1 0B 0 disk
  5. sdc 8:32 1 0B 0 disk
  6. sdd 8:48 1 0B 0 disk
  7. sr0 11:0 1 1024M 0 rom
  8. sr1 11:1 1 1024M 0 rom
  9. sr2 11:2 1 1024M 0 rom
  10. sr3 11:3 1 1024M 0 rom
  11. nvme10n1 259:0 0 2.9T 0 disk
  12. nvme7n1 259:1 0 2.9T 0 disk
  13. nvme8n1 259:2 0 2.9T 0 disk
  14. nvme6n1 259:3 0 2.9T 0 disk
  15. nvme11n1 259:4 0 2.9T 0 disk
  16. nvme5n1 259:5 0 2.9T 0 disk
  17. nvme2n1 259:6 0 2.9T 0 disk
  18. nvme4n1 259:7 0 2.9T 0 disk
  19. nvme0n1 259:8 0 894.3G 0 disk
  20. ├─nvme0n1p1 259:10 0 1007K 0 part
  21. ├─nvme0n1p2 259:11 0 1G 0 part
  22. └─nvme0n1p3 259:12 0 879G 0 part
  23. nvme3n1 259:9 0 2.9T 0 disk
  24. nvme12n1 259:13 0 2.9T 0 disk
  25. nvme9n1 259:14 0 2.9T 0 disk
  26. nvme1n1 259:15 0 894.3G 0 disk
  27. ├─nvme1n1p1 259:16 0 1007K 0 part
  28. ├─nvme1n1p2 259:17 0 1G 0 part
  29. └─nvme1n1p3 259:18 0 879G 0 part /
  30. root@pve3:~# mdadm --detail
  31. mdadm: No devices given.
  32. root@pve3:~# nano /etc/mdadm/mdadm.conf
  33. root@pve3:~# mdadm --create --verbose /dev/md0 -l 10 -n 10 /dev/nvme2n1 /dev/nvme3n1 /dev/nvme4n1 /dev/nvme5n1 /dev/nvme6n1 /dev/nvme7n1 /dev/nvme8n1 /dev/nvme9n1 /dev/nvme10n1 /dev/nvme11n1
  34. mdadm: layout defaults to n2
  35. mdadm: layout defaults to n2
  36. mdadm: chunk size defaults to 512K
  37. mdadm: partition table exists on /dev/nvme2n1
  38. mdadm: partition table exists on /dev/nvme2n1 but will be lost or
  39. meaningless after creating array
  40. mdadm: partition table exists on /dev/nvme3n1
  41. mdadm: partition table exists on /dev/nvme3n1 but will be lost or
  42. meaningless after creating array
  43. mdadm: partition table exists on /dev/nvme4n1
  44. mdadm: partition table exists on /dev/nvme4n1 but will be lost or
  45. meaningless after creating array
  46. mdadm: partition table exists on /dev/nvme5n1
  47. mdadm: partition table exists on /dev/nvme5n1 but will be lost or
  48. meaningless after creating array
  49. mdadm: partition table exists on /dev/nvme6n1
  50. mdadm: partition table exists on /dev/nvme6n1 but will be lost or
  51. meaningless after creating array
  52. mdadm: partition table exists on /dev/nvme7n1
  53. mdadm: partition table exists on /dev/nvme7n1 but will be lost or
  54. meaningless after creating array
  55. mdadm: partition table exists on /dev/nvme8n1
  56. mdadm: partition table exists on /dev/nvme8n1 but will be lost or
  57. meaningless after creating array
  58. mdadm: partition table exists on /dev/nvme9n1
  59. mdadm: partition table exists on /dev/nvme9n1 but will be lost or
  60. meaningless after creating array
  61. mdadm: partition table exists on /dev/nvme10n1
  62. mdadm: partition table exists on /dev/nvme10n1 but will be lost or
  63. meaningless after creating array
  64. mdadm: partition table exists on /dev/nvme11n1
  65. mdadm: partition table exists on /dev/nvme11n1 but will be lost or
  66. meaningless after creating array
  67. mdadm: size set to 3125484544K
  68. mdadm: automatically enabling write-intent bitmap on large array
  69. Continue creating array? y
  70. mdadm: Defaulting to version 1.2 metadata
  71. mdadm: array /dev/md0 started.
  72. root@pve3:~# mdadm --detail --scan >> /etc/mdadm/mdadm.conf
  73. root@pve3:~# update-initramfs -u
  74. update-initramfs: Generating /boot/initrd.img-6.8.12-10-pve
  75. Running hook script 'zz-proxmox-boot'..
  76. Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
  77. Copying and configuring kernels on /dev/disk/by-uuid/CDB6-63C3
  78. Copying kernel and creating boot-entry for 6.8.12-10-pve
  79. Copying kernel and creating boot-entry for 6.8.12-9-pve
  80. Copying and configuring kernels on /dev/disk/by-uuid/CDC6-2548
  81. Copying kernel and creating boot-entry for 6.8.12-10-pve
  82. Copying kernel and creating boot-entry for 6.8.12-9-pve
  83. root@pve3:~# cat /proc/mdstat
  84. Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
  85. md0 : active raid10 nvme11n1[9] nvme10n1[8] nvme9n1[7] nvme8n1[6] nvme7n1[5] nvme6n1[4] nvme5n1[3] nvme4n1[2] nvme3n1[1] nvme2n1[0]
  86. 15627422720 blocks super 1.2 512K chunks 2 near-copies [10/10] [UUUUUUUUUU]
  87. [>....................] resync = 0.0% (14200448/15627422720) finish=1301.0min speed=200009K/sec
  88. bitmap: 117/117 pages [468KB], 65536KB chunk
  89.  
  90. unused devices: <none>
  91. root@pve3:~# mdadm --detail
  92. mdadm: No devices given.
  93. root@pve3:~# mdadm --detail /dev/md0
  94. /dev/md0:
  95. Version : 1.2
  96. Creation Time : Fri Apr 25 16:54:10 2025
  97. Raid Level : raid10
  98. Array Size : 15627422720 (14.55 TiB 16.00 TB)
  99. Used Dev Size : 3125484544 (2.91 TiB 3.20 TB)
  100. Raid Devices : 10
  101. Total Devices : 10
  102. Persistence : Superblock is persistent
  103.  
  104. Intent Bitmap : Internal
  105.  
  106. Update Time : Fri Apr 25 16:55:38 2025
  107. State : clean, resyncing
  108. Active Devices : 10
  109. Working Devices : 10
  110. Failed Devices : 0
  111. Spare Devices : 0
  112.  
  113. Layout : near=2
  114. Chunk Size : 512K
  115.  
  116. Consistency Policy : bitmap
  117.  
  118. Resync Status : 0% complete
  119.  
  120. Name : pve3:0 (local to host pve3)
  121. UUID : d87cfe99:e3cefa6b:f0982d1c:b7740266
  122. Events : 16
  123.  
  124. Number Major Minor RaidDevice State
  125. 0 259 6 0 active sync set-A /dev/nvme2n1
  126. 1 259 9 1 active sync set-B /dev/nvme3n1
  127. 2 259 7 2 active sync set-A /dev/nvme4n1
  128. 3 259 5 3 active sync set-B /dev/nvme5n1
  129. 4 259 3 4 active sync set-A /dev/nvme6n1
  130. 5 259 1 5 active sync set-B /dev/nvme7n1
  131. 6 259 2 6 active sync set-A /dev/nvme8n1
  132. 7 259 14 7 active sync set-B /dev/nvme9n1
  133. 8 259 0 8 active sync set-A /dev/nvme10n1
  134. 9 259 4 9 active sync set-B /dev/nvme11n1
  135. root@pve3:~#
  136.  
Advertisement
Add Comment
Please, Sign In to add comment