RSSCategory: LINUX HOWTO

How To Find Un Allocated Space On Linux

Using only fdisk, the "start" and "end" columns in your 'fdisk -l' output are the start and end cylinders. From the header of your 'fdisk -l' output, you can also see how many cylinders the disk has and how many bytes a cylinder represents. fdisk -l /dev/cciss/c0d0 Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes 255 heads, […]

March 9, 2011 | By
| 2 Replies More

Linux Samba Share Accessing And Mounting

Samba is a service in Linux that provides seamless file and print service to SMB/CIFS clients. One of the main feature of samba is that it allows interoperability between Linux/Unix servers and Window-based clients. In general, you can share resource-like files and printers over network between Unix to Unix as well as Unix to Windows. In […]

March 9, 2011 | By
| Reply More

Create, Format, Mount Filesystems in Linux

A filesystem is an organization of data and metadata on storage device. You can also say it as organizing data in systematic manner. Linux filesystem interface is implemented as a layer architecture. Today unix-like operating system contains only files. If you want to access any files in unix-like OS, filesystem has to be mounted where […]

February 25, 2011 | By
| Reply More

Shared Memory Settings In Linux With Examples

Shared memory is the memory that may be accessed by multiple processes; i.e. a memory region that can be shared between different processes and a better way of passing data between two processes. Shared memory is the fastest form of Inter Process Communication which is currently available. Assume that the program will create a memory […]

February 25, 2011 | By
| Reply More

In Linux How To Flush Routing Table From Cache

Static routes are much important if you have more than one interface connecting to different subnet. Enabling static routes gains much performance for your network. Either of the two below commands can be used to set/delete static routes. 1) ip route 2) route This page I am not referring about how to add/delete static route […]

February 25, 2011 | By
| Reply More

How To Create / Remove Swap Partition In Linux

Swap memory is required when system requires more memory than it is physically available, the kernel swaps out less used pages and gives memory to the current process that needs the memory immediately. So a page of memory is copied to the pre-configured space on the hard disk. Disk speed is much slower compared to memory […]

February 25, 2011 | By in FILE SYSTEM,LINUX HOWTO
| 3 Replies More

Show Storage Luns Allocated on Linux

Hope this output helps you to trace something that you are looking for. I have pasted some of the Storage LUNs related to the output from my RHEL 5 Server. Below scsi file shows all the visible LUNs that are identified through each NIC/HBA card. This server had two Qlogic HBA card so that LUNs […]

February 25, 2011 | By
| 1 Reply More

Linux XDMCP Service - How to access remote Linux GUI

Most linux admins work from shell and there is not much requirement to connect to the X window. But, in some cases, we need to access graphic console (X window Manager). For example, if a user needs to install oracle and he/she might need access to linux remote GUI; then I personally recommend to disable […]

February 25, 2011 | By
| 1 Reply More

How To Backup LVM Configuration On Linux (vgcfgbackup & vgcfgrestore)

In many cases, lvm configuration gets corrupted. So the best pratice to have the lvm configuration is to backup. lvm could also be corrupted on some disk failures and on reboot OS fails to boot up. So it is important to have the lvm configuration backup. vgcfgbackup vgcfgbackup takes the configuration metadata from the lvm […]

February 25, 2011 | By
| Reply More

How to Login ssh Without Prompting Password in Linux

One way to login without using a password is to use a manually generated public-private key pair to perform the authentication, allowing users or programs to login without having to specify a password. In this case, anyone can produce a matching pair of different keys (public and private). While authentication is based on the private […]

February 25, 2011 | By
| Reply More

How to Create Partition in Linux using fdisk Tool

Fdisk is command-line utility that provides disk partitioning functions for various operating systems. It was originally developed by IBM in 1983 and since then it was used on most operating systems from DOS to Windows and to Unix-based systems. Using fdisk to create a new partition Here I’m trying to create a partition on the disk […]

February 25, 2011 | By
| 2 Replies More

Linux Encrypted Filesystem Using Loopback Filesystem

If you have a computer that is really important, you don’t want to blow away your OS on a regular basis after an experiment goes awry – This is perhaps the reason the loopback file system was born. With this handy tool, you can create an image file containing the file system of your choice, […]

February 25, 2011 | By
| Reply More

Tips To Sort Out Linux Booting Issues

Sometimes it happens on reboot the system gets panic or some error message like "init not found" is displayed, preventing from proper booting; then as first step you can try pass init=/bin/bash (Grub boot loader) or linux init=/bin/bash (if Lilo boot loader). This will launch you straight into a Bash shell prompt. Then you can […]

February 23, 2011 | By
| Reply More

How To Enable Ethernet Bonding In Linux

From the word itself it mean bonding , yes its bonding multiple interface to achieve higher throughput and also helps as backup, if one NIC fails (failover will happen). The feature is enabled on Linux so we can created new virtual interface called as "bond". I have tested bonding feature on rhel 4, 5, 6 […]

February 23, 2011 | By
| 2 Replies More