Home Learn Linux Linux Answers Systems Management Is it possible to combine two computers hardisk as one?
  • Accepted Answer

    I'm assuming neither of these would be your non-system disk, and are auxiliary data drives. It can be done that way, but it would be best to do it during the OS install, in that case. Many mainstream Linux OS installers support this already.

    So to answer your question, yes, that can be done. What you are talking about is creating a RAID. A RAID of disk drives can be achieved in either software or hardware. To do a RAID with hardware, you'd have to purchase a RAID Controller card that you'd install into a PCI slot on the motherboard of your PC. Then when you first boot up the PC, you would go into some sort of low-level menu (like a BIOS) where you could set up the hardware raid (i.e., assign both disks to an array). Then when you save/quit that utility and boot your actual OS (we assume some sort of Linux), you'd just have to make sure that the drivers for the card are already supported by the kernel (they usually are) or you'd have to install them. Then you'd have access to your drive and could partition it (e.g. /dev/sda1).

    In your case, though, I'd recommend a software RAID. The two most common ones for Linux are LVM and Mdadm. Support for both is probably built into your Linux OS already (and if not, packages will be readily available). I find Mdadm to be easier to use than LVM, but that's just personal preference. Both will do what you want, though: combine two drives into one larger one. You would then create your partitions and format them with your filesystem of choice.

    See here for more on LVM vs Mdadm:


    Answered by atreyu
    4 years ago
    0 0
Similar Questions Found
Questions from category Systems Management

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    16 Feb » 20 Feb - Atlanta - GA
  2. LFD331 Developing Linux Device Drivers
    16 Feb » 20 Feb - San Jose - CA
  3. LFS220 Linux System Administration
    16 Feb » 19 Feb - Virtual

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board