Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mount -t ext4 /dev/md2p1 /srv/Waveforms
- cat /proc/mdstat
- Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
- md2 : active raid1 sdc1[0] sdd1[1]
- 1953423552 blocks [2/2] [UU]
- md1 : active raid1 sda2[0] sdb2[1]
- 961136576 blocks [2/2] [UU]
- md0 : active raid1 sda1[0] sdb1[1]
- 15624128 blocks [2/2] [UU]
- unused devices: <none>
- sudo mdadm --detail --scan >> /etc/mdadm/mdadm.conf
- # mdadm.conf
- #
- # Please refer to mdadm.conf(5) for information about this file.
- #
- # by default, scan all partitions (/proc/partitions) for MD superblocks.
- # alternatively, specify devices to scan, using wildcards if desired.
- DEVICE partitions
- # auto-create devices with Debian standard permissions
- CREATE owner=root group=disk mode=0660 auto=yes
- # automatically tag new arrays as belonging to the local system
- HOMEHOST <system>
- # instruct the monitoring daemon where to send mail alerts
- MAILADDR root
- # definitions of existing MD arrays
- ARRAY /dev/md0 level=raid1 num-devices=2 UUID=afa7ccee:df4dfa79:a84dbc05:35401226
- ARRAY /dev/md1 level=raid1 num-devices=2 UUID=a0c526cc:6de93504:c8b94301:85474c49
- ARRAY /dev/md2 level=raid1 num-devices=2 UUID=1ac720e1:192b2c38:f6e0357b:f3e0074f
- # This file was auto-generated on Thu, 10 Mar 2011 00:57:55 -0700
- # by mkconf $Id$
- ARRAY /dev/md0 level=raid1 num-devices=2 metadata=0.90 UUID=afa7ccee:df4dfa79:a84dbc05:35401226
- ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 UUID=a0c526cc:6de93504:c8b94301:85474c49
- ARRAY /dev/md2 level=raid1 num-devices=2 metadata=0.90 UUID=1ac720e1:192b2c38:f6e0357b:f3e0074f
- fsck from util-linux-ng 2.17.2
- /dev/md1: clean, 3680768/60071936 files, 208210802/240284144 blocks
- # /etc/fstab: static file system information.
- #
- # Use 'blkid -o value -s UUID' to print the universally unique identifier
- # for a device; this may be used with UUID= as a more robust way to name
- # devices that works even if disks are added and removed. See fstab(5).
- #
- # <file system> <mount point> <type> <options> <dump> <pass>
- proc /proc proc nodev,noexec,nosuid 0 0
- # / was on /dev/md1 during installation
- UUID=1d3cb392-f522-485b-8516-a7791fc23c4d / ext4 errors=remount-ro 0 1
- # swap was on /dev/md0 during installation
- UUID=6eb8e6f2-3166-4f77-883c-26268d636b0b none swap sw 0 0
- /dev/md2p1 /srv/Waveforms ext4 defaults,noauto 0 0
- blkid
- /dev/sda1: UUID="afa7ccee-df4d-fa79-a84d-bc0535401226" TYPE="linux_raid_member"
- /dev/sda2: UUID="a0c526cc-6de9-3504-c8b9-430185474c49" TYPE="linux_raid_member"
- /dev/sdb1: UUID="afa7ccee-df4d-fa79-a84d-bc0535401226" TYPE="linux_raid_member"
- /dev/sdb2: UUID="a0c526cc-6de9-3504-c8b9-430185474c49" TYPE="linux_raid_member"
- /dev/sdc1: UUID="1ac720e1-192b-2c38-f6e0-357bf3e0074f" TYPE="linux_raid_member"
- /dev/sdd1: UUID="1ac720e1-192b-2c38-f6e0-357bf3e0074f" TYPE="linux_raid_member"
- /dev/md0: UUID="6eb8e6f2-3166-4f77-883c-26268d636b0b" TYPE="swap"
- /dev/md1: UUID="1d3cb392-f522-485b-8516-a7791fc23c4d" TYPE="ext4"
- /dev/md2p1: UUID="867ee91e-527e-435b-b6bc-2f6d89d2d8c6" TYPE="ext4"
- cat /proc/mdstat
- Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
- md0 : active raid1 sda1[0] sdb1[1]
- 15624128 blocks [2/2] [UU]
- md1 : active raid1 sda2[0] sdb2[1]
- 961136576 blocks [2/2] [UU]
- sudo mdadm --assemble --scan
- [sudo] password for zach:
- mdadm: /dev/md2 has been started with 2 drives.
- cat /proc/mdstat
- Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
- md2 : active raid1 sdc1[0] sdd1[1]
- 1953423552 blocks [2/2] [UU]
- md0 : active raid1 sda1[0] sdb1[1]
- 15624128 blocks [2/2] [UU]
- md1 : active raid1 sda2[0] sdb2[1]
- 961136576 blocks [2/2] [UU]
- ARRAY /dev/md/ubuntu:0 metadata=1.2 name=ubuntu:0 UUID=a8a570c6:96f61865:05abe131:5c2e2f7e
- uname -a
- Linux ccldas2 2.6.32-74-server #142-Ubuntu SMP Tue Apr 28 10:12:19 UTC 2015 x86_64 GNU/Linux
- dpkg-reconfigure mdadm # Choose "all" disks to start at boot
- update-initramfs -u # Updates the existing initramfs
- ARRAY /dev/md0 UUID=d8b8b4e5:e47b2e45:2093cd36:f654020d
Add Comment
Please, Sign In to add comment