We have a server that was set up with an ubuntu software raid setup in raid 1 with 2 6TB hard drives so that we have 6TB of storage available and backed up so we are safe if one of the hard drives fails. I want to add 2 4TB hard drives to increase the available space to 10TB total as our server is getting full. How do I go about doing this? I understand adding them to the current raid array would actually result in only 4TB of space being available in total as it would try to mirror the data on the 4 drives.
Do I need to add a new raid array in this case?
The result of running mdadm -D /dev/md0
on the server as it is currently stands is as follows:
/dev/md0:
Version : 1.2
Creation Time : Wed Apr 20 15:54:49 2016
Raid Level : raid1
Array Size : 5850527552 (5579.50 GiB 5990.94 GB)
Used Dev Size : 5850527552 (5579.50 GiB 5990.94 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Sun Apr 9 01:38:21 2017
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : lazarus:0 (local to host lazarus)
UUID : 1853e775:0771cfa7:d64ea77b:9f222c27
Events : 2274
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 19 1 active sync /dev/sdb3
The output of lsblk
is:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 5.5T 0 disk
├─sda1 8:1 0 94M 0 part /boot
├─sda2 8:2 0 9.3G 0 part
│ └─md1 9:1 0 18.6G 0 raid0 [SWAP]
└─sda3 8:3 0 5.5T 0 part
└─md0 9:0 0 5.5T 0 raid1 /
sdb 8:16 0 5.5T 0 disk
├─sdb1 8:17 0 94M 0 part
├─sdb2 8:18 0 9.3G 0 part
│ └─md1 9:1 0 18.6G 0 raid0 [SWAP]
└─sdb3 8:19 0 5.5T 0 part
└─md0 9:0 0 5.5T 0 raid1 /
sr0 11:0 1 1024M 0 rom
The hard-drives are not yet in the chassis, in case people were thinking that was the case.