Saturday, September 15, 2012

Linux LVM - Creating LV and mounting it

We had created a VG already here, we are going to use that VG to create some LVs or filesystems on it. At first going to look for the VG size and free space available, vgdisplay and vgs commands will do that for us, Here we find that only one VG is available on the server. If there...

Friday, September 14, 2012

Linux LVM - Creating VG

For creating a VG we need free PVs, i am going to use the PVs created from my previous post, Below are the PVs going to be used for the new VG, make a note of the attributes on the below output,    1. Command to create VG with above PVs /dev/sdc1 and /dev/sdc2, vgcreate...

Linux LVM - Creating PVs

Linux LVM - Creating PVs How to create Physical volume (PV)? Before creating a PV verify if it is formatted with appropriate partition's system id, click here for the previous post how to format with Linux LVM partion id? We are going to create a PV which is based on the disk formatted on...

Format a new disk for Linux LVM

Format a new disk in Linux LVM 1. Find the new disk from fdisk -l, 2. Format the disk using fdisk command. I am going to format the device /dev/sdc with 2 partitions.   Used the below options, For first partition /dev/sdc1 a) Command (m for help): n  -----> New...

Scan and Detect a new disk added from VMware to a Linux VM.

Scan and Detect a new disk added from VMware to a Linux VM 1. Before scanning a VMware SCSI disk, make a note of an already available disks on the server with "fdisk -l" command and the LUN ids from "cat /proc/scsi/scsi" file.  2. Check how many scsi hostid's present in "ls -l /sys/class/scsi_host"....

Adding an additional disk in VMware for Linux VM

Adding an additional disk in VMware for Linux VM 1. Right click on the VM which you need to add a disk and goto settings from your VMware Workstation. You will get the below window, 2. Make a note of already assigned disk to the VM. And click on Add. 3. Select Hardisk and...

Thursday, September 13, 2012

Linux - Booting Process

Linux - Booting Process After Powering On a Linux Machine, 1. BIOS BIOS stands for Basic Input/Output System Performs some system integrity checks Searches, loads, and executes the boot loader program. It looks for boot loader in floppy, cd-rom, or hard drive. You can press a key (typically...

Linux - Runlevel and Init process

v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-IN X-NONE X-NONE ...

Pages