Skip to main content

What are logical volumes?

26.What are logical volumes?
Ans.
1. Logical volume manager (LVM) enables you to be much more flexible with your disk usage than you can be with conventional old-style file partitions.

2. Normally if we create a partition we have to keep the partition at that size indefinitely.

3. For example, if our system logs have grown immensely, and we ran out of space on ‘/var’ partition, increasing a partition size without LVM is a big pain.

4. With LVM we can add another disk, create a physical volume to the volume group that contains the /var partition.

5. Then we can use the LVM file system resizing tool to increase the file system size to match the new partition size.

6. We can use a file system creation tool such as fdisk to create a file system on logical volume.

7. Basic syntax for using ‘lvm’ command is :
lvm<command> file
We can obtain complete listing of commands by entering ‘lvm help’ at command prompt.

8. To get a list of logical volumes on your system, enter ‘lvm lvdisply’ in terminal prompt.

Comments

Popular posts from this blog

Java,ES,QT practical files

All practical files: Click below to start download Uploaded on special request||||

How to configure Network file system version 4 (NFSv4) client?

69.How to configure Network file system version 4 (NFSv4) client? Ans. 1. There are two new options listed in NFSv4 are introduced as: clientaddr and ports 2. The version 3 of NFS introduced NFS over TCP, which improved NFS’s reliability. 3. In NFSv3, users use the mount option i.e., tcp as client whether client wants to use TCP or UDP to communicate with the server. NFSv4 replaces tcp or udp with a single option i.e. ports=tcp or udp 4. The default buffer size for NFSv4 is 8192 bytes, but it can grow to as large and by 32,678 bytes, which results performance improvements. 5. Following are the mount options: clientaddr=n – Declares client to be multihomed proto=type – Declares port as either udp or tcp resize=n – declares read size of clients buffer wsize=n – Declares write size of clients buffer sec=mod – Declares security model as either krb, krb5 etc.

Board Question papers 2010-15

Click below to download