Score:0

is possible to combine two raids groups in one logical drive

mg flag

i have server with raid card support 8 disk drive and and created raid. but to to large data storage getting full. so i want to know if i add another raid card with same model and capacity. and create same raid like raid 10 or 5 on both raid drives. is possible i will merge both raid storage as one drive. server del T630 internal sotrage bay 8 with 8tbx8 external storage bay 8 with 8tbx8 and use same raid cards for both raids and same raid type like raid 5 or 10

Romeo Ninov avatar
in flag
What is your operating system?
Owais Maqsood avatar
mg flag
i am using ubuntu 22. and mysql 8.0. its actually a database server where one database size getting increased by 100gb every day.
Score:0
in flag

One possible solution is to use entirely software approach via LVM.

Let suppose you see from OS the hardware arrays as /dev/sda and /dev/sdb. You do not have LVM configured. Have two partitions /dev/sda1 and /dev/sda2 for boot and /.

  1. create new partition in /dev/sda, for example /dev/sda3

  2. create PV on this partition and second disk

    pvcreate /dev/sda3 /dev/sdb

  3. Create VG

    vgcreate bigvolume /dev/sda3 /dev/sdb

  4. create LV

    lvcreate -L 20GB -n bigdata1 bigvolume

  5. create filesystem

    mkfs.ext4 /dev/mapper/bigvolume-bigdata1

  6. Mount is somewhere:

    mount /dev/mapper/bigvolume-bigdata1 /somewhere

In above example type of filesystem and mountpoint are just examples

Owais Maqsood avatar
mg flag
It's ok . But other question. Is it's harful for raid actual work or not. I mean of use lvm for murge two partions belongs to two different raid group.. will effect raid or not. Is raid will work as normal or not?
Romeo Ninov avatar
in flag
What do you mean by "Is it's harful for raid actual work or not"? And if you have new question please use https://serverfault.com/questions/ask
Owais Maqsood avatar
mg flag
I mean raid backup feature will if we use above method?
Romeo Ninov avatar
in flag
@OwaisMaqsood, do you tail about snapshots? And RAID is not a backup
Owais Maqsood avatar
mg flag
No sir, I mean raid actual work. If we merge two raids and any drive from one raid got problem. And we replace bad drive. Then data will work or not?
Romeo Ninov avatar
in flag
@OwaisMaqsood, you do not merge RAIDs on hardware level. They continue to be independent. You represent then to the OS as one drive via kind of virtualisation. So if you repair one RAID and start computer the recovery of information on this drive will happen on controller level. And OS will continue to see the same volume
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.