Ingredients:

  • 2 cups flax seed meal
  • 1 Tablespoon baking powder
  • 1 teaspoon salt
  • 5 beaten eggs
  • 1/2 cup water
  • 1/4 cup oil

Preparation:

Preheat oven to 350 F. Prepare pan (a 10×15 pan with sides works best) with oiled parchment paper or a silicone mat.

  1. Mix dry ingredients well – a whisk works well.
  2. Add wet to dry, and combine well. Make sure there aren’t obvious strings of egg white hanging out in the batter.
  3. Let batter set for 2 to 3 minutes to thicken up some (leave it too long and it gets past the point where it’s easy to spread.)
  4. Pour batter onto pan. Because it’s going to tend to mound in the middle, you’ll get a more even thickness if you spread it away from the center somewhat, in roughly a rectangle an inch or two from the sides of the pan (you can go all the way to the edge, but it will be thinner).
  5. Bake for about 20 minutes, until it springs back when you touch the top and/or is visibly browning even more than flax already is.
  6. Cool and cut into whatever size slices you want. You don’t need a sharp knife; I usually just cut it with a spatula.

Nutritional Information:

Each of 12 servings has less than a gram of effective carbohydrate (.7 grams to be exact) plus 5 grams fiber, 6 grams protein, and 185 calories.

 

I recently had the need to update my shiny new FreeBSD jailed server because I wanted to migrate to WordPress. I didn’t want to bring down the existing server while I did the install and converted my content so I managed to clone my existing jailed server using warden:

 warden export name_of_jail --dir=/directory_for_warden_file 

This will take a while… Once done, you can import the warden file creating a new jail:

 warden import jail_warden_file.wdn --host=jailbird --ipv4=192.168.1.105/24 

You’ve now got a cloned jail and a template for creating other jailed servers.

Static IP

Solaris 11 network stack is using crossbow so network administration is completely different now. In order to switch from DHCP to a static IP, we need to do the following:

# netadm enable -p ncp DefaultFixed
# ipadm create-ip net0
# ipadm create-addr -T static -a 192.168.1.21/24 net0/v4

Enable root login

rolemod -K type=normal root

Install Gnome

pfexec pkg install --accept solaris-desktop

Automated Installer

If the installadm client fails to boot and you land at the grub prompt, you may be missing next-server directive in the dhcp configuration. This should follow the filename directive.

# vi /etc/inet/dhcpd4.conf
...

host 08002746E9C3 {
  hardware ethernet 08:00:27:46:E9:C3;
  if option arch = 00:00 {
    filename "0108002746E9C3.bios";
  } else if option arch = 00:07 {
    filename "0108002746E9C3.uefi";
  }
  next-server 192.168.2.1;
}

If you’re like me and prefer the command line to the GUI, here’s a trick and script to help you manage your Solaris VMs.

  1. Enable a serial port for the VM.
    1. Enable Port 1
    2. Port Number COM1
    3. Port Mode: Host Pipe
    4. Create Pipe
    5. Port/File Path: /tmp/vb-VM-NAME-console
  2. Perform a reconfiguration boot on the VM.
  3. Install socat on the host system

    sudo apt-get install socat
  4. Change the eeprom console device for the VM:

    eeprom console=ttya
  5. Change the /boot/grub/menu.lst for the VM:

    ...
    # To enable grub serial console to ttya uncomment the following lines
    # and comment out the splashimage line below
    # WARNING: don't enable grub serial console when BIOS console serial
    #       redirection is active!!!
    serial --unit=0 --speed=9600
    terminal serial
    #
    # Uncomment the following line to enable GRUB splashimage on console
    #splashimage /boot/grub/splash.xpm.gz
    #
    # To chainload another OS
    ...
  6. Bring down the VM:

    init 5
  7. Once this is done, we can now tell VirtualBox to boot the VM headless and connect with socat

    VBoxManage startvm node1 --type headless && socat -,raw,echo=0 /tmp/vb-node1-console

    I wrote a perl script to handle booting and connecting the console. Feel free to download: vb.pl


    $ vb.pl -h
    usage:

    vb.pl -l
    vb.pl -n VM -b
    vb.pl -n VM -p
    vb.pl -h

    -l : list VirtualBox machines
    -n : name of the VirtualBox machine
    -b : power on and boot machine
    -p : power off machine
    -h : this message.

If the first node fails a reboot after scinstall completes with the following errors, read on for the fix:


Jan 27 11:52:50 node1 genunix: WARNING: CCR: Invalid CCR table : rgm_rt_SUNW.LogicalHostname:4 cluster global.
Jan 27 11:52:50 node1 genunix: WARNING: CCR: Invalid CCR table : rgm_rt_SUNW.SharedAddress:2 cluster global.
...
Jan 27 11:53:55 node1 Cluster.RGM.global.rgmd: [ID 349049 daemon.alert] CCR reported invalid table rgm_rt_SUNW.LogicalHostname:4; halting node
Jan 27 11:53:55 node1 Cluster.RGM.global.rgmd: [ID 349049 daemon.alert] CCR reported invalid table rgm_rt_SUNW.SharedAddress:2; halting node

The fix is to boot the node outside of cluster and repair the directory table:


cd /etc/cluster/ccr/global
vi directory

You want to remove these two lines:


rgm_rt_SUNW.LogicalHostname:4
rgm_rt_SUNW.SharedAddress:2

Save the file and bless it:


ccradm recover -o directory

Reboot back into cluster and proceed. After both nodes have rebooted and are in cluster mode, register these two resource types:


clresourcetype register SUNW.LogicalHostname
clresourcetype register SUNW.SharedAddress

I recently decided to try out the OpenZFS implementation of ZFS on my mac desktop and so far, I’m impressed. In this post, I’ll cover some of the issues encountered along the way. Let me start by describing my configuration. My desktop is a hack(intosh) with Mavericks installed on two internal 1TB drives. The primary boot drive is partitioned into one big slice and I use CarbonCopy to clone this disk to the second disk. My goal is to migrate my home directories, /Users, to a ZFS mirror and keep OSX on it’s own partition. This is pretty simple with two disks but I thought I would cover the steps here and hopefully help others down the ZFS path.Continue reading