Join the discussion
Question 6/122
There is a local logical volumes in your system, named with shrink and belong to VGSRV volume group, mount to the /shrink directory. The definition of size is 320 MB.
Requirement:
Reduce the logical volume to 220 MB without any loss of data. The size is allowed between 200-260 MB after reducing.
Requirement:
Reduce the logical volume to 220 MB without any loss of data. The size is allowed between 200-260 MB after reducing.
Correct Answer:
see explanation below.
Explanation
cd;umount /shrink
e2fsck -f /dev/mapper/vgsrv-shrink
resize2fs /dev/mapper/vgsrv-shrink 220M
lvreduce -L 220M /dev/mapper/vgsrv-shrink
mount -a
Explanation
cd;umount /shrink
e2fsck -f /dev/mapper/vgsrv-shrink
resize2fs /dev/mapper/vgsrv-shrink 220M
lvreduce -L 220M /dev/mapper/vgsrv-shrink
mount -a
Add Comments
- Other Question (122q)
- Q1. SIMULATION One Logical Volume is created named as myvol under vo volume group and is mount...
- Q2. Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local...
- Q3. Configure Cron Job Configure a cron job to automatically execute /usr/bin/echo hello every...
- Q4. Make a swap partition having 100MB. Make Automatically Usable at System Boot Time....
- Q5. How does Prometheus gather information about monitored hosts and services?...
- Q6. There is a local logical volumes in your system, named with shrink and belong to VGSRV vol...
- Q7. 07. Configure NTP Configure your system to synchronize with the NTP server of materials.ex...
- Q8. Configure a HTTP server, which can be accessed through http://station.domain40.example.com...
- Q9. SIMULATION Create the following users, groups, and group memberships: A group named adminu...
- Q10. Please open the ip_forward, and take effect permanently....
- Q11. Create a user named alex, and the user id should be 1234, and the password should be alex1...
- Q12. SIMULATION Create a backup Create a backup file named /root/backup.tar.bz2, contains the c...
- Q13. A service should be provided to arbitrary clients on the Internet using HTTPS. Any standar...
- Q14. Configure autofs to make sure after login successfully, it has the home directory autofs, ...
- Q15. The user authentication has been provided by ldap domain in 192.168.0.254. According the f...
- Q16. The firewall must be open.
- Q17. Download the document from ftp://instructor.example.com/pub/testfile, find all lines conta...
- Q18. SIMULATION Who ever creates the files/directories on archive group owner should be automat...
- Q19. Set cronjob for user natasha to do /bin/echo hiya at 14:23....
- Q20. User mary must configure a task. Requirement: The local time at 14:23 every day echo "Hell...
- Q21. Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local...
- Q22. Add user: user1, set uid=601 Password: redhat The user's login shell should be non-interac...
- Q23. SIMULATION Please open the ip_forward, and take effect permanently....
- Q24. CORRECT TEXT Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically...
- Q25. Configure your Host Name, IP Address, Gateway and DNS. Host name: dtop5.dn.ws.com IP Addre...
- Q26. SIMULATION According the following requirements, configure autofs service and automaticall...
- Q27. Add sudo Permission Configuration Allow members of the sysmgrs group to use sudo without e...
- Q28. SIMULATION Upgrade the kernel, start the new kernel by default. kernel download from this ...
- Q29. Find the files owned by harry, and copy it to catalog: /opt/dir...
- Q30. Configure your Host Name, IP Address, Gateway and DNS. Host name: dtop5.dn.ws.com IP Addre...
- Q31. According the following requirements to create a local directory /common/admin. This direc...
- Q32. Find Files Find all files belonging to the user "jacques" and move them to the directory /...
- Q33. Configure your system to use the default repositories. YUM repositories are available from...
- Q34. Upgrade the kernel, start the new kernel by default. kernel download from this address: ft...
- Q35. One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk ...
- Q36. SIMULATION There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your Syste...
- Q37. Configure a task: plan to run echo "file" command at 14:23 every day....
- Q38. Create one partitions having size 100MB and mount it on data....
- Q39. Which of the following elements are presents in a Vagrant box file? (Choose two correct an...
- Q40. 08. Configure autofs Configure autofs to automatically mount the home directory of a remot...
- Q41. Install the Kernel Upgrade. Install suitable kernel update from: http://server.domain11.ex...
- Q42. How does Vagrant run virtual machines?
- Q43. Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/tes...
- Q44. Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem c...
- Q45. SIMULATION 1. Find all sizes of 10k file or directory under the /etc directory, and copy t...
- Q46. Part 1 (on Node1 Server) Task 8 [Managing Local Users and Groups] Create a user fred with ...
- Q47. 03. Debugging SELinux A web server running on non-standard port 82 encounters issues while...
- Q48. SIMULATION According the following requirements to create a local directory /common/admin....
- Q49. A YUM source has been provided in the http://instructor.example.com/pub/rhel6/dvd Configur...
- Q50. One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk ...
- Q51. Which sections can exist in a Logstash configuration file? (Choose three correct answers.)...
- Q52. Binding to an external validation server. System server.domain11.example.com provides a LD...
- Q53. CORRECT TEXT Configure your Host Name, IP Address, Gateway and DNS. Host name: station.dom...
- Q54. SIMULATION Configure NTP. Configure NTP service, Synchronize the server time, NTP server: ...
- Q55. Part 1 (on Node1 Server) Task 16 [Running Containers] Configure your host journal to store...
- Q56. Make on data that only the user owner and group owner member can fully access....
- Q57. SIMULATION User mary must configure a task. Requirement: The local time at 14:23 every day...
- Q58. Configure the permissions of /var/tmp/fstab Copy the file /etc/fstab to /var/tmp/fstab. Co...
- Q59. Add 3 users: harry, natasha, tom. The requirements: The Additional group of the two users:...
- Q60. Install the appropriate kernel update from http://server.domain11.example.com/pub/updates....
- Q61. CORRECT TEXT Configure a task: plan to run echo "file" command at 14:23 every day....
- Q62. Configure the system synchronous as 172.24.40.10....
- Q63. Create a volume group, and set 16M as a extends. And divided a volume group containing 50 ...
- Q64. SIMULATION Search files. Find out files owned by jack, and copy them to directory /root/fi...
- Q65. SIMULATION Search a String Find out all the columns that contains the string seismic withi...
- Q66. One Logical Volume is created named as myvol under vo volume group and is mounted. The Ini...
- Q67. Upgrade the kernel, start the new kernel by default. kernel download from this address: ft...
- Q68. Part 1 (on Node1 Server) Task 14 [Managing SELinux Security] You will configure a web serv...
- Q69. Part 1 (on Node1 Server) Task 10 [Configuring NTP/Time Synchronization] Configure your sys...
- Q70. SIMULATION There is a local logical volumes in your system, named with shrink and belong t...
- Q71. There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 an...
- Q72. An Ansible variable file contains the following content: myapp: option1: one Which of the ...
- Q73. Adjust Logical Volume Size Adjust the size of the logical volume "vo" and its filesystem t...
- Q74. CORRECT TEXT Configure a task: plan to run echo hello command at 14:23 every day....
- Q75. SIMULATION According the following requirements to create user, user group and the group m...
- Q76. SIMULATION Configure your NFS services. Share the directory by the NFS Shared services....
- Q77. A YUM source has been provided in the http://instructor.example.com/pub/rhel6/dvd Configur...
- Q78. Part 1 (on Node1 Server) Task 1 [Managing Networking] Please create new network connection...
- Q79. /data Directory is shared from the server1.example.com server. Mount the shared directory ...
- Q80. Search files. Find out files owned by jack, and copy them to directory /root/findresults...
- Q81. According the following requirements, configure autofs service and automatically mount to ...
- Q82. Locate all the files owned by ira and copy them to the / root/findresults directory....
- Q83. SIMULATION In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. An...
- Q84. Part 2 (on Node2 Server) Task 1 [Controlling the Boot Process] Interrupt the boot process ...
- Q85. Create a 2G swap partition which take effect automatically at boot-start, and it should no...
- Q86. One Domain RHCE is configured in your lab, your domain server is server1.example.com. nisu...
- Q87. CORRECT TEXT Configure the system synchronous as 172.24.40.10....
- Q88. Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. ...
- Q89. 21. Configure an application * Configure an application named rhcsa. * When this applicati...
- Q90. A YUM repository has been provided at http://server.domain11.example.com/pub/x86_64/Server...
- Q91. You are new System Administrator and from now you are going to handle the system and your ...
- Q92. What happens when a merge conflict occurs in git? (Choose two correct answers.)...
- Q93. Configure iptables, there are two domains in the network, the address of local domain is 1...
- Q94. Configure your system so that it is an NTP client of server.domain11.example.com...
- Q95. Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it nee...
- Q96. Configure a user account. Create a user iaruid is 3400. Password is redhat...
- Q97. CORRECT TEXT Configure a HTTP server, which can be accessed through http://station.domain4...
- Q98. Configure NTP. Configure NTP service, Synchronize the server time, NTP server: classroom.e...
- Q99. 01. Configure Network Settings Configure node1 with the following network settings: Hostna...
- Q100. Part 1 (on Node1 Server) Task 13 [Archiving and Transferring Files & SELinux] Create a...
- Q101. Create a Shared Directory. Create a shared directory /home/admins, make it has the followi...
- Q102. Configure the permissions of /var/tmp/fstab Copy the file /etc/fstab to /var/tmp/fstab. Co...
- Q103. Configure the FTP service in your system, allow remote access to anonymous login and downl...
- Q104. Create a collaborative directory/home/admins with the following characteristics: Group own...
- Q105. Open kmcrl value of 5 , and can verify in /proc/ cmdline...
- Q106. : 107 SIMULATION Add an additional swap partition of 754 MB to your system. The swap parti...
- Q107. Configure autofs to make sure after login successfully, it has the home directory autofs, ...
- Q108. Part 1 (on Node1 Server) Task 9 [Managing Files from the Command Line] Search the string n...
- Q109. Create a user alex with a userid of 3400. The password for this user should be redhat....
- Q110. Create one partitions having size 100MB and mount it on data....
- Q111. There is a local logical volumes in your system, named with common and belong to VGSRV vol...
- Q112. Part 1 (on Node1 Server) Task 4 [Controlling Access to Files] Create collaborative directo...
- Q113. User mary must configure a task. Requirement: The local time at 14:23 every day echo "Hell...
- Q114. Configure the system synchronous as 172.24.40.10....
- Q115. Create a swap space, set the size is 600 MB, and make it be mounted automatically after re...
- Q116. Which of the following mechanisms are used for service discovery in a container environmen...
- Q117. 1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/find...
- Q118. Set cronjob for user natasha to do /bin/echo hiya at 14:23....
- Q119. There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0...
- Q120. SIMULATION SELinux must run in force mode.
- Q121. Which of the following sections must exist in a Packer template?...
- Q122. Create a volume group, and set 8M as a extends. Divided a volume group containing 50 exten...
