I have one SSD and one 10TB HDD.
All the OS stuffs (e.g. /
, /root
, /var
, /usr
, etc) are on the SSD.
And for a very dumb reason, I have to attach the 10TB to a RAID card (LSI MegaRAID SAS 9260-8i). And so it is configured with RAID 0.
Now, I wonder whether any special care needs to be taken if I want to partition it. I am on CentOS 7.
I tried to use parted
to create two partitions and then use mkfs.xfs
to format both partitions.
Then, I tried to run some test with fio
, and it was stuck at 100% for like 10 mins. Then I killed fio
and issued a reboot command, but the machine didn't reboot, and someone in the data center had to manually power cycle it.
When it came back, the RAID utility/driver complained:
All of the disks from your previous configuration are gone. If this is an unexpected message, then please power off your system and check your cables to ensure all disks are present. Press any key to continue, or press to load the configuration utility.
The tech guy there had to get into MegaRAID WebOS to reconfigure it.
So I suspect that I couldn't just use parted
to partition a hardware RAID 0 HDD?
Thanks.