SIMULATIONMake a swap partition having 100MB. Make Automatically Usable at System Boot Time.
Answer(s): A
Use fdisk /dev/hda ->To create new partition.Type n-> For New partitionIt will ask for Logical or Primary Partitions. Press l for logical.It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.Type the Size: +100M ->You can Specify either Last cylinder of Size here.Press P to verify the partitions lists and remember the partitions name. Default System ID is 83 that means Linux Native.Type t to change the System ID of partition.Type Partition NumberType 82 that means Linux Swap.Press w to write on partitions table.Either Reboot or use partprobe command.mkswap /dev/hda? ->To create Swap File system on partition.swapon /dev/hda? ->To enable the Swap space from partition.free -m ->Verify Either Swap is enabled or not.vi /etc/fstab/dev/hda? swap swap defaults 0 0Reboot the System and verify that swap is automatically enabled or not.
SIMULATIONThere are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network's Host.
vi /etc/sysconfing/network NETWORKING=yes HOSTNAME=station?.example.com GATEWAY=192.168.0.254 service network restart2.vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0ONBOOT=yesBOOTPROTO=staticIPADDR=X.X.X.XNETMASK=X.X.X.XGATEWAY=192.168.0.254ifdown eth0ifup eth0
SIMULATIONOne Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any data.The size of logical volume 200MB to 210MB will be acceptable.
First check the size of Logical Volume: lvdisplay /dev/vo/myvolMake sure that the filesystem is in a consistent state before reducing:# fsck -f /dev/vo/myvolNow reduce the filesystem by 200MB.# resize2fs /dev/vo/myvol 200MIt is now possible to reduce the logical volume. #lvreduce /dev/vo/myvol -L 200MVerify the Size of Logical Volume: lvdisplay /dev/vo/myvolVerify that the size comes in online or not: df -h
SIMULATIONOne Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk is 100MB now you required more 200MB. Increase the size of Logical Volume, size should be increase on online.
lvextend -L+200M /dev/test0/testvolume1 Use lvdisplay /dev/test0/testvolume1)ext2online -d /dev/test0/testvolume1lvextend command is used the increase the size of Logical Volume. Other command lvresize command also here to resize. And to bring increased size on online we use the ext2online command.
Post your Comments and Discuss RedHat EX200 exam with other Community members:
chukwuemeka ubajaka commented on May 17, 2022 Can't i get redhat 8 version of the questions instead of the redhat 6 version, as the syntax of redhat 8 and 6 is not the same. UNITED STATES upvote
Sandeep commented on March 19, 2021 Zabar Dast! So accurate and so real. Passed my exam lasat week. INDIA upvote
Dan commented on December 16, 2019 How do i print the pdf download, its password protected. I want to print the file and study before the exam in couple days Anonymous upvote
Carlo Shamany commented on July 17, 2019 good havent taken the test but feel confident. UNITED STATES upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the EX200 content, but please register or login to continue.