Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Aug 2010 13:27:07 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Dick Hoogendijk <dick@nagual.nl>
Cc:        freebsd questions <freebsd-questions@freebsd.org>
Subject:   Re: zfs question
Message-ID:  <4C5EA29B.7040401@infracaninophile.co.uk>
In-Reply-To: <4C5E9874.3030606@nagual.nl>
References:  <4C5E9874.3030606@nagual.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAEC34F8BA604A6FB1B7938B2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 08/08/2010 12:43:48, Dick Hoogendijk wrote:
>  Years back I ran FreeBSD, so I have some experience. The last couple o=
f
> years I ran Solaris, followed by Opensolaris. I am very satisfied.
> However, considering the troubles after Oracle took over I have rebuild=

> my server system under FreeBSD-8.1 (now running as a virtual machine
> under VirtualBox). All works very well and smooth so I'm going to
> transfer this VM to a real seperate harddisk.
>=20
> I have a couple of questions:
>=20
> [1] Transfering the VM is best done using dump/restore I guess? (This
> after a smallest creation of fbsd81 on the new harddisk) ?

Yes, that would be a pretty good way of doing your vtophys migration.

> My server has five disks: 1 PATA (160Gb), 2 SATA2 (500Gb) and 2 SATA2
> (1Tb) The fist is disabled at the moment and the others are ZFS mirrors=

> under opensolaris. they are not usable for freebsd because the zfs
> versions don't match. I will have to rebuild. ;-)

% zpool list -H -o version zroot
14
% zfs list -H -o version /
3

Those are the latest available under 8-STABLE -- 8.1-RELEASE will be the
same.

> However, I'm a bit worried about the status of ZFS on FreeBSD-8.1 I
> don't want my system to boot off ZFS like I have now on OpenSolaris-b13=
4
>=20
> I think it is wisest to have the 160Gb IDE drive installed for FreeBSD
> system drive w/ UFS2 and after that create two ZFS mirrors from my SATA=

> drives.

Hmmm... well, booting FreeBSD off ZFS works perfectly well.  Apart from
the lack of support in sysinstall, I can't see any good reasons to avoid
it.  However, it's your system, and booting from UFS also works very
well, so do whatever pleases you.

There's more of a question over whether it's a good idea to put swap
onto zfs -- I think the recommendation is still to prefer using a raw
partition or gmirror for that.

> Is ZFS (v14) ready for production on FreeBSD-8.1 and if yes, will I
> still need special settings? The server system is 64bits and has 3Gb
> memory.

Yes.   It works very well.

On amd64 you'll get a pretty reasonable setup out of the box (so to
speak) which will work fine for most purposes.  Of course, if your
system has particularly demanding IO patterns, then you may have to
tweak some loader.conf or sysctl parameters to get the best results.
But that's hardly unique to ZFS.

> I hope to get some answers or good reading points.

The FreeBSD Wiki entries on ZFS are very useful to read:

http://wiki.freebsd.org/ZFS  (and the links from that page)

especially the recipes for installing various different ZFS based
configurations: eg. http://wiki.freebsd.org/RootOnZFS

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enigAEC34F8BA604A6FB1B7938B2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxeoqIACgkQ8Mjk52CukIyshgCdFueqNCCY0hqkT043pQQhrVqH
Q3IAn2YwAbtJEkLFewnd0LCV+goZCny1
=hH8K
-----END PGP SIGNATURE-----

--------------enigAEC34F8BA604A6FB1B7938B2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C5EA29B.7040401>