Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Networks and Servers using Beaglebone

You're reading from   Building Networks and Servers using Beaglebone Set up and configure a local area network and file server by building your own home-based multimedia server

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781784390204
Length 110 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
William Pretty William Pretty
Author Profile Icon William Pretty
William Pretty
Glenn Vander Veer Glenn Vander Veer
Author Profile Icon Glenn Vander Veer
Glenn Vander Veer
Arrow right icon
View More author details
Toc

Preparing the partitions with fdisk

Each partition in the RAID set must be set to the type Linux raid auto.

  1. We will be doing this using fdisk again, as shown in the following screenshot:
    Preparing the partitions with fdisk
  2. Your disk may come with a number of partitions, as shown here:
    Preparing the partitions with fdisk
  3. First, we must get rid of any existing partitions using the o command, as shown in the following screenshot:
    Preparing the partitions with fdisk
  4. Now that we have removed the unwanted partitions, we can create our own using the n command:
    Preparing the partitions with fdisk
  5. Select a partition and modify its type using the t command and specify the partition number and type code. Then, use the p command to get the new proposed partition table, as shown here:
    Preparing the partitions with fdisk
  6. Use the w command to permanently save the changes to the /dev/sda disk:
    Preparing the partitions with fdisk

We will not cover the process for the other partitions. It's enough to know that the steps to change the IDs for /dev/sdb1 and /dev/sdb2 are very similar.

Now that we have our RAID drives initialized, it is time to install Linux Mdadm, which stands for Multiple Disk Administrator.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image