Ubuntu Server Installation - Preseeding raid partitioning
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubuntu Server Installation - Preseeding raid partitioning
I want to configure an automatic installation of ubuntu server 14.
I need two partitions on one single raid array. One for the os and one for data.
As i can see it is only possible to partitioning the hard dirves and set up multiple raids.
But it is very important for me to have only one array running with two partitions on it.
Is there any way to preseed this setup? If not, is there any way to manually partition the raid array in bash during the installation?
I want to configure an automatic installation of ubuntu server 14.
I need two partitions on one single raid array. One for the os and one for data.
As i can see it is only possible to partitioning the hard dirves and set up multiple raids.
But it is very important for me to have only one array running with two partitions on it.
Is there any way to preseed this setup? If not, is there any way to manually partition the raid array in bash during the installation?
PS: i can not use lvm in my setup
AFAIK that's only possible with a hardware raid controller.
Out of interest, why can't you use lvm? I can't think of any reason.
You can also use software raid.
I dont know, which options you can select during installation, but try it out.
You can also buy a book for ubuntu administration.
My supervisor asked me to do it without because our custom nas administration software does not support lvm administration.
Since it is not possible without, i try to do it with lvm...
@Keruskerfuerst
I tried to configure this setup with the standard ubuntu server installer and i am not able to create multiple partitions on a software raid1.
The only thing i can do is to setup two partitions on the disks and create two raid arrays...
Ok, it seems to be possible, but I had to create the raid and the partitions in it with a systemrescue CD in my test VM. I think you're also better off if you keep the boot partition outside the raid. I had problems booting when I removed one of the disk, but not the other. When I had the problem with booting, I needed to re-add the previously removed disk to the raid and let it finish the sync. Only then the raid would boot again.
The problem right now is the second raid array.
Any hint how to preseed the boot partition not in an extra array?
I tried to configure the boot partition not as an raid but as ext3 and removed the array from partman-auto-raid/recipe which causes the installer to stuck after partitioning without any error...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.