nerdexam
SUN

310-202 · Question #143

You receive error messages that the /lard file system is full. You check and see that it has a large file called swapfile. Your system has more than enough swap space. You suspect that the file is…

The correct answer is B. swap -l ; swap -d /lard/swapfile ; rm /lard/swapfile. See the full explanation below for the reasoning.

Question

You receive error messages that the /lard file system is full. You check and see that it has a large file called swapfile. Your system has more than enough swap space. You suspect that the file is in use as swap space. Which sequence of commands confirms that the file is in use as swap space, and helps correct the file system problem?

Options

  • Aswap -r /lard/swapfile ; rm /lard/swapfile
  • Bswap -l ; swap -d /lard/swapfile ; rm /lard/swapfile
  • Cswap -l ; rm /lard/swapfile ; swap -d /lard/swapfile
  • Dswap -l ; swap -r /lard/swapfile ; rm /lard/swapfile

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    85% (22)
  • C
    4% (1)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 310-202 Practice