SIMULATION – Create one partitions having size 100MB and mount it on data.

QuestionsCategory: RHCSA-EX200SIMULATION – Create one partitions having size 100MB and mount it on data.
Admin Staff asked 6 months ago
SIMULATION -
Create one partitions having size 100MB and mount it on data.
















 

Suggested Answer: See explanation below.



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?
OR -
mke2fs -j /dev/hda? To create ext3 filesystem.
vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
Verify by mounting on current Sessions also: mount /dev/hda? /data


This question is in EX200 Red Hat Certified System Administrator (RHCSA) Exam
For getting Red Hat Certified System Administrator (RHCSA) Certificate



Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Redhat.
Trademarks, certification & product names are used for reference only and belong to Redhat.
The website does not contain actual questions and answers from Redhat's Certification Exam.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.