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
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. Hi, I have just recreated from scratch Your zroot root setup under VirtualBox and tested it deeply. There was an interesting BUG in the

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-05 Thread Randal L. Schwartz
vermaden == vermaden verma...@interia.pl writes: vermaden To the point, check these two code snippets, they should vermaden do EXACLY the same, logic is the same, the differece is vermaden only the syntax. vermaden snippet 1: vermaden [ ${MOUNT} -eq 0 ] { vermaden zfs set

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
Hi vermaden 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 Is

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-05-02 Thread Kalle Møller
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 it :) http://pastebin.com/XdYZ2eGR main# zfs list

Re: HOWTO: FreeBSD ZFS Madness (Boot Environments)

2012-04-27 Thread vermaden
Hi, do you know manageBE? Google for it, it is the first hit. This works for me like a charm since about a year. Bye, Alexander. Hi, yes I know and used manageBE for a while, I even mentioned it in the HOWTO (quote below) but thought that making *beadm* that is compatible with