CompTIA Linux+ Exam XK0-005 Question # 80 Topic 9 Discussion

CompTIA Linux+ Exam XK0-005 Question # 80 Topic 9 Discussion

XK0-005 Exam Topic 9 Question 80 Discussion:
Question #: 80
Topic #: 9

Users report that they cannot access some files located in the /opt/finapp directory after a power outage caused an unexpected server restart. A Linux administrator examines the following filesystem details and system logs:

# mount | grep finapp

/dev/mapper/rhel-opt_finapp on /opt/finapp type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)

# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda 8:0 0 931.5G 0 disk

├─sda1 8:1 0 1G 0 part /boot

└─sda2 8:2 0 930.5G 0 part

├─rhel-root 253:0 0 30.5G 0 lvm /

└─rhel-opt_finapp 253:1 0 900G 0 lvm /opt/finapp

# grep opt_finapp /var/log/messages

XFS (opt_finapp): Corruption detected in inode 3645, extent tree

Which of the following commands should the administrator run in an attempt to fix the filesystem?


A.

fdisk /dev/mapper/rhel-opt_finapp


B.

xfs_repair /dev/mapper/rhel-opt_finapp


C.

lvcreate -L900G -n opt_finapp rhel


D.

fsck.ext4 /dev/mapper/rhel-opt_finapp


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.