Page 1 of 1
Computer lost power, can't boot now
Posted: 06 Sep 2013 12:12
by nobby
Today a guy came and installed some new power plugs in our house, and in the process he accidentally unplugged my nas4free server. When I tried to boot up I am unable to get nas4free to load. I'm am running 9.1.0.1 embedded off a usb stick. The attached screenshot shows what I get up too (it finds a config file, but then gets to "Defer for Background Checking" and this seems to fail). Does anyone have any suggestions on what I can do?
1-20130906_184946.jpg
Thanks
Re: Computer lost power, can't boot now
Posted: 06 Sep 2013 12:36
by b0ssman
Re: Computer lost power, can't boot now
Posted: 06 Sep 2013 13:11
by nobby
Thanks for that b0ssman. I'm following the steps in the faq now. I don't usually use the command function in the webgui - If I run the command "fsck_ufs -p /dev/ada1 &" in the command box, will the website eventually give me the message "FILE SYSTEM CLEAN; SKIPPING CHECKS" as per the faq? I've run it now and as far as I can tell, nothing is happening.
Re: Computer lost power, can't boot now
Posted: 06 Sep 2013 13:31
by raulfg3
use shell better (webgui is not neccesary/usefull in this case)
Re: Computer lost power, can't boot now
Posted: 06 Sep 2013 14:36
by nobby
Ok running "fsck_ufs -p /dev/ada1 &" in a shell and I get the following message: Cannot find file system superblock. This happens on each of my 3 disks (ada0, ada1, ada2). After a bit of searching I found that if I run "newfs -N /dev/ada0" I get a bunch of alternative super blocks. But running fsck_ffs -b 192 ada1 gives message: 192 is not a file system superblock (I tried running this using various superblock numbers). Any thoughts on what I can do now?
Re: Computer lost power, can't boot now
Posted: 08 Sep 2013 12:04
by nobby
Spent the whole weekend trying to figure out how to fix my disk errors. I managed to boot up my computer using sysrescuecd, and accessed my disks to backup data. As a last ditch attempt before I just formatted everything, I loaded a fresh nas4free liveusb on a usb stick and booted up. Imported my disks, then added a mount point for each. There was an error status for each disk on the mount management web page. Then I went to the fsck section and executed on each disk. After a bit of a wait, I got back messages that disks had been fixed (or salvaged). Rebooted my computer using my original embedded nas4free usb stick and everything appears to be ok. Yay! I can see the importance of a UPS now.
Re: Computer lost power, can't boot now
Posted: 09 Sep 2013 08:17
by shakky4711
Hi,
Code: Select all
Ok running "fsck_ufs -p /dev/ada1 &" in a shell
WRONG, ada1 is the raw drive, you need to locate to the partition with the file system.
Do not use the &, so the output is not skipped and you see the results.
But use ada1p1 only on a separate data drive, for raid arrays you must check the filesystem on the array
Shakky
Re: Computer lost power, can't boot now
Posted: 11 Sep 2013 00:43
by Lee Sharp
nobby wrote:I can see the importance of a UPS now.
You have a flair for understatement.
