Gandi Wiki


You are on a question's page

answered

Question "Expert Mode, System Disk directions", by Zachary H.

How are we supposed to know that fsck ran? I had to use the emergency shell to monitor the boot of the VM to see it run. Also, shouldn't 'mkswap /dev/xvda2' and 'swapon /dev/xvda2' be added?

Answer, by Eric Bréchemier

I just ran the procedure myself and was wondering too… fsck output is logged to /var/log/fsck. And I found an additional section in the French version of this page, "How to reactivate the swap" which indicates to run: # mkswap /dev/xvda2 and # swapon /dev/xvda2

Follow-up, by Bryon Eldridge

Here's another way to determine when fsck last ran (on CentOS):

# tune2fs -l /dev/xvda1 | grep checked

Last modified: 01 Aug 2009 at 20:47 by Bryon E.