XK0-005 · Question #470
XK0-005 Question #470: Real Exam Question with Answer & Explanation
The correct answer is A: df -h /. To resolve a full root filesystem, an administrator would first check disk usage, and if using LVM, would then extend the logical volume and its underlying partition to accommodate more data.
Question
A Linux system is getting an error indicating the root filesystem is full. Which of the following commands should be used by the systems administrator to resolve this issue? (Choose three.)
Options
- Adf -h /
- Bfdisk -1 /dev/sdb
- Cgrowpart /dev/mapper/rootvg-rootlv
- Dpvcreate /dev/sdb
- Elvresize -L +10G -r /dev/mapper/rootvg-rootlv
- Flsblk /dev/sda
- Gparted -l /dev/mapper/rootvg-rootlv
- Hvgextend /dev/rootvg /dev/sdb
Explanation
To resolve a full root filesystem, an administrator would first check disk usage, and if using LVM, would then extend the logical volume and its underlying partition to accommodate more data.
Common mistakes.
- B.
fdisk -l /dev/sdblists partition tables on a disk, which is an information-gathering step for new storage but does not resolve a full filesystem or expand it. - D.
pvcreate /dev/sdbinitializes/dev/sdbas a new LVM physical volume, a step to add new storage to LVM, but not for directly expanding an existing full filesystem. - F.
lsblk /dev/sdalists block devices on/dev/sdafor viewing disk layout, but it does not resolve a full filesystem. - G.
parted -l /dev/mapper/rootvg-rootlvis syntactically incorrect for listing partitions on a logical volume, asparted -lexpects a physical disk device.
Concept tested. Linux LVM filesystem expansion and diagnostics
Topics
Community Discussion
No community discussion yet for this question.