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.
To remove a logical volume from a volume group, first unmount it with the umount command:
and then use the lvremove command:
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: – 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.
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: – email@example.com