installation of zfs

Jeremy Chadwick koitsu at FreeBSD.org
Tue Jun 17 21:32:18 UTC 2008


On Tue, Jun 17, 2008 at 10:20:26PM +0200, Ernst W. Winter wrote:
> On Tue, 17 Jun 2008, Mark Gladman(legios.org) wrote:
> 
> [cut]
> > >> Hey there,
> > >>
> > >> http://wiki.freebsd.org/ZFSQuickStartGuide is a good quickstart guide.
> > >>
> > > Thanks, just had a look and looks good, ecept for this:
> > >
> > > zpool create tank raidz da0 da1 da2
> > >
> > > Does it have to have "raidz"?
> > >
> > >> I also recommend reading through http://wiki.freebsd.org/ZFS for
> > >> additional information.
> > >>
> > > Thank you, will do that too.
> > >
> > > I will have a bit more time this afternoon and then try to get it
> > > going again as I try to setup with this HD a new one with the new
> > > kde4.
> > >
> > >> Cheers,
> > >
> > > Thanks again,
> > >
> > >> Mark
> > >>
> > > Ernst
> > >
> > Hm.. Not sure my messages are actually going to the mailing
> > list (given you responded and my email hasn't shown up on it
> > yet).
> > 
> well this one will.
> 
> > In any case, no, if you don't want there to be any raid etc.
> > just an array of disks you can use zpool create tank da0 da1
> > da2. (if I remember correctly - I don't have a machine with me
> > at work I can test it on).
> > 
> > http://www.freebsd.org/cgi/man.cgi?query=zpool&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html
> > ans
> > http://www.freebsd.org/cgi/man.cgi?query=zfs&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html
> > are fairly digestable too, if you get the chance.
> > 
> Got it all going and then compiled it all with make buildworld
> and kernel, when I try to restart in single user mode I don't
> have the /usr directory. What could have happen?

You'll need to mount -a once in single-user to get all of your
filesystems.

Unless you're referring to /usr being on ZFS, which in that case you'll
need to run "/etc/rc.d/hostid start", then "/etc/rc.d/zfs start".  Your
pools should load automatically.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-fs mailing list