Guest User

Untitled

a guest
Jan 16th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. mount -t ext4 /dev/md2p1 /srv/Waveforms
  2.  
  3. cat /proc/mdstat
  4. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
  5. md2 : active raid1 sdc1[0] sdd1[1]
  6. 1953423552 blocks [2/2] [UU]
  7.  
  8. md1 : active raid1 sda2[0] sdb2[1]
  9. 961136576 blocks [2/2] [UU]
  10.  
  11. md0 : active raid1 sda1[0] sdb1[1]
  12. 15624128 blocks [2/2] [UU]
  13.  
  14. unused devices: <none>
  15.  
  16. sudo mdadm --detail --scan >> /etc/mdadm/mdadm.conf
  17.  
  18. # mdadm.conf
  19. #
  20. # Please refer to mdadm.conf(5) for information about this file.
  21. #
  22.  
  23. # by default, scan all partitions (/proc/partitions) for MD superblocks.
  24. # alternatively, specify devices to scan, using wildcards if desired.
  25. DEVICE partitions
  26.  
  27. # auto-create devices with Debian standard permissions
  28. CREATE owner=root group=disk mode=0660 auto=yes
  29.  
  30. # automatically tag new arrays as belonging to the local system
  31. HOMEHOST <system>
  32.  
  33. # instruct the monitoring daemon where to send mail alerts
  34. MAILADDR root
  35.  
  36. # definitions of existing MD arrays
  37. ARRAY /dev/md0 level=raid1 num-devices=2 UUID=afa7ccee:df4dfa79:a84dbc05:35401226
  38. ARRAY /dev/md1 level=raid1 num-devices=2 UUID=a0c526cc:6de93504:c8b94301:85474c49
  39. ARRAY /dev/md2 level=raid1 num-devices=2 UUID=1ac720e1:192b2c38:f6e0357b:f3e0074f
  40.  
  41. # This file was auto-generated on Thu, 10 Mar 2011 00:57:55 -0700
  42. # by mkconf $Id$
  43. ARRAY /dev/md0 level=raid1 num-devices=2 metadata=0.90 UUID=afa7ccee:df4dfa79:a84dbc05:35401226
  44. ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 UUID=a0c526cc:6de93504:c8b94301:85474c49
  45. ARRAY /dev/md2 level=raid1 num-devices=2 metadata=0.90 UUID=1ac720e1:192b2c38:f6e0357b:f3e0074f
  46.  
  47. fsck from util-linux-ng 2.17.2
  48. /dev/md1: clean, 3680768/60071936 files, 208210802/240284144 blocks
  49.  
  50. # /etc/fstab: static file system information.
  51. #
  52. # Use 'blkid -o value -s UUID' to print the universally unique identifier
  53. # for a device; this may be used with UUID= as a more robust way to name
  54. # devices that works even if disks are added and removed. See fstab(5).
  55. #
  56. # <file system> <mount point> <type> <options> <dump> <pass>
  57. proc /proc proc nodev,noexec,nosuid 0 0
  58. # / was on /dev/md1 during installation
  59. UUID=1d3cb392-f522-485b-8516-a7791fc23c4d / ext4 errors=remount-ro 0 1
  60. # swap was on /dev/md0 during installation
  61. UUID=6eb8e6f2-3166-4f77-883c-26268d636b0b none swap sw 0 0
  62. /dev/md2p1 /srv/Waveforms ext4 defaults,noauto 0 0
  63.  
  64. blkid
  65. /dev/sda1: UUID="afa7ccee-df4d-fa79-a84d-bc0535401226" TYPE="linux_raid_member"
  66. /dev/sda2: UUID="a0c526cc-6de9-3504-c8b9-430185474c49" TYPE="linux_raid_member"
  67. /dev/sdb1: UUID="afa7ccee-df4d-fa79-a84d-bc0535401226" TYPE="linux_raid_member"
  68. /dev/sdb2: UUID="a0c526cc-6de9-3504-c8b9-430185474c49" TYPE="linux_raid_member"
  69. /dev/sdc1: UUID="1ac720e1-192b-2c38-f6e0-357bf3e0074f" TYPE="linux_raid_member"
  70. /dev/sdd1: UUID="1ac720e1-192b-2c38-f6e0-357bf3e0074f" TYPE="linux_raid_member"
  71. /dev/md0: UUID="6eb8e6f2-3166-4f77-883c-26268d636b0b" TYPE="swap"
  72. /dev/md1: UUID="1d3cb392-f522-485b-8516-a7791fc23c4d" TYPE="ext4"
  73. /dev/md2p1: UUID="867ee91e-527e-435b-b6bc-2f6d89d2d8c6" TYPE="ext4"
  74.  
  75. cat /proc/mdstat
  76. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
  77. md0 : active raid1 sda1[0] sdb1[1]
  78. 15624128 blocks [2/2] [UU]
  79.  
  80. md1 : active raid1 sda2[0] sdb2[1]
  81. 961136576 blocks [2/2] [UU]
  82.  
  83. sudo mdadm --assemble --scan
  84. [sudo] password for zach:
  85. mdadm: /dev/md2 has been started with 2 drives.
  86.  
  87. cat /proc/mdstat
  88. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
  89. md2 : active raid1 sdc1[0] sdd1[1]
  90. 1953423552 blocks [2/2] [UU]
  91.  
  92. md0 : active raid1 sda1[0] sdb1[1]
  93. 15624128 blocks [2/2] [UU]
  94.  
  95. md1 : active raid1 sda2[0] sdb2[1]
  96. 961136576 blocks [2/2] [UU]
  97.  
  98. ARRAY /dev/md/ubuntu:0 metadata=1.2 name=ubuntu:0 UUID=a8a570c6:96f61865:05abe131:5c2e2f7e
  99.  
  100. uname -a
  101. Linux ccldas2 2.6.32-74-server #142-Ubuntu SMP Tue Apr 28 10:12:19 UTC 2015 x86_64 GNU/Linux
  102.  
  103. dpkg-reconfigure mdadm # Choose "all" disks to start at boot
  104. update-initramfs -u # Updates the existing initramfs
  105.  
  106. ARRAY /dev/md0 UUID=d8b8b4e5:e47b2e45:2093cd36:f654020d
Add Comment
Please, Sign In to add comment