Red Hat Certification Exam Question: Download Red Hat Certification PDF

Do you know One Logical Volume is created named as myvol under vo volume group and is
mounted. The Initial Size of that Logical Volume is 124MB. Make successfully that
the size of Logical Volume 245MB without losing any data. The size of logical
volume 240MB to 255MB will be acceptable.

Tweet Share WhatsApp

Answer:

1. First check the size of Logical Volume: lvdisplay /dev/vo/myvol
2. Increase the Size of Logical Volume: lvextend -L+121M /dev/vo/myvol
3. Make Available the size on online: resize2fs /dev/vo/myvol
4. Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
5. Verify that the size comes in online or not: df -h
We can extend the size of logical Volume using the lvextend command. As well as to
decrease the size of Logical Volume, use the lvresize command. In LVM v2 we can
extend the size of Logical Volume without unmount as well as we can bring the actual
size of Logical Volume on online using ext2online command.

Download Red Hat Certification PDF Read All 40 Red Hat Certification Questions
Previous QuestionNext Question
Explain In order to set the time zone to US/Eastern via Kickstart, what must be in the Kickstart configuration file? A. tz US/Eastern B. timezone US/Eastern C. It is not possible to set time zone D. timeconfig US/EasternExplain What DHCP server option is used to specify the DNS server to clients? A. domain-name-servers B. dns C. domain-name D. routers