Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam EX200 Topic 4 Question 17 Discussion

Actual exam question for RedHat's EX200 exam
Question #: 17
Topic #: 4
Create a 512M partition, make it as ext4 file system, mounted automatically under /mnt/data and which take effect automatically at boot-start.

Suggested Answer:

# fdisk /dev/vda
n
+512M
w
# partprobe /dev/vda
# mkfs -t ext4 /dev/vda5
# mkdir -p /data
# vim /etc/fstab
/dev/vda5 /data ext4 defaults 0 0
# mount -a

by ubiquituz at Nov 30, 2024, 03:47 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
whitebeard pirate
2024-12-18 14:28:25
fdisk /dev/sdb
n
p
first sector: default
2nd sector:+512M
w
p (verify created part sdb1)
partprobe /dev/sdb
mkfs.ext4 /dev/sdb1
nano etc/fstab
add /dev/sdb1 /mnt/data ext4 defaults 0 0
upvoted 1 times
...
whitebeard pirate
2024-11-30 15:50:14
mount /dev/sd5 /mnt/data (can also be used to verify by mounting the newly created partition /dev/sda5 to /mnt/data mount point)
upvoted 1 times
...
ubiquituz
2024-11-30 15:47:29
lsblk (select a free disk space eg vda5)
mkdir -p /mnt/data (create the mount point if not already existing)
fdisk /dev/vda5
command (m for help): press n(new), then p (primary), select default for first sector (2048), type +512MB for the last sector
partprobe /dev/sda5 (to save the newly created partition to the table)
mkfs.ext4 /dev/sda5
nano /etc/fstab
add this line /dev/sda5 /mnt/data ext4 defaults 0 0
ctrl+o and then press enter to save in nano
ctrl+x to exit
mount -a
df -h
lsblk
upvoted 1 times
...
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.