Linux · Storage & LVM interview questions

72 real Linux · Storage & LVM questions from the System Administration bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What does df -h do?

Junior
  1. A.create an XFS filesystem on a partition
  2. B.show filesystem disk usage and free space, human-readable
  3. C.initialize a disk as an LVM physical volume
  4. D.create a 5G logical volume named data
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.df -h — show filesystem disk usage and free space, human-readable
  2. B.df -h — initialize a disk as an LVM physical volume
  3. C.df -h — create an XFS filesystem on a partition
  4. D.df -h — grow a logical volume by 10G and resize its filesystem
Reveal the answer + AI explanation — free account

4. What does du -sh dir do?

Junior
  1. A.grow a logical volume by 10G and resize its filesystem
  2. B.show block-device UUIDs and filesystem types
  3. C.mount all filesystems listed in /etc/fstab
  4. D.show the total size of a directory
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.du -sh dir — list block devices as a tree
  2. B.du -sh dir — add a physical volume to an existing volume group
  3. C.du -sh dir — show the total size of a directory
  4. D.du -sh dir — show filesystem disk usage and free space, human-readable
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.lsblk — create an XFS filesystem on a partition
  2. B.lsblk — list block devices as a tree
  3. C.lsblk — show filesystem disk usage and free space, human-readable
  4. D.lsblk — add a physical volume to an existing volume group
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Junior
  1. A.blkid — mount all filesystems listed in /etc/fstab
  2. B.blkid — resize an ext4 filesystem to match its volume
  3. C.blkid — show block-device UUIDs and filesystem types
  4. D.blkid — grow a mounted XFS filesystem online
Reveal the answer + AI explanation — free account

13. What does lvextend -r -L +10G /dev/vg/lv do?

Mid
  1. A.detach a mounted filesystem
  2. B.show filesystem disk usage and free space, human-readable
  3. C.add a physical volume to an existing volume group
  4. D.grow a logical volume by 10G and resize its filesystem
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.lvextend -r -L +10G /dev/vg/lv — add a physical volume to an existing volume group
  2. B.lvextend -r -L +10G /dev/vg/lv — grow a mounted XFS filesystem online
  3. C.lvextend -r -L +10G /dev/vg/lv — show block-device UUIDs and filesystem types
  4. D.lvextend -r -L +10G /dev/vg/lv — grow a logical volume by 10G and resize its filesystem
Reveal the answer + AI explanation — free account

16. What does xfs_growfs /mnt do?

Mid
  1. A.add a physical volume to an existing volume group
  2. B.grow a logical volume by 10G and resize its filesystem
  3. C.grow a mounted XFS filesystem online
  4. D.create an XFS filesystem on a partition
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.xfs_growfs /mnt — initialize a disk as an LVM physical volume
  2. B.xfs_growfs /mnt — grow a mounted XFS filesystem online
  3. C.xfs_growfs /mnt — grow a logical volume by 10G and resize its filesystem
  4. D.xfs_growfs /mnt — create an XFS filesystem on a partition
Reveal the answer + AI explanation — free account

19. What does resize2fs /dev/vg/lv do?

Mid
  1. A.mount all filesystems listed in /etc/fstab
  2. B.grow a logical volume by 10G and resize its filesystem
  3. C.show the total size of a directory
  4. D.resize an ext4 filesystem to match its volume
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.resize2fs /dev/vg/lv — grow a mounted XFS filesystem online
  2. B.resize2fs /dev/vg/lv — add a physical volume to an existing volume group
  3. C.resize2fs /dev/vg/lv — initialize a disk as an LVM physical volume
  4. D.resize2fs /dev/vg/lv — resize an ext4 filesystem to match its volume
Reveal the answer + AI explanation — free account

22. What is /etc/fstab?

Junior
  1. A.striping with distributed parity, tolerating one disk failure
  2. B.XFS can grow online but cannot be shrunk
  3. C.disk used as overflow when physical RAM is full
  4. D.the file defining filesystems to mount at boot
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Junior
  1. A./etc/fstab — the file defining filesystems to mount at boot
  2. B./etc/fstab — logging metadata changes so the FS can recover quickly after a crash
  3. C./etc/fstab — disk used as overflow when physical RAM is full
  4. D./etc/fstab — the layering of physical volumes into volume groups into logical volumes
Reveal the answer + AI explanation — free account

25. What is LVM PV→VG→LV?

Mid
  1. A.XFS can grow online but cannot be shrunk
  2. B.disk used as overflow when physical RAM is full
  3. C.a structure storing a file's metadata and block pointers
  4. D.the layering of physical volumes into volume groups into logical volumes
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Mid
  1. A.LVM PV→VG→LV — disk used as overflow when physical RAM is full
  2. B.LVM PV→VG→LV — logging metadata changes so the FS can recover quickly after a crash
  3. C.LVM PV→VG→LV — the layering of physical volumes into volume groups into logical volumes
  4. D.LVM PV→VG→LV — striping with distributed parity, tolerating one disk failure
Reveal the answer + AI explanation — free account

28. What is XFS shrink limitation?

Senior
  1. A.striping with distributed parity, tolerating one disk failure
  2. B.XFS can grow online but cannot be shrunk
  3. C.the file defining filesystems to mount at boot
  4. D.logging metadata changes so the FS can recover quickly after a crash
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Senior
  1. A.XFS shrink limitation — the layering of physical volumes into volume groups into logical volumes
  2. B.XFS shrink limitation — allocating LV space on demand from a thin pool, allowing overcommit
  3. C.XFS shrink limitation — disk used as overflow when physical RAM is full
  4. D.XFS shrink limitation — XFS can grow online but cannot be shrunk
Reveal the answer + AI explanation — free account

Showing 30 of 72 Linux · Storage & LVM questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Linux · Storage & LVM free