root on zfs almost working for me but ...

Daniel Braniss danny at cs.huji.ac.il
Tue Aug 9 12:18:27 UTC 2011


> --20cf300fb4297a2a2904aa0f78ba
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On 8 August 2011 11:30, Daniel Braniss <danny at cs.huji.ac.il> wrote:
> 
> > > On 8/8/11 5:33 AM, Daniel Braniss wrote:
> > > >> According to Daniel Braniss:
> > > >>> Trying to mount root from zfs:z/root
> > > >>> ROOT MOUNT ERROR:
> > > >>> If you have invalid mount options, reboot, and first try the
> > following from
> > > >>> the loader prompt:
> > > >>
> > > >> Have you set the "bootfs" property (see
> > http://www.keltia.net/howtos/zfsboot) on the pool?
> > > >>
> > > > yes, in my case I did:
> > > >     zpool set bootfs=z/root z
> > > >
> > >
> > > Have you set zfs_load="YES" in loader.conf and zfs_enable="YES" in
> > rc.conf?
> > >
> > the zfs_load is yes, the rc.conf stuff is for later (i.e init is not yet
> > running)
> >
> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> >        The Regents of the University of California. All rights reserved.
> > FreeBSD is a registered trademark of The FreeBSD Foundation.
> > FreeBSD 8.2-STABLE #63 r5807: Sun Aug  7 15:55:02 IDT 2011
> >    danny at rnd:/home/obj/rnd/r+d/stable/8/sys/HUJI amd64
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > CPU: AMD Phenom(tm) II X6 1090T Processor (3214.23-MHz K8-class CPU)
> >  Origin = "AuthenticAMD"  Id = 0x100fa0  Family = 10  Model = a  Stepping =
> > 0
> >
> >  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
> > CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
> >  Features2=0x802009<SSE3,MON,CX16,POPCNT>
> >  AMD
> > Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow
> > !>
> >  AMD
> > Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS
> > ,SKINIT,WDT>
> >  TSC: P-state invariant
> > ...
> > ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is
> > present;
> >            to enable, add "vfs.zfs.prefetch_disable=0" to
> > /boot/loader.conf.
> > ZFS filesystem version 5
> > ZFS storage pool version 28
> > ...
> >
> >
> > _______________________________________________
> > freebsd-hackers at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> >
> 
> 
> is the mountpoint for the fs set to legacy?
> 
arg, I forgot that it failed in the past, and now I'm in a new pickle:
when booting via PXE, zfs mounts it as root - instead of the nfs so after
many trials this worked:
	zpool import -f -R /mnt z
	zfs set mountpoint=none z/root
	zfs set mountpoint=none z






More information about the freebsd-hackers mailing list