Archive for the ‘RAID and LVM’ Category

We have already learnt how to increase the size of lvm using lvextend command in linux.But Now here in this tutorial we will learn the reverse process i.e how to Reduce the lvm size in linux and we will do this in few simple steps.So this is basically an example lab showing how to reduce size of lvm in linux. (more…)


If you are working as a Linux System Admin then resizing the file system size is an important task for you and you must know that.Here in this tutorial we are going to learn how to increase or extend lvm partition size.As we all know LVM provides us the facility to increase or reduce the of partition.

So here we will learn to increase lvm size using lvextend command.but before that we will create lvm first and mount it so that it is ready for use.


 In this tutorial we will learn how to manually fail a device used in raid and how to add a new to device to existing raid. we will also learn how to use spare device and how to stop and remove software raid completely from our linux machine. But before we starting removing any devices from existing  raid device first check the built topology of created raid.check the number of disk and name of disk used in raid as active device and find out the device name used as spare device using below linux command line tools. (more…)

This tutorial is all about software raid-1 creation in linux.We will learn how to configure software raid-1 in linux having spare devices.In this lab we are going to use RedHat Enterprise Linux 5 to configure software raid-1 with spare device.We use spare device as a reserved disk which is used only when any of disk used in raid-1 failed.

As we know RAID-1 needs minimum of two disk and when any of disk among those two failed or crashes spare device replaces itself with that failed device or disk.

raid1 configuration in linux