Ubuntu ftp server with ispconfig9/3/2023 ![]() ![]() For each of the LVMs you have created, click on them and set the following: Just one more step and you are done partitioning. You now have successfully setup LVM over RAID1. I usually name them LogVolRoot (for /) or LogVolTmp (for /tmp) “Configure the Logical Volume Manager” and use /dev/md0 as Physical Volume.Ĭreate a Volume Group and named it “VolGroup00″ (or whatever you want)Ĭreate as many Logical Volumes as you need, set the right size for them (you can resize later). You can use LVM over RAID1 or simply use LVM. Sorry, it sucks, but I didn’t find a better way to do it. The bad thing with this setup is that in case of disk failure you will have to recover either EFI partition or/and the /boot partition. After playing around with all kinds of setups, this was the only working solution I have found. If you are using UEFI:You will need 1 vfat32 partition for EFIBoot and 1 ext4 partition for /boot, outside the software RAID. /var: this is where there are web files and databases, so I usually use the rest of the space for it also set usrquota and grpquota for this./tmp: can be anywhere from 2GB to 10GB, set nosuid and noexec for it./: make this one about 10-20GB, for system./boot: this one is usually 128MB, for kernel you skip it if you want.I usually create different logical volumes/partitions for: I prefer to use LVM over the RAID1 I’ve just created because I find it easier to manage this way. More details about this on my previous article “Install Ubuntu 12.04 with RAID/LVM on UEFI system” To keep things looking nice you can create 2x 128MB partitions on both harddisks(one on each). Note: If you are using a system that has (U)EFI you might want to partition your disks before using GParted and you will need to create an EFIBoot partition of about 100MB at the beginning of HDD. Congrats, you have just finished setting up software RAID1! Press Alt+F2, Enter and check out the progress of RAID sync: You should see now RAID1 device #0 which is commonly known as /dev/md0. Go to “Configure software RAID” and “Create MD device” -> RAID1, 2 disks, 0 spare and select the two partitions you have marked for RAID (probably /dev/sda1 and /dev/sdb1) Mark them as “Use as: physical volume for RAID” It’s not even hard to configure RAID1:Ĭreate 2 equal size partitions, one on each drive There are pro and cons of using software RAID1, but I think it’s better to have it. The reason why I am insisting on using at least 2 HDDs is because you will be able to setup software RAID1. It doesn’t matter if they are of different sizes as long you have enough space on the smallest one. I don’t claim my setup is “perfect”, but please read and make your own decisions.įirst of all, do yourself a favor and use at least 2 HDDs for the server you are going to setup. But I always find some things that bother me. I usually follow them, after all there aren’t so many variations on how to setup a LAMP. There are a lot of tutorials over the Internet about how to configure an Ubuntu server for ISPConfig. Note: This is work in progress! You should probably test this in a virtual machine first and play around with various settings. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |