Suppose One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical
Volume is 100MB. Now you required the size 500MB. Make successfully the size of
that Logical Volume 500M without losing any data. As well as size should be
increased online.
Submitted by: AdministratorThe LVM system organizes hard disks into Logical Volume (LV) groups. Essentially,
physical hard disk partitions (or possibly RAID arrays) are set up in a bunch of equalsized chunks known as
Physical Extents (PE). As there are several other concepts
associated with the LVM system, let's start with some basic definitions:
Physical Volume (PV) is the standard partition that you add to the LVM mix.
Normally, a physical volume is a standard primary or logical partition. It can also
be a RAID array.
Physical Extent (PE) is a chunk of disk space. Every PV is divided into a number
of equal sized PEs. Every PE in a LV group is the same size. Different LV groups
can have different sized PEs.
Logical Extent (LE) is also a chunk of disk space. Every LE is mapped to a
specific PE.
Logical Volume (LV) is composed of a group of LEs. You can mount a
filesystem such as /home and /var on an LV.
Volume Group (VG) is composed of a group of LVs. It is the organizational
group for LVM. Most of the commands that you'll use apply to a specific VG.
1. Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1
2. Verify the Size on mounted directory: df -h or df -h mounted directory name
3. Use : lvextend -L+400M /dev/vg0/lv1
4. resize2fs /dev/vg0/lv1 to bring extended size online.
5. Again Verify using lvdisplay and df -h command.
Submitted by: Administrator
physical hard disk partitions (or possibly RAID arrays) are set up in a bunch of equalsized chunks known as
Physical Extents (PE). As there are several other concepts
associated with the LVM system, let's start with some basic definitions:
Physical Volume (PV) is the standard partition that you add to the LVM mix.
Normally, a physical volume is a standard primary or logical partition. It can also
be a RAID array.
Physical Extent (PE) is a chunk of disk space. Every PV is divided into a number
of equal sized PEs. Every PE in a LV group is the same size. Different LV groups
can have different sized PEs.
Logical Extent (LE) is also a chunk of disk space. Every LE is mapped to a
specific PE.
Logical Volume (LV) is composed of a group of LEs. You can mount a
filesystem such as /home and /var on an LV.
Volume Group (VG) is composed of a group of LVs. It is the organizational
group for LVM. Most of the commands that you'll use apply to a specific VG.
1. Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1
2. Verify the Size on mounted directory: df -h or df -h mounted directory name
3. Use : lvextend -L+400M /dev/vg0/lv1
4. resize2fs /dev/vg0/lv1 to bring extended size online.
5. Again Verify using lvdisplay and df -h command.
Submitted by: Administrator
Read Online Red Hat Certification Job Interview Questions And Answers
Top Red Hat Certification Questions
☺ | How to Make Successfully Resolve to server1.example.com where DNS Server is 192.168.0.254 |
☺ | Create one partitions having size 100MB and mount it on /data |
☺ | Explain What DHCP server option is used to specify the DNS server to clients? A. domain-name-servers B. dns C. domain-name D. routers |
Top Certifications Categories
☺ | CCIE Certification Interview Questions. |
☺ | CCSP Certification Interview Questions. |
☺ | AFMC Interview Questions. |
☺ | Sun Certification Interview Questions. |
☺ | CCDA Certification Interview Questions. |