PDA

View Full Version : is freebsd installation on ZFS possible?


Cronist
November 16th, 2008, 20:26
we know that freebsd is supporting ZFS on FreeBSD 7.X. but there is no support on at the installation. is there any good news about it?

and also what about oracle support? is there any development about it?

ian_cammarata
November 16th, 2008, 20:43
also what about oracle support? is there any development about it?

I don't know if there's any development going on to provide a native copy for BSD, but I've been told that it runs just fine using the Linux ABI compatibility.

trasz@
November 16th, 2008, 20:50
Yes, it is possible to have your root filesystem on ZFS, as described here: http://wiki.freebsd.org/ZFSOnRoot. However, it's not yet possible to do this from the installer.

danger@
November 16th, 2008, 20:53
However note, that PC-BSD (http://www.pcbsd.org/) supports ZFS installation directly from the installation software...

schweikh@
November 16th, 2008, 21:10
we know that freebsd is supporting ZFS on FreeBSD 7.X. but there is no support on at the installation. is there any good news about it?


Keep in mind that a system that lives completely (i.e. including the root partition) in a ZFS would need to be supported by the loader(8) or boot manager. IIRC no such support exists at this time.

The usual way of creating a ZFS system is with a small root partition containing a UFS2 file system. Then you are free to use any file system for the remaining partitions. E.g. that's how I install my systems using gvinum partitions (which sysinstall, grub and its ilk don't support either).

If you have enough disk space for a second system, you could try the approach I have described in my article FreeBSD from Scratch, see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/article.html
This makes it easy to play around with a new system without touching anything on your current.

Regards, Jens

hedwards
November 16th, 2008, 21:17
I used these instructions:
http://www.ish.com.au/solutions/articles/freebsdzfs

Things went pretty smoothly once I figured out what I was all doing. You do still need to have a small non-ZFS partition on which to store the boot directory, but it works pretty well.

ken
November 16th, 2008, 21:37
Yes, it is possible to have your root filesystem on ZFS, as described here: http://wiki.freebsd.org/ZFSOnRoot. However, it's not yet possible to do this from the installer.

Please correct me if I'm in error but this is still "experimental" status, no? If OP needs ZFS boot on production box, they may want to take a peek at Solaris 10, Update 6, wh/was recently released and offers officially supported ZFS root by Sun (or other OpenSolaris based distro). Sun MFC'ing to their production OS and enterprise support is a pretty strong indication that it's ready for prime time...§e

felix
November 16th, 2008, 22:52
I used these instructions:
http://www.ish.com.au/solutions/articles/freebsdzfs
Checked, this is my work, too!

JBapt
November 16th, 2008, 22:53
Bare in mind that its not production ready. Also make sure you have more than 1GB of memory to keep it running smooth. It tends to be memory hungry.

kingping
November 16th, 2008, 23:36
Oops wrong thread, sorry.

ninjaslim
November 17th, 2008, 01:55
Oracle works fine using the Linux ABI layer, and posts from the Oracle forum suggest that this is the best option. The people at Oracle don't feel the need to port it over because it works rather well.

hedwards
November 17th, 2008, 04:51
Checked, this is my work, too!
Thanks then. It's probably one of the most straight through how-tos I've seen in a while. But that being said I look forward to the porting work being done and being able to dust bin it.

surferwl
November 17th, 2008, 05:53
yes,you can!x(

rink@
November 17th, 2008, 08:37
We run Oracle in production at work on FreeBSD 6.x, and it works fine as long as you apply the patch in kern/102956. We're currently about to install Oracle on a 7.x box, but no results as of yet :-)

And FWIW, http://rink.nu/entry.php?id=105 contains instructions about how to install FreeBSD on ELI-encrypted ZFS. I use this to keep my laptop secure, and it works amazingly well.

sT4k3
November 24th, 2008, 13:05
We run Oracle in production at work on FreeBSD 6.x, and it works fine as long as you apply the patch in kern/102956. We're currently about to install Oracle on a 7.x box, but no results as of yet :-)

And FWIW, http://rink.nu/entry.php?id=105 contains instructions about how to install FreeBSD on ELI-encrypted ZFS. I use this to keep my laptop secure, and it works amazingly well.

What version oracle you use and where read about install oracle on freebsd?
ps sorry for my eng ))