Linux · Storage & LVM interview questions

72 Linux · Storage & LVM questions from the System Administration bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

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

Answer + AI explanation with Pro

2. Which command will show filesystem disk usage and free space, human-readable?

Junior
  1. A.umount /mnt
  2. B.xfs_growfs /mnt
  3. C.df -h
  4. D.vgextend vg0 /dev/sdc

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

5. Which command will show the total size of a directory?

Junior
  1. A.lsblk
  2. B.du -sh dir
  3. C.pvcreate /dev/sdb
  4. D.resize2fs /dev/vg/lv

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

7. What does lsblk do?

Junior
  1. A.show the total size of a directory
  2. B.resize an ext4 filesystem to match its volume
  3. C.grow a logical volume by 10G and resize its filesystem
  4. D.list block devices as a tree

Answer + AI explanation with Pro

8. Which command will list block devices as a tree?

Junior
  1. A.df -h
  2. B.lsblk
  3. C.mount -a
  4. D.pvcreate /dev/sdb

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

10. What does blkid do?

Junior
  1. A.attach a filesystem to a directory
  2. B.detach a mounted filesystem
  3. C.resize an ext4 filesystem to match its volume
  4. D.show block-device UUIDs and filesystem types

Answer + AI explanation with Pro

11. Which command will show block-device UUIDs and filesystem types?

Junior
  1. A.umount /mnt
  2. B.resize2fs /dev/vg/lv
  3. C.blkid
  4. D.lvextend -r -L +10G /dev/vg/lv

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

14. Which command will grow a logical volume by 10G and resize its filesystem?

Mid
  1. A.vgextend vg0 /dev/sdc
  2. B.lvextend -r -L +10G /dev/vg/lv
  3. C.mount /dev/sdb1 /mnt
  4. D.resize2fs /dev/vg/lv

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

17. Which command will grow a mounted XFS filesystem online?

Mid
  1. A.lvcreate -L 5G -n data vg0
  2. B.xfs_growfs /mnt
  3. C.mount /dev/sdb1 /mnt
  4. D.resize2fs /dev/vg/lv

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

20. Which command will resize an ext4 filesystem to match its volume?

Mid
  1. A.lsblk
  2. B.mkfs.xfs /dev/sdb1
  3. C.umount /mnt
  4. D.resize2fs /dev/vg/lv

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

23. Which term means: "the file defining filesystems to mount at boot"?

Junior
  1. A.LVM snapshot
  2. B./etc/fstab
  3. C.XFS shrink limitation
  4. D.RAID 10

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

26. Which term means: "the layering of physical volumes into volume groups into logical volumes"?

Mid
  1. A.RAID 5
  2. B.inode
  3. C.RAID 10
  4. D.LVM PV→VG→LV

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

29. Which term means: "XFS can grow online but cannot be shrunk"?

Senior
  1. A.filesystem journaling
  2. B.RAID 5
  3. C.XFS shrink limitation
  4. D.LVM snapshot

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Linux · Storage & LVM question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers