April 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

Categories

April 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

Setting up a 2-node GlusterFS file-system

This will be a quick howto on how you would set up a 2-node GlusterFS filesystem. You may look up more information at http://www.gluster.org/.

Volume types for GlusterFS

– Distributed. Distributed volumes distributes files throughout the bricks in the volume – Replicated. Replicated volumes replicates files across bricks in the volume – Striped. Striped volumes […]

e2label, fdisk, /etc/fstab, mount, linux rescue, rescue disk, CentOS

Tutorial: e2label, fdisk, /etc/fstab, mount, linux rescue, rescue disk, CentOS Let’s run through an example of a fresh disk, that needs to be configured, going through partitioning with fdisk, make filesystem, filesystem labelled using e2label, /etc/fstab edited, and mounted using mount. This is relevent for CentOS 3.x, 4.x 5.x; YMMV for other flavours.First, a […]

CentOS Remove Old Kernels

Tonight when upgrading a CentOS Linux server it was noted by YUM that 15MB more disk space was needed to upgrade grub and the kernel itself. Below are four quick steps to verify what kernels are installed, install yum-utils if it is not installed already, delete previous kernels and set YUM to remove old kernels […]

Linux OS Tuning/Optimizations

High i/o wait tuning for File Servers

Under “Server”?“General” tab, change “Priority” configuration to “-19”. Process priority can be set from -19 to 20, -19 is the highest, 20 is the lowest.

Change to ‘deadline’ I/O scheduler

From command line (change the device ‘sda’ to appropriate device): echo “deadline” > /sys/block/sda/queue/scheduler kernel parameter, change /boot/grub/menu.lst, […]

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 […]

LVM volumes on CentOS / RHEL 7 with System Storage Manager

LVM volumes on CentOS / RHEL 7 with System Storage Manager

Logical Volume Manager (LVM) is an extremely flexible disk management scheme, allowing you to create and resize logical disk volumes off of multiple physical hard drives with no downtime. However, its powerful features come with the price of a somewhat steep learning curves, with […]

VSFTPD CENTOS 6.5

CentOS installation configuration FTP server

CentOS install FTP server is configured under a simple procedure notes.

192.168.1.12 client 192.168.1.10 server

Installation yum install vsftpd

[root@server ~]# yum install -y vsftpd Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: centos.mirror.secureax.com * extras: centos.mirror.secureax.com * updates: centos.mirror.secureax.com Resolving Dependencies […]

NFS SERVER Centos 6.5

yum install -y nfs-utils rpcbind

Environmental instructions

nfs server system: CentOS 6.5 x86_64 nfs server IP: 192.168.1.10 nfs client system: CentOS 6.5 x86_64 nfs client IP: 192.168.1.12

Install the NFS server (192.168.1.10)

Step-1: install nfs-utils and rpcbind, run the following command:

yum install -y nfs-utils rpcbind

Step-2: specify a fixed port for NFS, run the […]

CentOS 7 Own CLoud 7

Install minimal install Centos 7

yum -y update

[root@testserver7 ~]# yum install httpd php php-mysql mariadb-server mariadb sqlite php-dom php-mbstring php-gd php-pdo wget vim Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.vodien.com * extras: mirror.vodien.com * updates: mirror.vodien.com Package sqlite-3.7.17-4.el7.x86_64 already installed and latest version Package wget-1.14-10.el7_0.1.x86_64 already installed and latest […]

ifconfig command not found on CentOS 7

ifconfig command not found on CentOS 7