Difference between revisions of "Software RAID"

From Proxmox VE
Jump to navigation Jump to search
(add distributions)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
All Proxmox VE versions do not support '''Linux Software RAID (mdraid)'''. That means, it's not tested in our labs and not recommended, but it's still used by experienced users. If you want to run a supported configuration, go for [[Hardware RAID|Hardware RAID]] or a ZFS RAID during installation.
 
  
NOTE:
+
Software RAID is an alternative for using hardware-RAID controller for local storage.
* Proxmox VE 2.x supports Fake RAID (BIOS RAID), but not since Proxmox VE 3.x
+
Please note that Proxmox VE currently only supports one technology for local software defined RAID storage: ZFS
* Proxmox VE since 3.4 supports Software RAID if you choose [[Storage:_ZFS]]
 
  
If you still want to use mdraid, you can create the required RAID level during Debian installation and then install Proxmox VE or create RAID after install Proxmox VE. Look at the external links below and the following pages:
+
== Supported Technologies ==
 +
 
 +
=== ZFS ===
 +
 
 +
If you want to run a supported configuration, using a proven enterprise storage technology, with data integrity checks and auto-repair capabilities ZFS is the right choice.
 +
 
 +
See the [[ZFS on Linux]] article for more information.
 +
 
 +
== Unsupported Technologies ==
 +
 
 +
=== btrfs ===
 +
 
 +
btrfs can actually be a very safe and functional choice, but it is not yet supported by Proxmox VE. It will be re-evaluated for Proxmox VE 7.0.
 +
 
 +
=== mdraid ===
 +
 
 +
mdraid has zero checks for bitrot, data integrity, and most filesystems on top do not provide that either.
 +
 
 +
That means, if some data gets corrupted, which happens on any long-running system sooner or later, and you normally do not notice until it's too late.
 +
So, Proxmox projects do '''not''' support it to avoid that users run into these problems!
 +
 
 +
For non-production/unsupported setups, where you still want to use mdraid (please don't!), you can create the required RAID level during Debian installation and then install Proxmox VE or create RAID after install Proxmox VE.
 +
Look at the following pages:
  
* Debian 6 - [[Install Proxmox VE on Debian Squeeze]]
 
* Debian 7 - [[Install Proxmox VE on Debian Wheezy]]
 
* Debian 8 - [[Install Proxmox VE on Debian Jessie]]
 
 
* Debian 9 - [[Install Proxmox VE on Debian Stretch]]
 
* Debian 9 - [[Install Proxmox VE on Debian Stretch]]
 
* Debian 10 - [[Install Proxmox VE on Debian Buster]]
 
* Debian 10 - [[Install Proxmox VE on Debian Buster]]
  
== External Links ==
+
If you need further assistance for md-raid, it's another good sign that you do not want to choose that technology.
* http://www.howtoforge.com/proxmox-2-with-software-raid
 
* http://forum.proxmox.com/threads/14299-German-HowTo-Proxmox-VE-3-0-with-Software-RAID
 
* Youtube video: [http://www.youtube.com/watch?v=19mqWyGidVY Setting up simple software RAID-1 on Debian 5]
 
* https://www.howtoforge.com/how-to-set-up-software-raid1-on-a-running-system-incl-grub2-configuration-debian-squeeze
 
  
 
[[Category: HOWTO]]
 
[[Category: HOWTO]]

Latest revision as of 09:29, 29 March 2021

Introduction

Software RAID is an alternative for using hardware-RAID controller for local storage. Please note that Proxmox VE currently only supports one technology for local software defined RAID storage: ZFS

Supported Technologies

ZFS

If you want to run a supported configuration, using a proven enterprise storage technology, with data integrity checks and auto-repair capabilities ZFS is the right choice.

See the ZFS on Linux article for more information.

Unsupported Technologies

btrfs

btrfs can actually be a very safe and functional choice, but it is not yet supported by Proxmox VE. It will be re-evaluated for Proxmox VE 7.0.

mdraid

mdraid has zero checks for bitrot, data integrity, and most filesystems on top do not provide that either.

That means, if some data gets corrupted, which happens on any long-running system sooner or later, and you normally do not notice until it's too late. So, Proxmox projects do not support it to avoid that users run into these problems!

For non-production/unsupported setups, where you still want to use mdraid (please don't!), you can create the required RAID level during Debian installation and then install Proxmox VE or create RAID after install Proxmox VE. Look at the following pages:

If you need further assistance for md-raid, it's another good sign that you do not want to choose that technology.