Re: root on zfs almost working for me but ...

2011-08-09 Thread krad
On 8 August 2011 11:30, Daniel Braniss da...@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@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=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
 CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x802009SSE3,MON,CX16,POPCNT
  AMD
 Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow
 !
  AMD
 Features2=0x37ffLAHF,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@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org



is the mountpoint for the fs set to legacy?

post your loader.conf here as well zfs the zpool file system hirachy eg zfs
list -r z
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: root on zfs almost working for me but ...

2011-08-09 Thread Daniel Braniss
 --20cf300fb4297a2a2904aa0f78ba
 Content-Type: text/plain; charset=ISO-8859-1
 
 On 8 August 2011 11:30, Daniel Braniss da...@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@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=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
  CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
   Features2=0x802009SSE3,MON,CX16,POPCNT
   AMD
  Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow
  !
   AMD
  Features2=0x37ffLAHF,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@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
  To unsubscribe, send any mail to freebsd-hackers-unsubscr...@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




___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: root on zfs almost working for me but ...

2011-08-08 Thread Daniel Braniss
 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

but still no success,
thanks,
danny


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: root on zfs almost working for me but ...

2011-08-08 Thread Glen Barber
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?

-- 
Glen Barber
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: root on zfs almost working for me but ...

2011-08-08 Thread Daniel Braniss
 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@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=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x802009SSE3,MON,CX16,POPCNT
  AMD Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow
!
  AMD Features2=0x37ffLAHF,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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org