Skip to main content

Posts

Showing posts from February, 2010

How To Create Linux LVM In 3 Minutes

What’s LVM? Why using Linux Logical Volume Manager or LVM? These questions are not the scope here. But in brief, the most attractive feature of Logical Volume Manager is to make disk management easier in Linux! Basically, LVM allows users to dynamically extend or shrink Linux “partition” or file system in online mode! The LVM can resize volume groups (VG) online by adding new physical volumes (PV) or rejecting those existing PVs attached to VG. A visualized concept diagram of the Linux Logical Volume Manager or LVM In this 3-minutes Linux LVM guide, let’s assume that ■The LVM is not currently configured or in used. Having say that, this is the LVM tutorial if you’re going to setup LVM from the ground up on a production Linux server with a new SATA / SCSI hard disk. ■Without a luxury server hardware, I tested this LVM tutorial on PC with the secondary hard disk dedicated for LVM setup. So, the Linux dev file of secondary IDE hard disk will be /dev/hdb (or /dev/sdb for SCSI ...

How to find files in Linux using 'find'

Files can be found under Linux in many different ways. Using the find tool is one of the best ways to find files. The find tool has a huge number of parameters which can be set so that Linux finds exactly those files that you were searching for. Many users use the find tool with just the basic parameters. They get the results that they were looking for. Unfortunately most of the users don't spend time to learn all about find. If they do, they can make excellent use of this tool and I am sure you would be surprised at the possibilities. In case you just want to know where a particular file exists on your system, and nothing else is required, then use locate tool. Article No.20 explains how to use locate. Here are a few ways to use find - $ find / -name 'program.c' 2>/dev/null $ find / -name 'program.c' 2>errors.txt / Start searching from the root directory (i.e / directory) -name Given search text is the filename rather than any oth...

RDAC Multipath Failover Driver for Linux OS

Installing the RDAC Driver The following procedure describes how to install the RDAC driver for Red Hat RHEL 5, Red Hat Advanced Server 4, and Red Hat SuSE. •Red Hat RHEL 5 package: rdac-LINUX-09.03.0B05.0042-source.tar.gz •Red Hat Advanced Server 4 package: rdac-LINUX-09.03.0C02.0042-source.tar.gz 1. Unpack the source code using the tar command: # tar -zxvf rdac-LINUX-xx.xx.xxxx.xxxx-source.tar.gz where xx.xx.xxxx.xxxx is the RDAC version you downloaded. The files are copied to the linuxrdac-xx.xx.xx.xx directory. 2. Change to the directory containing the unpacked files. For example, # cd linuxrdac-09.03.C2.13 3. Remove any earlier version drivers that are in this directory by running the make clean command: # make clean -r make V=0 -C/lib/modules/2.6.18-8.el5xen/build M=/PTS/linuxrdac-09.03.C2.13 MODVERDIR=/lib/modules/2.6.18-8.el5xen/build/.tmp_versions SUBDIRS=/PTS/linuxrdac-09.03.C2.13 clean make[1]: Entering directory ‘/usr/src/kernels...

pfSense Open Source Firewall

pfSense is a free, open source customized distribution of FreeBSD tailored for use as a firewall and router. In addition to being a powerful, flexible firewalling and routing platform, it includes a long list of related features and a package system allowing further expandability without adding bloat and potential security vulnerabilities to the base distribution. pfSense is a popular project with more than 1 million downloads since its inception, and proven in countless installations ranging from small home networks protecting a PC and an Xbox to large corporations, universities and other organizations protecting thousands of network devices. This project started in 2004 as a fork of the m0n0wall project, but focused towards full PC installations rather than the embedded hardware focus of m0n0wall. pfSense also offers an embedded image for Compact Flash based installations, however it is not our primary focus.