gacanepa

mdstat

Jan 26th, 2013
155
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gacanepa@alumno:~$ cat /proc/mdstat
  2. Personalities : [raid1]
  3. unused devices: <none>
  4. gacanepa@alumno:~$ sudo mdadm -Cv /dev/md0 -l1 -n2 /dev/sdc /dev/sdd
  5. mdadm: partition table exists on /dev/sdc but will be lost or
  6. meaningless after creating array
  7. mdadm: Note: this array has metadata at the start and
  8. may not be suitable as a boot device. If you plan to
  9. store '/boot' on this device please ensure that
  10. your boot-loader understands md/v1.x metadata, or use
  11. --metadata=0.90
  12. mdadm: partition table exists on /dev/sdd but will be lost or
  13. meaningless after creating array
  14. mdadm: size set to 7912436K
  15. Continue creating array? y
  16. mdadm: Defaulting to version 1.2 metadata
  17. mdadm: array /dev/md0 started.
  18. gacanepa@alumno:~$ cat /proc/mdstat
  19. Personalities : [raid1]
  20. md0 : active raid1 sdd[1] sdc[0]
  21. 7912436 blocks super 1.2 [2/2] [UU]
  22. [>....................] resync = 0.5% (44480/7912436) finish=35.3min speed=3706K/sec
  23. unused devices: <none>
RAW Paste Data