Adding an Additional Disk to RAID0

azadhussnain

Well-Known Member
May 28, 2020
51
0
6
India
cPanel Access Level
Root Administrator
Hello I Have A Question.

I have a Dedicated Server from Hetzner, the dedicated server has two disk.
While Installing the OS via Hetzner Rescue Mode Installimage command i have configured my server to SWRAID LEVEL 0 and i have set LVM root ext4 on path / and set storage all to the path '/'

and my question is that if i add an additional drive ( disk ) into my server then will my data loss which is configured on RAID0 i mean to say that will i loss my existing data?
 

ankeshanand

Well-Known Member
Mar 29, 2021
194
58
103
India
cPanel Access Level
Root Administrator
No
The OS will be installed in /dev/sda (1st Drive) and it will not even create a Partition in /dev/sdb which you have to create by yourself. RAID0 is Software Raid in which there is no Data mirroring and you can use full Storage as Data is stripped. When you add an additional drive /dev/sdc , sda and sdb will still be in RAID0 whereas sdc woudn't have Partition which you have to create. There will be no Data Loss.

If You reinstall the OS, Then only there will a data loss through RAID0.
 
  • Like
Reactions: cPRex