Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam EX200 topic 1 question 111 discussion

Actual exam question from RedHat's EX200
Question #: 111
Topic #: 1
[All EX200 Questions]

SIMULATION -
Create a new logical volume according to the following requirements:
The logical volume is named database and belongs to the datastore volume group and has a size of 50 extents.
Logical volumes in the datastore volume group should have an extent size of 16 MB.
Format the new logical volume with a ext3 filesystem.
The logical volume should be automatically mounted under /mnt/database at system boot time.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
fdisk -cu /dev/vda
partx -a /dev/vda
pvcreate /dev/vdax
vgcreate datastore /dev/vdax -s 16M
lvcreate-l 50 -n database datastore
mkfs.ext3 /dev/datastore/database
mkdir /mnt/database
mount /dev/datastore/database /mnt/database/ df -Th
vi /etc/fstab
/dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount -a

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
wizojlo
2 months ago
#lsblk -pf (to check unused disks and partitions - let's say sda1 and sda2 are empty) #pvcreate /dev/sda1 /dev/sda2 #vgcreate -s 16M datastore /dev/sda1 /dev/sda2 #lvcreate -l 50 -n database datastore #mkfs.ext3 /dev/datastore/database #mkdir -p /mnt/database #lsblk -pf (to see the UUIDs) #echo 'UUID=XXX /mnt/data ext4 defaults 0 0' >> /etc/fstab (use real UUID of "database" volume from previous step instead of XXX) #systemctl daemon-reload #mount -a
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...