Skip to content

Instantly share code, notes, and snippets.

@warewolf
Created July 4, 2015 01:50
Show Gist options
  • Select an option

  • Save warewolf/7c7eb99af828dda3a933 to your computer and use it in GitHub Desktop.

Select an option

Save warewolf/7c7eb99af828dda3a933 to your computer and use it in GitHub Desktop.
$ grep md12. /proc/mdstat
md126 : active raid6 sdu1[6](S) sdq1[7] sdi1[0] sde1[2] sdy1[5] sdm1[4]
md125 : active raid6 sdc[8](S) sdh1[10] sdl1[5] sdp1[9] sdx1[6] sdt1[7]
md124 : active raid6 sdd1[6](S) sdk1[1] sdg1[2] sdw1[4] sds1[5] sdo1[0]
md127 : active raid6 sdj1[1] sdf1[5] sdz1[6] sdv1[7] sdr1[8](S) sdn1[4]
# for foo in md12{4,5,6,7}; do mdadm --detail /dev/$foo | grep Array\ Size;done
Array Size : 5860146432 (5588.67 GiB 6000.79 GB)
Array Size : 5860147200 (5588.67 GiB 6000.79 GB)
Array Size : 2929889280 (2794.16 GiB 3000.21 GB)
Array Size : 5860134912 (5588.66 GiB 6000.78 GB)
@warewolf
Copy link
Copy Markdown
Author

warewolf commented Jul 4, 2015

Huh, neat. I can edit other people's comments. Just edited yours, @dlangille, so it rendered correctly w/ markdown.

@dlangille
Copy link
Copy Markdown

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment