[wellylug] Power flip affected servers

Xav Paice xpaice at oss.co.nz
Tue Mar 3 09:28:35 NZDT 2009



> A few minutes ago, all power went off here. I was booting my Ubuntu 
> system at the time. It took out that and the Centos server where my 
> website is hosted. After power was restored, the Centos machine came 
> back up with a little help, but Ubuntu is reporting bad blocks. 
> 
> An error came up saying: 
> /dev/hda1 UNEXPECTED INCONSTENCY ; RUN fsck MANUALLY 
> (i.e. without -a or -p options) 
> 


One of those helpful error messages that actually tells you what to do! 

Without knowing your fstab and so what /dev/hda1 mounts as, I'd suggest you boot using an Ubuntu CD then simply run: 
# umount /dev/sda1 
# fsck -Cy /dev/sda1 

If you're in the Ubuntu CD you will be able to check the manpage before running these if you're concerned. For fsck, the -C is to display progress bar and the -y is to automatically fix stuff if required. 

Good luck! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20090303/b9631d82/attachment.htm 


More information about the wellylug mailing list