Posts

Showing posts from 2017
How To Create LVM Using vgcreate, lvcreate, and lvextend lvm2 Commands by Rajesh Maurya LVM stands for Logical Volume Manager. With LVM, we can create logical partitions that can span across one or more physical hard drives. First, the hard drives are divided into physical volumes, then those physical volumes are combined together to create the volume group and finally the logical volumes are created from volume group. The LVM commands listed in this article are used under Ubuntu Distribution. But, it is the same for other Linux distributions. Before we start, install the lvm2 package as shown below. $ sudo apt-get intall lvm2   To create a LVM, we need to run through the following steps. Select the physical storage devices for LVM Create the Volume Group from Physical Volumes Create Logical Volumes from Volume Group Select the Physical Storage Devices for LVM – Use pvcreate, pvscan, pvdisplay Commands In this step, we need to choose the ph...
How To Set Up an NFS Mount on CentOS 6 About NFS (Network File System) Mounts NFS mounts work to share a directory between several servers. This has the advantage of saving disk space, as the home directory is only kept on one server, and others can connect to it over the network. When setting up mounts, NFS is most effective for permanent fixtures that should always be accessible. Setup An NFS mount is set up between at least two servers. The machine hosting the shared network is called the server, while the ones that connect to it are called ‘clients’. This tutorial requires 2 servers: one acting as the server and one as the client. We will set up the server machine first, followed by the client. The following IP addresses will refer to each one: Master: 12.34.56.789 Client: 12.33.44.555 The system should be set up as root. You can access the root user by typing sudo su Setting Up the NFS Server Step One—Download the R...