Redhat Linux Interview Questions and Answers part3
find / -type f -atime -30 > filename.txt
Q: – How you will check on Your server or system device-mapper is installed or not?
Check the following file.
if this file contains "device-mapper" term it means device mapper is installed on your system.
In LVM2 snapshots are read/write by default, whereas in LVM1, snapshots were read only.
Q: – What is a zombie?
Zombie is a process state when the child dies before the parent process. In this case the structural information of the process is still in the process table.
Q: – If a volume group named as VG0 already exists but i need to extend this volume group up to 4GB.Explain all steps?
Firstly create Physical volume (/dev/sda7) of size 4GB.
Now run following command.
vgextend VG0 /dev/sda7
vgreduce VG0 /dev/sda7
Q: – What is the maximum size of a single LV?
For 2.4 based kernels, the maximum LV size is 2TB.
For 32-bit CPUs on 2.6 kernels, the maximum LV size is 16TB.
For 64-bit CPUs on 2.6 kernels, the maximum LV size is 8EB.
lvextend –size +<addsize> /dev/<vgname>/<lvname>
Submitted By:-Parveen Kumar Email-ID: – email@example.com