Red Hat Certification Exam Question:
Download Questions PDF

How to Add a new logical partition having size 100MB and create the /data which will be
the mount point for the new partition.

Answer:

1. Use fdisk /dev/hda ->To create new partition.
2. Type n-> For New partitions
3. It will ask for Logical or Primary Partitions. Press l for logical.
4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
5. Type the Size: +100M ->You can Specify either Last cylinder of Size here.
6. Press P to verify the partitions lists and remember the partitions name.
7. Press w to write on partitions table.
8. Either Reboot or use partprobe command.
9. Use mkfs -t ext3 /dev/hda?
10. Or
11. mke2fs -j /dev/hda? To create ext3 filesystem.
12. vi /etc/fstab
13. Write:
14. /dev/hda? /data ext3 defaults 0 0
11. Verify by mounting on current Sessions also:
15. mount /dev/hda? /data

Download Red Hat Certification Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose There are more then 400 Computers in your Office. You are appointed as a System Administrator. But you don?t have Router. So, you are going to use your One Linux Server as a Router. How will you enable IP packets forward?Suppose You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you dont know the root password. Change the root password to redhat and login in default Runlevel.