- I have a software RAID 1.
- There is data already stored on the system.
- I want to shrink an existing partion and then create a new one with the remaining space.
- I'll use
parted
.
I'm aware I cannot partition any /dev/sd*
device while it would ignore and break the RAID 1. But just to be sure ... can I partition the / dev/md*
devices while they represent the RAID 1?
/dev/md0
- /dev/sda1
- /dev/sdb1
/dev/md1
- /dev/sda2
- /dev/sdb2
... and so on
My questions are:
Do I have to partition every single device of the RAID array in question or can I just partition the RAID array itself and the software RAID proxies it to the single devices?
If I have to partition any single device do I have to unRAID them first, partition them and RAID them again?