Advertisement
Guest User

Untitled

a guest
Aug 27th, 2013
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.45 KB | None | 0 0
  1. rune@rune-desktop:~$ cat /proc/mdstat
  2. Personalities : [raid0] [linear] [multipath] [raid1] [raid6] [raid5] [raid4] [raid10]
  3. md0 : active raid0 sdd1[1] sdc1[0]
  4.       1953522688 blocks super 1.2 512k chunks
  5.      
  6. md2 : active raid1 md0[2] sdb1[0]
  7.       1953382488 blocks super 1.2 [2/2] [UU]
  8.      
  9. unused devices: <none>
  10.  
  11. rune@rune-desktop:~$ sudo mdadm --detail /dev/md0
  12. /dev/md0:
  13.         Version : 1.2
  14.   Creation Time : Sun Aug 25 21:14:24 2013
  15.      Raid Level : raid0
  16.      Array Size : 1953522688 (1863.02 GiB 2000.41 GB)
  17.    Raid Devices : 2
  18.   Total Devices : 2
  19.     Persistence : Superblock is persistent
  20.  
  21.     Update Time : Sun Aug 25 21:14:24 2013
  22.           State : clean
  23.  Active Devices : 2
  24. Working Devices : 2
  25.  Failed Devices : 0
  26.   Spare Devices : 0
  27.  
  28.      Chunk Size : 512K
  29.  
  30.            Name : rune-desktop:0  (local to host rune-desktop)
  31.            UUID : 4d8bea96:08136ba8:75029197:fe2e2a4b
  32.          Events : 0
  33.  
  34.     Number   Major   Minor   RaidDevice State
  35.        0       8       33        0      active sync   /dev/sdc1
  36.        1       8       49        1      active sync   /dev/sdd1
  37.  
  38. rune@rune-desktop:~$ sudo mdadm --detail /dev/md2
  39. /dev/md2:
  40.         Version : 1.2
  41.   Creation Time : Sun Aug 25 11:13:35 2013
  42.      Raid Level : raid1
  43.      Array Size : 1953382488 (1862.89 GiB 2000.26 GB)
  44.   Used Dev Size : 1953382488 (1862.89 GiB 2000.26 GB)
  45.    Raid Devices : 2
  46.   Total Devices : 2
  47.     Persistence : Superblock is persistent
  48.  
  49.     Update Time : Tue Aug 27 13:46:49 2013
  50.           State : clean
  51.  Active Devices : 2
  52. Working Devices : 2
  53.  Failed Devices : 0
  54.   Spare Devices : 0
  55.  
  56.            Name : rune-desktop:2  (local to host rune-desktop)
  57.            UUID : 494e7219:c094f19f:97e26ffa:e09020d3
  58.          Events : 21570
  59.  
  60.     Number   Major   Minor   RaidDevice State
  61.        0       8       17        0      active sync   /dev/sdb1
  62.        2       9        0        1      active sync   /dev/md/stripe
  63.  
  64. rune@rune-desktop:~$ cat /etc/mdadm/mdadm.conf |egrep -v "^#|^$"
  65. CREATE owner=root group=disk mode=0660 auto=yes
  66. HOMEHOST <system>
  67. ARRAY /dev/md/stripe UUID=4d8bea96:08136ba8:75029197:fe2e2a4b
  68. ARRAY /dev/md/mirror UUID=494e7219:c094f19f:97e26ffa:e09020d3
  69.  
  70. rune@rune-desktop:~$ ls -lR /dev/md*
  71. brw-rw---- 1 root disk 9, 0 Aug 27 13:22 /dev/md0
  72. brw-rw---- 1 root disk 9, 2 Aug 27 13:30 /dev/md2
  73.  
  74. /dev/md:
  75. total 0
  76. lrwxrwxrwx 1 root root 6 Aug 27 13:30 mirror -> ../md2
  77. lrwxrwxrwx 1 root root 6 Aug 27 13:22 stripe -> ../md0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement