Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. Calling ioctl() to re-read partition table.
  2. Syncing disks.
  3. [root@localhost ~]# mdadm -C -l raid1 -n2 /dev/md0 /dev/sdb1 /dev/sdb2 -x1 /dev/sdb3
  4. mdadm: array /dev/md0 started.
  5. [root@localhost ~]# mdadm -C -l raid1 -n2 /dev/md1 /dev/sdb5 /dev/sdb6 -x1 /dev/sdb7
  6. mdadm: array /dev/md1 started.
  7. [root@localhost ~]# df -k
  8. Filesystem 1K-blocks Used Available Use% Mounted on
  9. /dev/sda1 3548036 2777468 587432 83% /
  10. tmpfs 257428 0 257428 0% /dev/shm
  11. [root@localhost ~]# pvcreate /dev/md0 /dev/md1
  12. Writing physical volume data to disk "/dev/md0"
  13. Physical volume "/dev/md0" successfully created
  14. Writing physical volume data to disk "/dev/md1"
  15. Physical volume "/dev/md1" successfully created
  16. [root@localhost ~]# vgcreate lab /dev/md0
  17. Volume group "lab" successfully created
  18. [root@localhost ~]# vgdisplay
  19. --- Volume group ---
  20. VG Name lab
  21. System ID
  22. Format lvm2
  23. Metadata Areas 1
  24. Metadata Sequence No 1
  25. VG Access read/write
  26. VG Status resizable
  27. MAX LV 0
  28. Cur LV 0
  29. Open LV 0
  30. Max PV 0
  31. Cur PV 1
  32. Act PV 1
  33. VG Size 288.00 MB
  34. PE Size 4.00 MB
  35. Total PE 72
  36. Alloc PE / Size 0 / 0
  37. Free PE / Size 72 / 288.00 MB
  38. VG UUID 4aMApT-TPsi-JDDw-LGqU-1DpC-FswJ-U7lqwQ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement