Failing with FreeNAS

Yesterday my lovely HP N36L Microserver that I run FreeNAS on decided that it was going to trash the USB memory stick that FreeNAS relies upon to boot.

I’m not sure what the cause is at the moment, whether it is FreeNAS having a funny half hour, the Microserver amusing itself at my expense or possibly my doing something wrong with a console command (though I don’t believe the last one is likely as I have not used it for a month).

When the error messages appeared last night I have to admit they sent me into something of a complete and utter state of panic.  Finding information on FreeNAS isn’t too difficult but I don’t find it as easy to get information on FreeBSD error messages (FreeBSD being the base for FreeNAS).

Thankfully after some logical thinking (it was complaining about drives so I removed all of them) I concluded that the USB stick itself was the cause of all the problems.  With a bit of command prompt tinkering I was able to make FreeNAS boot to a console with the drives in and confirm that it could mount the ZFS file system without issue.

Since it seems that the USB stick is beyond saving (baring some miracle), I shall be re-doing my FreeNAS build at some point this week.  If I get the time then I will take loads of sexy screenshots and write the process up as at the moment I think the Plugins available for FreeNAS are absolutely horrid compared to the result you can have with a bit of DIY.

This time I shall attempt to correct issues that I’ve had previously and add in some more functionality:

  • Use the pre-release version of FreeNAS (now FreeNAS 8.3) in the hopes this enables me to use the most current FreeBSD ports tree.
  • Install and use Portmaster so I have a tool to make sure there is better control over the ports installation process (until I gain a better understanding).
  • Programs running in the Plugins jail need to stop being run as privileged users and shall be run as regular users.
  • Try to build Hamachi even though it is a long shot because it would remove my need to use a Dynamic DNS service.
  • Introduce the Privoxy proxy server and integrate it with TOR.
  • Figure out rsync so that family businesses can backup to yet another site using multiple protocols.
  • Tinker with the init scripts so that they don’t launch network software before there is a networking connection, etc.

Hopefully I will get through some, if not all, of that lot by the end of the week.

Leave a Reply