This guide is written with the following information assumed:
Currently running a Cloud Server.
2 or more additional Block storage drives have been added to the existing server.
Instructions work for both Raid 1 and Raid 0.
Please remember that Raid is not a backup!
In either case a good backup solution is still needed.
Steps:
- A). Raid 1 – mdadm –create /dev/md1 –level=1 –raid-devices=2 /dev/sdb /dev/sdc
- B). Raid 0 with 2 drives – mdadm –create /dev/md1 –level=0 –raid-devices=2 /dev/sdb /dev/sdc
- C). Raid 0 with 4 drives – mdadm –create /dev/md1 –level=0 –raid-devices=4 /dev/sdb /dev/sdc /dev/sdd /dev/sde
- pvcreate /dev/md1
- vgcreate data /dev/md1
- vgchange -a y data
- lvcreate -L1000 -n my_volume data
- mkfs.ext4 /dev/data/my_volume
- mkdir /mnt/data
- mount /dev/data/my_volume /mnt/data
- blkid
- vi /etc/fstab
- UUID=c3c46b4b-b406-41e9-ab64-25db9485bcfc /mnt/data ext4 defaults 0 2
- Done
Regards for this post, I am a big fan of this web site would like to proceed updated.
Recover RAID data from all types of corrupted RAID arrays Fast recover data from RAID. … RAID 0, 1, and 5 configurations, QNAP RAID, mdamd RAID. Product works with Adaptec
I wanted to write you this little note so as to thank you the moment again for these exceptional tricks you have documented above. This has been really extremely open-handed of you to allow publicly exactly what a number of people would’ve offered for sale for an electronic book to get some cash for themselves, particularly since you could have done it if you ever considered necessary. The advice in addition served as the easy way to be sure that the rest have the identical desire the same as my own to realize a little more pertaining to this matter. I think there are a lot more enjoyable opportunities in the future for people who read carefully your site.
I was recommended this website by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my trouble. You’re amazing! Thanks!
Always a major fan of linking to bloggers that I enjoy but really don’t get a great deal of link adore from.