Search This Blog

20 July 2010

zfs-fuse


I have recently been looking at using some low-power hardware that has Debian installed (and does not support OpenSolaris).  Combined with Oracle's demantling of Sun, I decided to test zfs-fuse.  These instructions are in no way supposed to indicate the correct or easiest way -- simply the way I managed to get it installed and tested.

  1. download the Debian Lenny installer
  2. create a new VirtualBox machine
    1. make sure to create some extra drives... so in addition to SCSI0/sda being set aside for a 20gig hard drive, I created SCSI1-SCSI5 (sdb-sdf) as 2gig drives labeled "ztest1" through "ztest5"
    2. keep track of those addition sdX names, you will need them later
  3. reboot when prompted; make sure to remove the installer CD
  4. su - root
  5. apt-get install sudo bzip2
  6. visudo
    1. uncomment the sudo group line at the bottom
  7. nano /etc/group
    1. add yourself to the sudo group
  8. apt-get install build-essential
  9. apt-get install libaio-dev libattr1-dev libacl1-dev libz-dev libfuse-dev libfuse2 scons libssl-dev
  10. exit
    1. to get back to your user
  11. mkdir work
  12. cd work
  13. wget http://zfs-fuse.net/releases/0.6.9/zfs-fuse-0.6.9.tar.bz2
  14. bunzip2 zfs-fuse-0.6.9.tar.bz2
  15. tar xvf zfs-fuse-0.6.9.tar
  16. rm zfs-fuse-0.6.9.tar
  17. cd zfs-fuse-0.6.9/src
  18. scons
  19. sudo scons install
  20. nano ~/.profile
    1. PATH="$PATH:/sbin:/usr/local/sbin"
  21. log out and back in
  22. modprobe fuse
  23. sudo nano /etc/fstab
    1. add this line:

      none /sys/fs/fuse/connections fusectl none 0 0
  24.  sudo mount -a -t fusectl
  25.  sudo zfs-fuse &
  26.  sudo zpool create rpool raidz2 /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf
  27. sudo zfs create rpool/data
On reboot, I had some issues (I need to write a proper boot script), but I did this to get it running again:
  1. su - root
  2. modprobe fuse
  3. mount -a -t fusectl
  4. zfs-fuse &
  5. zpool status
  6. zfs list
  7. zfs mount rpool/data
References:
http://zfs-fuse.net/
http://drwetter.org/blog/zfs_under_linux.en.html

    14 July 2010

    Slashdot: OpenSolaris Governing Board Closing Shop?

    Posted by CmdrTaco on Wednesday July 14, @11:27AM
    from the so-it-comes-to-this dept.
    echolinux writes "Frustrated by Oracle's refusal to interact with the OpenSolaris community or speak with the OpenSolaris Governing Board, the OGB has issued an ultimatum to Oracle: designate a liaison to the OGB by August 16th or the board will 'take action at the August 23 meeting to trigger the clause in the OGB charter that will return control of the community to Oracle.'"