November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

CENTOS 6.5 GFS CLUSTER

CentOS 6.5 x64 RHCS GFS

cluster1.rmohan.com cluster2.rmohan.com

# cat /etc/hosts

192.168.0.10 cluster1.rmohan.com cluster1 192.168.0.11 cluster2.rmohan.com cluster2

[root@cluster1 ~]# iptables -F [root@cluster1 ~]# iptables-save > /etc/sysconfig/iptables [root@cluster1 ~]# /etc/init.d/iptables restart iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Flushing firewall rules: [ OK ] iptables: Unloading modules: [ OK ] iptables: Applying firewall […]

CENTOS , FEDORA , RHEL 7 XFS FILE SYSTEM

XFS File System

What is XFS?

XFS is a highly scalable, high-performance file journalling file system which was originally designed at Silicon Graphics, Inc in 1993. Originally XFS was used on Silicon Graphics Inc’s own operating system Irix, however, it was later ported to the Linux kernel in 2001. Today XFS is supported by most […]

RHEL 7 DETAILS

[…]

How to block brute force attacks on your SSH server

You have probably seen very simple iptables rules to do this. This is a little bit better.

-A INPUT -i eth0.103 -p tcp -m tcp –dport 22 -m state –state NEW -m recent –set –name SSH –rsource -A INPUT -i eth0.103 -p tcp -m tcp –dport 22 -m recent –rcheck –seconds 30 –hitcount 4 –rttl […]

Failed to activate new LV

If you like this article, please +1 or Recommend via FB with the provided buttons above: Article ID: 135 by: Reese K. Posted: 15 Oct, 2013 Last updated: 15 Oct, 2013 Views: 1486

Failed to activate new LV EDS etlprod2 ~ # lvcreate -l 14645 -n lv_dwstore vg_etlprod2 Not activating vg_etlprod2/lv_dwstore since it does not […]

Netmasks Table

Netmask Table

Decimal Binary CIDR Hex ——————————————————————- 255.255.255.255 11111111.11111111.11111111.11111111 /32 ffffffff 255.255.255.254 11111111.11111111.11111111.11111110 /31 fffffffe 255.255.255.252 11111111.11111111.11111111.11111100 /30 fffffffc 255.255.255.248 11111111.11111111.11111111.11111000 /29 fffffff8 255.255.255.240 11111111.11111111.11111111.11110000 /28 fffffff0 255.255.255.224 11111111.11111111.11111111.11100000 /27 ffffffe0 255.255.255.192 11111111.11111111.11111111.11000000 /26 ffffffc0 255.255.255.128 11111111.11111111.11111111.10000000 /25 ffffff80 255.255.255.0 11111111.11111111.11111111.00000000 /24 ffffff00

255.255.254.0 11111111.11111111.11111110.00000000 /23 fffffe00 255.255.252.0 11111111.11111111.11111100.00000000 /22 fffffc00 255.255.248.0 11111111.11111111.11111000.00000000 /21 fffff800 […]

turning off auto indent and comments in vi

It’s not always convenient to have auto comments or auto indent when pasting text enabled within a vi session. To turn them off, at least within the current vi session:

:set comments=

:set paste

Extract contents of initrd

How to extract and view contents of initrd

Depending on your version of linux, the /boot/initrd may be one of two formats:

cpio archive ext2 filesystem data The easiest way to determine what you’re working with is by using the file command. Here are examples showing the output for each file type listed in the […]

ip_conntrack: table full, dropping packet

ip_conntrack: table full, dropping packet At one point, there was high call volume into our support center of customers complaining about severe lag. One common denominator was that the customer base who called in happened to all reside on the same server, so investigation into the matter focused on that one particular system.

The server’s […]

The file /boot/grub/stage1 not read correctly

The file /boot/grub/stage1 not read correctly After pxe booting a server and installing linux from a cpio archive, grub failed to load using the grub-install command. The error presented was as follows:

root@pxe:~# mkdir /target root@pxe:~# mount /dev/sda1 /target root@pxe:~# chroot /target root@pxe:~# grub-install /dev/sda The file /boot/grub/stage1 not read correctly. Since command line didn’t […]