PDA

View Full Version : [ubuntu] 10.04 manual partitioning



serge_o
November 15th, 2010, 04:03 PM
Hello everybody!

The question is simple. I always use manual partitioning and software RAID with ubuntu servers (I used all versions from 7.04 to 10.04).
for instance i want to have 5 RAID-1 partitions (on 2 HDDs) of different sizes.
For this I have to first partition the first hard drive -create these 5 partitions and mark them as "physical volume for RAID"

then I have to repeat the same config for the second HDD

and then create the MD devices.

Is there a way to repeat the config of the first HDD on the second HDD in the partitioner (in one click so to say) - not involving going to the console and doing dd of MBD from sda to sdb ?

I understand that this feature is more or less "nice to have" and not crucial...
anyway ...
Thanks in advance.
Serge.

dino99
November 15th, 2010, 05:23 PM
if you have some skills with scripting, it can be done. But there is also the LVM solution which is easier.

http://www.debuntu.org/how-to-install-ubuntu-over-lvm-filesystem

https://help.ubuntu.com/community/Installation/RAID1%2BLVM

https://wiki.ubuntu.com/Raid