Re: ZFS / Boot Environments / Jails / Upgrading form Source Code

2012-10-19 Thread Shane Ambler
On 19/10/2012 07:44, dweimer wrote: First step replace the usr/src within the jail with new source using svn, easy enough. Then start make buildworld... oops, I have a problem now, the usr/obj/usr stuff is now under /usr/obj/usr/jails/release91rc2..., However I want it to be under

Re: ZFS / Boot Environments / Jails / Upgrading form Source Code

2012-10-19 Thread dweimer
On 2012-10-19 02:48, Shane Ambler wrote: On 19/10/2012 07:44, dweimer wrote: First step replace the usr/src within the jail with new source using svn, easy enough. Then start make buildworld... oops, I have a problem now, the usr/obj/usr stuff is now under /usr/obj/usr/jails/release91rc2...,

ZFS / Boot Environments / Jails / Upgrading form Source Code

2012-10-18 Thread dweimer
it is a better option to make a new zfs data set outside the boot environments to mount under /usr/obj directory, let the default prefixes handle which sub directory to use, and just delete the directories when I am done working with the boot environment. -- Thanks, Dean E. Weimer http

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-07 Thread vermaden
Good to see you've finally been burned. You'll never make that mistake again. :) I liked that syntax: ASD { asd } || { bsd } mostly because of syntax highlighting, to be precise highlighting of the second bracket of a pair at editors, nor VIM neither GEANY highlight if/then/elif/else/fi

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-07 Thread Randal L. Schwartz
vermaden == vermaden verma...@interia.pl writes: Good to see you've finally been burned. You'll never make that mistake again. :) vermaden I liked that syntax: vermaden ASD { vermaden asd vermaden } || { vermaden bsd vermaden } vermaden mostly because of syntax highlighting, to be

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-07 Thread vermaden
Emacs indents it nicely, and colorizes the keywords so that it stands out. Indentification is not a problem, it work both in geany and vim. Probably I haven't made clear what I meant ;) Take a look at this picture: http://ompldr.org/vZG50bQ The brackets in that specific section (asd) are

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-05 Thread vermaden
reboot ... # zfs destroy -R zroot/ROOT # zfs create -o mountpoint=none zroot/ROOT # zfs send zpool@be | zfs recv zroot/ROOT/be # fetch https://raw.github.com/vermaden/beadm/master/beadm # chmod +x beadm # ./beadm list # ./beadm activate be # reboot Now You should have a working system with boot

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-05 Thread Randal L. Schwartz
mountpoint=none zroot/ROOT vermaden # zfs send zpool@be | zfs recv zroot/ROOT/be vermaden # fetch https://raw.github.com/vermaden/beadm/master/beadm vermaden # chmod +x beadm vermaden # ./beadm list vermaden # ./beadm activate be vermaden # reboot vermaden Now You should have a working system with boot

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-04 Thread vermaden
I have zfs-on-root using the classical documentation (everything under zpool, possibly with some sub-mounts, but I've left those out lately). Is there a way to transition my system to a form that beadm expects? I tried just running it, and it's upset that zpool/ROOT doesn't exist. Hi, I

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-04 Thread Randal L. Schwartz
vermaden == vermaden verma...@interia.pl writes: vermaden # fetch https://github.com/vermaden/beadm/blob/master/beadm Heh. That's HTML. I think you want fetch https://raw.github.com/vermaden/beadm/master/beadm vermaden # chmod +x beadm vermaden # ./beadm list vermaden # ./beadm activate

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-04 Thread Randal L. Schwartz
Randal == Randal L Schwartz mer...@stonehenge.com writes: vermaden == vermaden verma...@interia.pl writes: vermaden # fetch https://github.com/vermaden/beadm/blob/master/beadm Randal and after reboot, zfs set mountpoint=none zroot would also seem to Randal clean that up. Oh wait, it looks

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-04 Thread Randal L. Schwartz
Randal == Randal L Schwartz mer...@stonehenge.com writes: Randal Oh wait, it looks like zroot is still holding 1.04G of data... will Randal that ever go away? Shouldn't all the data be in the /ROOT/xxx Randal items? And worse, the things from the readme don't work: locohost# ./beadm create

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-04 Thread Randal L. Schwartz
Randal == Randal L Schwartz mer...@stonehenge.com writes: Randal This is FreeBSD 8.2. And no difference on 8.3 :( Should there have been a promote in there somewhere? It looks like the boot env is still dependent on the very old zroot. -- Randal L. Schwartz - Stonehenge Consulting Services,

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-04 Thread Bryan Drewery
On 5/4/2012 5:10 PM, Randal L. Schwartz wrote: Randal == Randal L Schwartz mer...@stonehenge.com writes: Randal Oh wait, it looks like zroot is still holding 1.04G of data... will Randal that ever go away? Shouldn't all the data be in the /ROOT/xxx Randal items? And worse, the things

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-03 Thread vermaden
Hi, I just tested your tool the last few days and I must say I love it already. Though I can get one of the commands to work - might be me or the syntax beadm create [-e nonActiveBe | beName@snapshot] beName I read it as you can do the following beadm create beName@snapshot beName

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-03 Thread vermaden
Kalle Møller freebsd-questi...@k-moeller.dk: And I forgot If I do a create and destroy, I would assume my system was back to same state, but you keep the snapshot when I destroy the clone, dont know if its working as intended (better safe to keep it than sorry) or you just didn't think of

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-02 Thread Kalle Møller
Is that correct or is it beadm create -e beName@snapshot beName Well neither of those seems to work for me, can you give an example of the use? Thanks Kalle On Fri, Apr 27, 2012 at 1:08 AM, vermaden verma...@interia.pl wrote: Hi, I have just created new HOWTO [1] on how to use Boot Environments

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-02 Thread Kalle Møller
beName@snapshot beName Well neither of those seems to work for me, can you give an example of the use? Thanks Kalle On Fri, Apr 27, 2012 at 1:08 AM, vermaden verma...@interia.pl wrote: Hi, I have just created new HOWTO [1] on how to use Boot Environments on FreeBSD with new created

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-04-27 Thread vermaden
org.freebsd:be in the future, but is just a thought, right now its not used. My version also supports activating boot environments received with zfs recv command from other systems (it just updates appreciate /boot/zfs/zpool.cache file). Regards, vermaden

HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-04-26 Thread vermaden
Hi, I have just created new HOWTO [1] on how to use Boot Environments on FreeBSD with new created utility *beadm* that I put on SourceForge [2]. Feel free to send Your ideas/critique about it. [1] http://forums.freebsd.org/showthread.php?t=31662 [2] https://sourceforge.net/projects/beadm

Boot Environments

2011-06-30 Thread Dick Hoogendijk
On solaris you can have different BE's (boot environments) using ZFS. Is this possible with FreeBSD ZFS? I can't recall ever have seen a tool like BEadm (solaris). But maybe using ZFS manually I can get more BE's? ___ freebsd-questions@freebsd.org

Re: Boot Environments

2011-06-30 Thread krad
On 30 June 2011 08:43, Dick Hoogendijk d...@nagual.nl wrote: On solaris you can have different BE's (boot environments) using ZFS. Is this possible with FreeBSD ZFS? I can't recall ever have seen a tool like BEadm (solaris). But maybe using ZFS manually I can get more BE's