Configure Debian Software RAID 1 during installation Rumi, August 6, 2021 Step 1 Perform normal installation process up to the disk partitioning menu. Step 2 Select manual partitioning method in the disk partitioning menu. Step 3 Create empty partition table on each disk used to create RAID1 array. Step 4 Create partitions on the first disk. During partition creation process select physical volume for RAID as partition type. Replicate changes in the same way to the second disk. Step 5 Execute configure software RAID option. You will be asked to store changes applied to the partition tables – do it so partitions created in the previous step can be used to create RAID arrays. Create new MD device for identical partitions on recently configured disks. Choose RAID1 as device type. Select 2 as a number of active devices for the RAID1 array. Select 0 as a number of spare devices. Select identical partitions on recently configured disks (eg. md0 → [sda1, sdb1] and md1 → [sda2,sdb2]). Step 6 Create root file-system on the first RAID1 device. Create swap space on the second RAID1 device. Select finish partitioning and write changes to disk option to confirm changes applied to the RAID1 devices. Step 7 Continue installation process up to the install the grub boot loader on a hard disk menu. By default grub will be installed only on the first disk so switch to the second (ALT + F2) or third (ALT + F3) console before system reboot, and execute the following commands to install it on the second disk. Make your Grub choice and you are done. Related Administrations Configurations (Linux) DebainRAIDRAID 1
Setting up PHPMyAdmin to Usermin Module June 12, 2008 Webmin and Usermin are simply great- but it lacks the most widely used PhpMyadmin support! However, after googling for a while I got a solution for this. First need to download and setup the usermin module- here’s the URL for wbm package- http://awstats.sourceforge.net/files/phpmyadmin-1.0.wbm How to install PHPMyAdmin Module ? Go… Read More
PowerDNS: Rec Control September 11, 2011 make rec_control be more user friendly make wipe-cache accept non-dot terminated domain names make wipe-cache return count of wiped ('wopen'?) domains document best current practice when wiping (wipe more than www.domain, wipe domain as well) REC_CONTROL(1) ============== NAME —- rec_control – control pdns_recursor SYNOPSIS ——– 'rec_control' [–help] [–socket-dir] [–socket-pid] command… Read More
Increase MySQL connections max_connections January 19, 2017 If you need to increase MySQL Connections without MySQL restart do like below mysql> show variables like ‘max_connections’; +—————–+——-+ | Variable_name | Value | +—————–+——-+ | max_connections | 100 | +—————–+——-+ 1 row in set (0.00 sec) mysql> SET GLOBAL max_connections = 150; Query OK, 0 rows affected (0.00 sec)… Read More
By default grub will be installed only on the first disk so switch to the second (ALT + F2) or third (ALT + F3) console before system reboot, and execute the following commands to install it on the second disk. What commands? They are not listed in this tutorial and are required for protection against boot failure. Reply
Yes you are right and identified my mistake. I’ll check back and re-run the process and update the document soon. Reply
If you wish your /boot to be running under RAID-1 then while selecting the grub at the last state of installation, is fine, because /boot a.k.a grub is already is under RAID-1 partition. Reply
it should be: After first boot, consider executing dpkg-reconfigure grub-pc (or dpkg-reconfigure grub-efi-amd64 on EFI systems), and install to all devices. This way, your system will still boot correctly even if you reorder your drives. Reply