Software RAID 1 ?

Netizen

Member
Aug 16, 2012
88
0
6
Hello,

I understand that Proxmox 2 does not support Software RAID however I only realised that now, long after installing Proxmox using the image given from the DataCenter (Hetzner). Does this mean that the system is not protected against failure of either of the disks?

I am running WEBMIN for simple server admin functions and under the HARDWARE> Linux RAID menu I see this:
[SIZE=+2]---
Linux RAID[/SIZE]
Using MDADM version 3.1.4

Device name
Active? RAID level Usable size Member disk devices
/dev/md0YesMirrored (RAID1)511.99 MB/dev/sda1 | /dev/sdb1
/dev/md1YesMirrored (RAID1)1.46 TB/dev/sda2 | /dev/sdb2
/dev/md2YesMirrored (RAID1)1.17 TB/dev/sda3 | /dev/sdb3
[SIZE=+2]---[/SIZE]

The system has 2 x 3TB hard drives.

I did nothing during the initial server setup apart from choosing the partitions.
Should I worry about it?
 
mount

/dev/mapper/vg0-root on / type ext4 (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md0 on /boot type ext3 (rw)
/dev/mapper/vg0-backup on /backup type ext4 (rw)
/dev/mapper/vg0-data on /vz type ext4 (rw)
/dev/mapper/vg1-backup2 on /opt type ext4 (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,default_permissions,allow_other)
beancounter on /proc/vz/beancounter type cgroup (rw,name=beancounter)
container on /proc/vz/container type cgroup (rw,name=container)
fairsched on /proc/vz/fairsched type cgroup (rw,name=fairsched)



pvs

PV VG Fmt Attr PSize PFree
/dev/md1 vg0 lvm2 a-- 1.46t 99.00g
/dev/md2 vg1 lvm2 a-- 1.17t 1.07t


vgs

VG #PV #LV #SN Attr VSize VFree
vg0 1 4 0 wz--n- 1.46t 99.00g
vg1 1 1 0 wz--n- 1.17t 1.07t

lvs

LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
backup vg0 -wi-ao-- 200.00g
data vg0 -wi-ao-- 1.12t
root vg0 -wi-ao-- 20.00g
swap vg0 -wi-ao-- 34.00g
backup2 vg1 -wi-ao-- 100.00g
 
mount

...
/dev/mapper/vg1-backup2 on /opt type ext4 (rw)
strange lv-naming for opt...

But this shows that all is protected due softwareraid.
backup on the same VG like the VMs is not optimal - you should better backup to /opt (but all on the same disk - the performance of an raid1 is not realy good, so perhaps it's equal).

Udo
 
Thank you for the help. Much appreciated.

What will happen in the unfortunate event that the primary disk fail for some reason? Will the system auto-start from the healthy drive?
Excuse my ignorance but I am assuming that the OS would have taken care of those issues while setup. The OS of obvisouly aware that RAID1 exists, so how can I confirm what will happen (without taking the drive offline of course).
Do you know?
 
Thank you for the help. Much appreciated.

What will happen in the unfortunate event that the primary disk fail for some reason? Will the system auto-start from the healthy drive?
Excuse my ignorance but I am assuming that the OS would have taken care of those issues while setup. The OS of obvisouly aware that RAID1 exists, so how can I confirm what will happen (without taking the drive offline of course).
Do you know?
Hi,
if the bootloader (grub) also installed on the second drive it's should work.

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!