booting from separate zfs pool

2016-04-28 Thread Eugene M. Zheganin
Hi.

So, I'm still struggling with my problem when I cannot boot from a big
zfs 2T pool (I have written some messages about a year ago, the whole
story is too long and irrelevant to retell it, I'll only notice that I
took the path where I'm about to boot from a separate zfs pool closer to
the beginning of the disk).

I've created such a smaller pool, called it zboot. I've read pjd@ letter
explaining that when FreeBSD sees several bootable pools, it chooses the
first one - that's fine with me, since the new pool partition's number
is smaller than the big one. So, I created zboot, set the mountpoint to
legacy, wrote the content to it's /boot directory (and yes, I did call
the 'make installkernel DESTDIR=/zboot') and rebooted. Strage thing
happened next - I got


Can't find /boot/zfsloader

FreeBSD/x86 boot
Default: zboot:/boot/kernel/kernel
boot:
|
Can't find /boot/kernel/kernel


I booted back from USB stick (that I'm using to boot my machine) and
rechecked these files - everything mentioned here is in it's place.

Does someone have the idea what I'm doing wrong ? May be this has
something to do with the fact that zboot does contain only the /boot
directory, and not the full rootfs ?

Thanks.
Eugene.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: booting from separate zfs pool

2016-04-28 Thread Malcolm Herbert
On Thu, Apr 28, 2016 at 12:44:28PM +0500, Eugene M. Zheganin wrote:
|So, I'm still struggling with my problem when I cannot boot from a big
|zfs 2T pool (I have written some messages about a year ago, the whole
|story is too long and irrelevant to retell it, I'll only notice that I
|took the path where I'm about to boot from a separate zfs pool closer to
|the beginning of the disk).

it's no an answer to your question, but I'm wondering wether the solution
to this may also help with beadm being unable to work with crypted ZFS root
volumes as the boot zpool is not the same as zroot ... I've got that issue
myself ...

-- 
Malcolm Herbert
m...@mjch.net
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: booting from separate zfs pool

2016-04-28 Thread krad
I would not use the root dataset. Create a ROOT/ one so it looks for
the kernel in "zboot:/ROOT/fist/boot/kernel/kernel" or similar. This way
you are compatible with beadm.



On 28 April 2016 at 08:44, Eugene M. Zheganin  wrote:

> Hi.
>
> So, I'm still struggling with my problem when I cannot boot from a big
> zfs 2T pool (I have written some messages about a year ago, the whole
> story is too long and irrelevant to retell it, I'll only notice that I
> took the path where I'm about to boot from a separate zfs pool closer to
> the beginning of the disk).
>
> I've created such a smaller pool, called it zboot. I've read pjd@ letter
> explaining that when FreeBSD sees several bootable pools, it chooses the
> first one - that's fine with me, since the new pool partition's number
> is smaller than the big one. So, I created zboot, set the mountpoint to
> legacy, wrote the content to it's /boot directory (and yes, I did call
> the 'make installkernel DESTDIR=/zboot') and rebooted. Strage thing
> happened next - I got
>
>
> Can't find /boot/zfsloader
>
> FreeBSD/x86 boot
> Default: zboot:/boot/kernel/kernel
> boot:
> |
> Can't find /boot/kernel/kernel
>
>
> I booted back from USB stick (that I'm using to boot my machine) and
> rechecked these files - everything mentioned here is in it's place.
>
> Does someone have the idea what I'm doing wrong ? May be this has
> something to do with the fact that zboot does contain only the /boot
> directory, and not the full rootfs ?
>
> Thanks.
> Eugene.
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: booting from separate zfs pool

2016-04-28 Thread krad
I think the new pivotroot type stuff in 11 may help a lot with this

https://www.freebsd.org/news/status/report-2015-10-2015-12.html#Root-Remount



On 28 April 2016 at 10:31, Malcolm Herbert  wrote:

> On Thu, Apr 28, 2016 at 12:44:28PM +0500, Eugene M. Zheganin wrote:
> |So, I'm still struggling with my problem when I cannot boot from a big
> |zfs 2T pool (I have written some messages about a year ago, the whole
> |story is too long and irrelevant to retell it, I'll only notice that I
> |took the path where I'm about to boot from a separate zfs pool closer to
> |the beginning of the disk).
>
> it's no an answer to your question, but I'm wondering wether the solution
> to this may also help with beadm being unable to work with crypted ZFS root
> volumes as the boot zpool is not the same as zroot ... I've got that issue
> myself ...
>
> --
> Malcolm Herbert
> m...@mjch.net
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: booting from separate zfs pool

2016-04-28 Thread Steven Hartland

I thought that was in 10.3 as well?


On 28/04/2016 11:55, krad wrote:

I think the new pivotroot type stuff in 11 may help a lot with this

https://www.freebsd.org/news/status/report-2015-10-2015-12.html#Root-Remount



On 28 April 2016 at 10:31, Malcolm Herbert  wrote:


On Thu, Apr 28, 2016 at 12:44:28PM +0500, Eugene M. Zheganin wrote:
|So, I'm still struggling with my problem when I cannot boot from a big
|zfs 2T pool (I have written some messages about a year ago, the whole
|story is too long and irrelevant to retell it, I'll only notice that I
|took the path where I'm about to boot from a separate zfs pool closer to
|the beginning of the disk).

it's no an answer to your question, but I'm wondering wether the solution
to this may also help with beadm being unable to work with crypted ZFS root
volumes as the boot zpool is not the same as zroot ... I've got that issue
myself ...

--
Malcolm Herbert
m...@mjch.net
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


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


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


Re: booting from separate zfs pool

2016-04-28 Thread Tomoaki AOKI
On Thu, 28 Apr 2016 11:52:27 +0100
krad  wrote:

> I would not use the root dataset. Create a ROOT/ one so it looks for
> the kernel in "zboot:/ROOT/fist/boot/kernel/kernel" or similar. This way
> you are compatible with beadm.

And of course, dataset zboot:/ROOT/fist in above example should set as
bootfs by

 #zpool set bootfs=zboot/ROOT/fist zboot

and mountpoints of zboot and zboot/ROOT should be set to NONE by

 #zfs set mountpoint=none zboot
 #zfs set mountpoint=none zboot/ROOT

respectively. Otherwise, boot would fail. When I forgot to set bootfs,
got boot failure, even I've set vfs.root.mountfrom in /boot/loader.conf
properly. Are these OK?

# This is easily forgotten on manual installation. :-<


> 
> 
> 
> On 28 April 2016 at 08:44, Eugene M. Zheganin  wrote:
> 
> > Hi.
> >
> > So, I'm still struggling with my problem when I cannot boot from a big
> > zfs 2T pool (I have written some messages about a year ago, the whole
> > story is too long and irrelevant to retell it, I'll only notice that I
> > took the path where I'm about to boot from a separate zfs pool closer to
> > the beginning of the disk).
> >
> > I've created such a smaller pool, called it zboot. I've read pjd@ letter
> > explaining that when FreeBSD sees several bootable pools, it chooses the
> > first one - that's fine with me, since the new pool partition's number
> > is smaller than the big one. So, I created zboot, set the mountpoint to
> > legacy, wrote the content to it's /boot directory (and yes, I did call
> > the 'make installkernel DESTDIR=/zboot') and rebooted. Strage thing
> > happened next - I got
> >
> >
> > Can't find /boot/zfsloader
> >
> > FreeBSD/x86 boot
> > Default: zboot:/boot/kernel/kernel
> > boot:
> > |
> > Can't find /boot/kernel/kernel
> >
> >
> > I booted back from USB stick (that I'm using to boot my machine) and
> > rechecked these files - everything mentioned here is in it's place.
> >
> > Does someone have the idea what I'm doing wrong ? May be this has
> > something to do with the fact that zboot does contain only the /boot
> > directory, and not the full rootfs ?
> >
> > Thanks.
> > Eugene.
> > ___
> > freebsd-stable@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> >
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 


-- 
Tomoaki AOKIjunch...@dec.sakura.ne.jp
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: booting from separate zfs pool

2016-04-28 Thread Tomoaki AOKI
Finished at r293744 (MFC of r290548), right?

  https://lists.freebsd.org/pipermail/svn-src-stable-10/2016-January/007753.html


On Thu, 28 Apr 2016 11:57:44 +0100
Steven Hartland  wrote:

> I thought that was in 10.3 as well?
> 
> 
> On 28/04/2016 11:55, krad wrote:
> > I think the new pivotroot type stuff in 11 may help a lot with this
> >
> > https://www.freebsd.org/news/status/report-2015-10-2015-12.html#Root-Remount
> >
> >
> >
> > On 28 April 2016 at 10:31, Malcolm Herbert  wrote:
> >
> >> On Thu, Apr 28, 2016 at 12:44:28PM +0500, Eugene M. Zheganin wrote:
> >> |So, I'm still struggling with my problem when I cannot boot from a big
> >> |zfs 2T pool (I have written some messages about a year ago, the whole
> >> |story is too long and irrelevant to retell it, I'll only notice that I
> >> |took the path where I'm about to boot from a separate zfs pool closer to
> >> |the beginning of the disk).
> >>
> >> it's no an answer to your question, but I'm wondering wether the solution
> >> to this may also help with beadm being unable to work with crypted ZFS root
> >> volumes as the boot zpool is not the same as zroot ... I've got that issue
> >> myself ...
> >>
> >> --
> >> Malcolm Herbert
> >> m...@mjch.net
> >> ___
> >> freebsd-stable@freebsd.org mailing list
> >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> >> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> >>
> > ___
> > freebsd-stable@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 


-- 
Tomoaki AOKIjunch...@dec.sakura.ne.jp
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: booting from separate zfs pool

2016-04-28 Thread Tomoaki AOKI
And with this feature, if I understood correctly, old kernel keeps on
running after this type of reboot.
If so, kernel modules loaded via /etc/rc.conf[.local] can cause version
mismatch with running kernel, forcing single user mode.

So I'd prefer making 'zboot' pool as real rootfs and mount needed
datasets from main pool. (Use povot-root only for userland-only
updates.)

# Pivot-root would be similar to configuration below. Right?

   *Use UEFI loader of 10.3 or later
   *UFS having /boot
   *ZFS NOT having /boot (at least, /boot/loader.efi)
   */boot/loader.conf has vfs.root.mountfrom line pointing inside ZFS

  Below can be optional.
   *UFS is mounted to some mountpoint such as /ufsboot after boot
   *ZFS has symlink /boot pointing /ufsboot


On Thu, 28 Apr 2016 20:39:51 +0900
Tomoaki AOKI  wrote:

> Finished at r293744 (MFC of r290548), right?
> 
>   
> https://lists.freebsd.org/pipermail/svn-src-stable-10/2016-January/007753.html
> 
> 
> On Thu, 28 Apr 2016 11:57:44 +0100
> Steven Hartland  wrote:
> 
> > I thought that was in 10.3 as well?
> > 
> > 
> > On 28/04/2016 11:55, krad wrote:
> > > I think the new pivotroot type stuff in 11 may help a lot with this
> > >
> > > https://www.freebsd.org/news/status/report-2015-10-2015-12.html#Root-Remount
> > >
> > >
> > >
> > > On 28 April 2016 at 10:31, Malcolm Herbert  wrote:
> > >
> > >> On Thu, Apr 28, 2016 at 12:44:28PM +0500, Eugene M. Zheganin wrote:
> > >> |So, I'm still struggling with my problem when I cannot boot from a big
> > >> |zfs 2T pool (I have written some messages about a year ago, the whole
> > >> |story is too long and irrelevant to retell it, I'll only notice that I
> > >> |took the path where I'm about to boot from a separate zfs pool closer to
> > >> |the beginning of the disk).
> > >>
> > >> it's no an answer to your question, but I'm wondering wether the solution
> > >> to this may also help with beadm being unable to work with crypted ZFS 
> > >> root
> > >> volumes as the boot zpool is not the same as zroot ... I've got that 
> > >> issue
> > >> myself ...
> > >>
> > >> --
> > >> Malcolm Herbert
> > >> m...@mjch.net
> > >> ___
> > >> freebsd-stable@freebsd.org mailing list
> > >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > >> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> > >>
> > > ___
> > > freebsd-stable@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> > 
> > ___
> > freebsd-stable@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> > 
> 
> 
> -- 
> Tomoaki AOKIjunch...@dec.sakura.ne.jp
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 


-- 
Tomoaki AOKIjunch...@dec.sakura.ne.jp
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: booting from separate zfs pool

2016-04-28 Thread Johannes Totz
On 28/04/2016 08:44, Eugene M. Zheganin wrote:
> Hi.
> 
> So, I'm still struggling with my problem when I cannot boot from a big
> zfs 2T pool (I have written some messages about a year ago, the whole
> story is too long and irrelevant to retell it, I'll only notice that I
> took the path where I'm about to boot from a separate zfs pool closer to
> the beginning of the disk).
> 
> I've created such a smaller pool, called it zboot. I've read pjd@ letter
> explaining that when FreeBSD sees several bootable pools, it chooses the
> first one - that's fine with me, since the new pool partition's number
> is smaller than the big one. So, I created zboot, set the mountpoint to
> legacy, wrote the content to it's /boot directory (and yes, I did call
> the 'make installkernel DESTDIR=/zboot') and rebooted. Strage thing
> happened next - I got
> 
> 
> Can't find /boot/zfsloader
> 
> FreeBSD/x86 boot
> Default: zboot:/boot/kernel/kernel
> boot:
> |
> Can't find /boot/kernel/kernel
> 
> 
> I booted back from USB stick (that I'm using to boot my machine) and
> rechecked these files - everything mentioned here is in it's place.
> 
> Does someone have the idea what I'm doing wrong ? May be this has
> something to do with the fact that zboot does contain only the /boot
> directory, and not the full rootfs ?

FWIW, I'm booting the kernel off a different pool from where the rootfs
is... I've set bootfs on the boot-pool (to point to itself), and the
loader.conf in that boot pool has vfs.root.mountfrom point to the
root-fs on the other pool.



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


Notice of appearance in Court #0000150054

2016-04-28 Thread District Court
Notice to Appear,

This is to inform you to appear in the Court on the May 07 for your case 
hearing.
Please, do not forget to bring all the documents related to the case.
Note: The case will be heard by the judge in your absence if you do not come.

The copy of Court Notice is attached to this email.

Regards,
Willard Rossi,
Court Secretary.

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


Jenkins build became unstable: FreeBSD_stable_10 #230

2016-04-28 Thread jenkins-admin
See 

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