Redhat Linux Interview Questions and Answers part4

Q: – What do you mean a File System?

File System is a method to store and organize files and directories on disk. A file system can have different formats called file system types. These formats determine how the information is stored as files and directories.

 Q: – Tell me all steps to remove a LVM?

To remove a logical volume from a volume group, first unmount it with the umount command:
umount /dev/<vgname>/<lvname>
and then use the lvremove command:
lvremove /dev/<vgname>/<lvname>

 Q: – Which command is used to create LVM Snapshot?

vcreate –size <size> -s -n <snapshotname> <lvname>

The lvcreate command is used to create a new logical volume, meaning there must be free physical extents in the logical volume group to create a snapshot. The -s option means that the LV is a snapshot, <snapshotname> is the name of the new LV created, and <lvname> is the name of the LV from which to create the snapshot.

Q: – What is the location of "network" file and what does this contains?

location :-  /etc/sysconfig/network

This file contains following fields


 Q: – Which deamon is required to start Network services?

/etc/init.d/network start

 Q: – Tell me the name of directory structure hierarchy for Linux


Q: – What is the role of /etc/resolv.conf file?

In this file we sets the DNS servers (using their IP addresses) and the search domain. The values of the DNS servers are often added when the network is activated because the data can be provided by DHCP or a similar service.

 Q: – Is there any relation between modprobe.conf file and network devices?

Yes, This file assigns a kernel module to each network device.

For Example :-
[root@localhost ~]# cat /etc/modprobe.conf
alias eth0 b44
Here b44 is the kernel module for network device eth0.
We can Confirm by following command (This module “b44” is present or not).
[root@localhost ~]# lsmod |grep b44
b44                    29005    0

Q: – What does /boot directory contains?

The /boot/ directory contains static files required to boot the system, such as the Linux kernel, boot loader configuration files. These files are essential for the system to boot properly.

Submitted By:-Parveen Kumar            Email-ID: –