Creating a Slave DNS Server (BIND9) in 6 easy steps*
* aaa.bbb.ccc.ddd is the IP address of ns1.yourdomain.com.
* named on ns1.yourdomain.com is already working, and has NS records for ns1.yourdomain.com and ns2.yourdomain.com.
1. In the global options block in /var/named.conf on ns1.yourdomain.com:
Make sure
notify yes;
is present. This will tell BIND to notify the other name servers listed for each zone when there is a change.
2. In the [...]
Adding a new RAID1 array using mdadm
Goals:
Add 2 new physical hard drives: /dev/hdc and /dev/hdd
Create RAID1 mirror /dev/md6
Automatically mount new partition in /raid
1. fdisk one of the newly added hard drives:
fdisk /dev/hdc
n, p, 1, <enter>, <enter>
t, fd
w
2. dump new partition table to the other disk:
sfdisk -d /dev/hdc | sfdisk /dev/hdd
3. create new RAID1 set/device:
mdadm –create /dev/md6 –level=1 –raid-disks=2 /dev/hdc1 /dev/hdd1
4. format [...]