My LVM & RAID Course at Udemy.


Screen Shot 2018-12-06 at 7.56.19 PM


In this course, I will teach you about, what you need to manage the RAID & LVM in your IT infrastructure.

Let’s see what you are going to learn in this course.

  • NFS Server and Client configuration
  • RAID 0, 1 , 5 configuration
  • Samba File Server configuration
  • Logical Volume Management

Also, after this course, you can answer below questions.

  1. What is NFS?
  2. What is RPC?
  3. List some NFS daemons and it’s uses?
  4. How to configure NFS in Linux?
  5. What is RAID and it’s levels?
  6. Why we have to use the RAID configurations?
  7. How to integrate NFS and RAID?
  8. What is Samba?
  9. What is SMB?
  10. What is CIFS?
  11. What is LVM?
  12. How to manage the LVM (creating, extending reducing and deleting)?
  13. How to recover the data from deleted LVM partition?

Thank you and I will meet you in the course.

Who is the target audience?
  • Linux begineers
  • Linux Administrators
  • Storage Admins

Click Here to Enroll : LVM & RAID Course


KickStart Configuration – Redhat 6/ CentOS 6

Kick Start Configuration  for automatic Redhat /Cent OS 6 installation in client computers.

Kickstart Configuration Requirements

Client Machine Configuration should have : 2 GB Ram, 60 GB Hard disk capacity and a proper network connectivity to the server as per this configuration.

Steps To Configure KickStart :-

Step 1 : Install required packages by proceeding the below command.

yum install dhcp tftp-server nfs-utils syslinux vsftpd

Step 2 : open /etc/dhcp/dhcpd.conf  and paste the below DHCP configuration to provide the IP to the client computer. Change the network settings as per your need.


default-lease-time 600;

max-lease-time 7200;


allow booting;

allow bootp;



