Archive for the tag 'Primary'

How to find primary and backup Superblock

dumpe2fs prints the super block and blocks group information for the filesystem present on device.

#dumpe2fs /dev/hda4 | grep -i superblock
dumpe2fs 1.39 (29-May-2006)
Primary superblock at 0, Group descriptors at 1-1
Backup superblock at 32768, Group descriptors at 32769-32769
Backup superblock at 98304, Group descriptors at 98305-98305
Backup superblock at 163840, Group descriptors at 163841-163841
Backup superblock at 229376, Group descriptors at 229377-229377
Backup superblock at 294912, Group descriptors at 294913-294913
Backup superblock at 819200, Group descriptors at 819201-819201
Backup superblock at 884736, Group descriptors at 884737-884737
Backup superblock at 1605632, Group descriptors at 1605633-1605633

Now you can use the command below to repair the file system.

e2fsck - check a Linux ext2/ext3 file system

Setup Primary and Secondary (Slave) DNS server in Plesk.

Setup should allow zone transfer for the secondary DNS server in Plesk.
To allow it, secondary DNS server’s IP should be listed in NS records for all zones on Plesk server or it should be added to Access Control List (ACL).

ACL is be managed on the Server->DNS Settings->Common ACL page in Plesk CP.

In case if you wish to use non Plesk server as slave DNS, all DNS zones have to be created on the secondary DNS server in /etc/named.conf (this file location may be differ depending on OS) with ’slave’ type, for example:

zone “serverbuddies.com” {
type slave;
file “serverbuddies.com.zone”;
masters { 192.168.0.1; };
};

Restart named after that. Now slave DNS server will get zones information from Plesk (master DNS server).

Source: http://parallels.net/Plesk/