subnet netmask {



filename “pxelinux.0.”;


Step 3:  Start the DHCP service


Step 4: Open /etc/xinetd.d/tftp configuration file and modify the below value


disable           =          no


Step 5: Start the xinetd service


Step 6:  Copy all files from Red hat Enterprise Linux 6 DVD to /var/ftp/pub/rhos6/


mount the /dev/cdrom to  /var/ftp/pub/rhos6


Step 7 :  Copy all files from isolinux folder to below destination.

cp -a /var/ftp/pub/rhos6/isolinux/*  /var/lib/tftpboot


Step 8 : Please go to /var/lib/tftpboot


Step 9 : Create  a directoty named as pxelinux.cfg and  copy isolinux.cfg  as default and now move the default file to pxelinux.cfg folfer

  1. mkdir pxelinux.cfg
  2. cp isolinux.cfg default
  3. mv default pxelinux.cfg


Step 10 : Open the  pxelinux.cfg/default configuration file


Step 11 : Please ensure the below values on that configuration file


timeout 30


label linux

menu label ^Install or Upgrade an existing system

menu default

kernel vmlinuz

append initrd=initrd.img linux ks=



Step 12 : I have created a below script file to install the Redhat/Cent OS 6 in the destination computer. Now please copy the below script to /var/ftp/pub/ks.cfg . Please change the URL settings as per your need.


# Kickstart file configuration


#version=Redhat Enterprise Linux 6



url –url=”″

lang en_US.UTF-8

keyboard us

network –onboot yes –device eth0 –bootproto dhcp –noipv6


#Root password is “redhat”


rootpw  –iscrypted $1$3FyvFr.8$YtTb4r8F3z8yTzjY3eEw11


# Reboot after installation



firewall –service=ssh

authconfig –useshadow –enablemd5

selinux –enforcing

timezone –utc Asia/Manila

bootloader –location=mbr –driveorder=sda –append=”crashkernel=auto rhgb quiet”

# The following is the partition information you requested

# Note that any partitions you deleted are not expressed

# here so unless you clear all partitions first, this is

# not guaranteed to work


clearpart –all


# /boot = 300MB


part /boot –fstype=ext4 –size=300


#SWAP Memory = 4GB


part swap –grow –maxsize=4064 –size=4064


# / partition size = 30GB


part / –fstype=ext4 –grow –size=30000








@General Purpose Desktop

@Internet Browser

@Printing client

@X Window System




Step 13 : Please ensure the below permission for ks.cfg configuration file




Step 14 :   cp /usr/share/syslinux/pxelinux.0   .


Step 15 : Start/Restart the vsftp service


Step 16 : Start/Restart the DHCP service


Step 17 : Start/Restart the XINETD service



That’s all………..Our Kick Start machine is ready to install OS on the client computer.



Best of luck !!

Please give me your comments/feedback to correct this configuration, if anything wrong.




Openfiler – SMB – Windows share configuration


Using below steps, you can configure the Openfiler for Windows share folder access.

If you do not installed, please refer Openfiler 2.99 – Installation Procedure to install open-filer in your server computer.

Please login to the web browser interface with https://ipaddress:446/ Username : openfiler Password : password
Once you logged in you can see the System Information. Please click on System module to configure. Go to Network Access Configuration and provide Name , Network/Host then click Update button.
Click on Volumes module to configure Hard Drive. Click the “create new physical volumes” link to create new volume group.
Now you can see the Hard Drive list and select your Hard Drive to configure. Ex: I am selecting  my 1 TB Hard Drive.
We are going to create a Partition by clicking the Create button.
Our partition has successfully created.
Click on Volume Groups and provide the group name and check your partition and click Add volume group.
Click Add Volume and this time, we are going to create a fresh volume for windows share on our created volume group.
Configure our new volume to activate. . Provide the volume name, volume description and provide or drag your required space value .Select your file system value.
The output of our created volume
Go to Services module and Enable  and Start the CIFS  (Common Internet File System) Server service.


In this configuration plan, I am going to create three groups and three folders and going to provide specific folder access to above selected groups
And, through the group, I am going to provide the folder access to Users in Windows Machines.
Now you need to login through root account on your Openfiler or you can use Putty to connect your server.
Adding user1
Adding user2
Adding user3
Adding user4
Now, adding group1
Adding group2
Adding group3
Please provide the command like above to add users on the group. Now am adding user1 on group1
Adding user2 on group2
Adding user3 on group3
Adding user4 on group3
Now create SMB password for the users as per our configuration plan. It is a must thing to do to access the folder in windows machine. Creating SMB password for user 1
Creating SMB password for user2
Creating SMB password for user3
Creating SMB passwd for user4
Once you finished your user, group and password configuration on CLI, please go to your web openfiler interface and click Shares module to create 3 folders. Now click on the created volume.    


Provide the name and press Create-Sub-folder button.
Press Make Share to button to configure the share folder access. 
Select Controlled access  and press Update in Share Access Control Mode. Locate your group1 and select the radio button on PG (Primary Group) and select the radio button to RW (Read Write) and press Update in Group Access Configuration.
Create second folder.


Configure the second folder as like above.
Create third group.
Configure the third group as like above.
Now go to your windows system and type the IP address in RUN program as like above and if you configured properly, then you can see the folder names.
Our folders are properly visible in the network. Now you can access the folder as per our configuration plan users. If you need any reference, please see our graphical configuration plan.


Thank you for viewing and good luck for all. 🙂

Let me know comments.


Pradheep Kumar

Open filer 2.99- Installation procedure.

Hello everyone,

We are going to see about the installation procedure of Openfiler 2.99.

You can download the ISO file from the official website of Openfiler.


Step 1: Once you boot from ISO file, you will see the above image in your computer screen. Press Enter button to continue
Step 2: Press Next to continue the installation process
Step 3: Select Language and press Next
Step 4: One Warning message will prompt and ask you the permission to erase all data’s in the system hard disk. Press Yes and continue.
Step 5: Now we are going to install Openfiler on local hard disk so press Next to continue.
Step 6: Then, below error message asking your permission once again to remove all partitions and data’s on the hard disk so please press Yes to continue.
Step 7: Select Manually option and provide the domain based system name as like below or you can give a only a host name. Press Edit on Networking devices option to configure the network settings.
Step 8: Now provide your IP address range and Net mask value
Step 9: And, optionally you can provide your Gateway , Primary DNS and Secondary DNS. Then press Next button to continue
Step 10: Select your Time zone and pres Next.
Step 11: Provide the password for Root account and press Next.
Step 12: Click Next to start Openfiler installation.
Step 13: Once it has started, then it will format and apply the file system.
Step 14: The installation has successfully started.
Step 15: It will ask you to click Reboot button.
Step 16: Once it has Openfiler started, it will show the kernal file booting up like below.
Step 17: The Openfiler loading screen appears like below.
Step 18: An Open filer storage operating system loads up like below and the installation has been successfully done.


Computer Operating Systems – Linux and Windows


Linux is an operating system.

The main advantage is, it is an open source operating system.

We can edit the source code as per our personal need and use it with our private network.

If we compare with the other operating systems, Linux is secured to use.

At worldwide, there are many numbers of distributions are available in Linux and most of the world wide Supercomputers are running with Linux Operating system.

There are some major distributions to use and to get the valuable support from the distributed concern.


Redhat Enterprise Linux is one of the major distribution in Linux.

The Redhat company is from USA, they are modifying and selling the OS named Redhat Enterprise linux to the public customers.

If you want to use the Redhat distribution, then you need to study and write the certification exam in Red hat.

After successful completion of your exam, red hat will provide you a credential on their website to stay updated with them.

Using the credential you can download and install the Red hat ISO file for free of cost.

If the company needs a support from Red hat, then they should pay to Redhat only for the Technical Support.

Upon that, the other success full distributions are SUSE Linux, Ubuntu Linux, Cent OS, Debian and Fedora.

Ubuntu is really good to use on Desktop computers. Also Server type of operating systems are available in Ubuntu.

Cent OS is a complete copy of Red hat and only the difference is you cannot get the official Technical support.

But you can get the all types of technical support via Cent OS online forums as well as it is free of cost.This operating system is completely free to use and distributed by the Red hat company.

Microsoft Windows

Microsoft Windows or Windows is the user friendly computer operating system.

It is developed and sold by the company named Microsoft.

Windows OS’s contains several families, they are Windows NT, Windows Embedded and Windows Server and Client.

Let we see about the  versions of Windows Server and Client operating systems.

Windows NT was the first Windows operating system in Server OS’s.

Server OS’s                                                         Client OS’s

Windows server 2003                                     Windows 2000, XP

Windows server 2008, 2008 R2                   Windows vista, Windows 7

Windows server 2012                                     Windows 8 and 8.1

(Coming soon)

Windows server 2016                                     Windows 10

If you want to use the windows operating system, then you need to pay for the each copy of the Windows OS’s.

Based on your License, you will get the Technical Support from Microsoft team.

The license will vary with Server and Client operating systems.