Re: ZFS install from -CURRENT snapshot

2011-05-31 Thread Alexander Leidinger
Quoting Daniel Staal dst...@usa.net (from Mon, 30 May 2011 11:01:06 -0400): --As of May 29, 2011 9:10:57 AM -0400, George Kontostanos, freebsd-current@freebsd.org is alleged to have said: --As of May 29, 2011 12:06:30 PM +0300, George Kontostanos is alleged to have said: The new

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread Daniel Staal
--As of May 29, 2011 9:10:57 AM -0400, George Kontostanos, freebsd-current@freebsd.org is alleged to have said: --As of May 29, 2011 12:06:30 PM +0300, George Kontostanos is alleged to have said: The new bsdinstall has a different layout so the previous guides don't work. I have prepared one

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread George Kontostanos
Could you please explain where did you actually got stacked ? Have you installed the OS by : for file in base.txz lib32.txz kernel.txz doc.txz ports.txz src.txz; do (cat $file | tar --unlink -xpJf - -C ${DESTDIR:-/}); done Did you copy zpool.cache ? On Mon, May 30, 2011 at 6:01 PM, Daniel

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread Daniel Staal
--As of May 30, 2011 6:11:19 PM +0300, George Kontostanos is alleged to have said: Could you please explain where did you actually got stacked ? Have you installed the OS by : for file in base.txz lib32.txz kernel.txz doc.txz ports.txz src.txz; do (cat $file | tar --unlink -xpJf - -C

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread George Kontostanos
I suppose that you didn't forget to add a boot code to your boot disk(s) ? gpart bootcode -b boot/pmbr -p boot/gptzfsboot -i 1 ada0 On Mon, May 30, 2011 at 6:25 PM, Daniel Staal dst...@usa.net wrote: --As of May 30, 2011 6:11:19 PM +0300, George Kontostanos is alleged to have said: Could

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread Daniel Staal
--As of May 30, 2011 6:29:06 PM +0300, George Kontostanos is alleged to have said: I suppose that you didn't forget to add a boot code to your boot disk(s) ? gpart bootcode -b boot/pmbr -p boot/gptzfsboot -i 1 ada0 --As for the rest, it is mine. Nope, I got that. Although that line as

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread George Kontostanos
Sorry about the typos. The bootcode should be installed to the drive that you are booting from. I see that you have: ada1: 1 freebsd-boot 2 freebsd-swap 8G 3 freebsd-zfs 4G (zil) 4 freebsd-zfs 17G (cache) ada0: Managed by ZFS, ~250G Main filesystem. I don't think that ada1 holds

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread Daniel Kalchev
On 29.05.11 16:10, Daniel Staal wrote: --As of May 29, 2011 12:06:30 PM +0300, George Kontostanos is alleged to have said: http://www.aisecure.net/?p=132; Thanks, that's about what I expected the install procedure to be at this point. Nice to have the reminder about the zpool.cache. (Do

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread George Kontostanos
Thanks, I will reproduce it and update the guide. On Mon, May 30, 2011 at 6:26 PM, Daniel Kalchev dan...@digsys.bg wrote: On 29.05.11 16:10, Daniel Staal wrote: --As of May 29, 2011 12:06:30 PM +0300, George Kontostanos is alleged to have said: http://www.aisecure.net/?p=132; Thanks,

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread Daniel Staal
--As of May 30, 2011 6:47:32 PM +0300, George Kontostanos is alleged to have said: The bootcode should be installed to the drive that you are booting from. I see that you have: ada1: 1 freebsd-boot 2 freebsd-swap 8G 3 freebsd-zfs 4G (zil) 4 freebsd-zfs 17G (cache) ada0:

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread George Kontostanos
Could you please post the output of: gpart show On Mon, May 30, 2011 at 8:04 PM, Daniel Staal dst...@usa.net wrote: --As of May 30, 2011 6:47:32 PM +0300, George Kontostanos is alleged to have said: The bootcode should be installed to the drive that you are booting from. I see that you

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread George Kontostanos
*zpool import -c /tmp/zpool.cache zroot can not import /tmp/zpool.cache no such pool available * Well, it seems that -c switch is for specifying where to read from and not where to write. I haven't been able to import the pool and find a way to store zpool.cache in a diffrent place other than

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread Pan Tsu
George Kontostanos gkontos.m...@gmail.com writes: *zpool import -c /tmp/zpool.cache zroot can not import /tmp/zpool.cache no such pool available Try modifying pool's property: $ zpool import -o cachefile=/tmp/zpool.cache zroot Well, it seems that -c switch is for specifying where to read

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread George Kontostanos
Bingo! That did it. I will update the guide soon. @Daniel my apologies it seems that another typo is preventing you from booting. You have to set the bootfs in the pool. zpool set bootfs=zroot zroot On Tue, May 31, 2011 at 12:30 AM, Pan Tsu iny...@gmail.com wrote: George Kontostanos

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread Daniel Staal
--As of May 31, 2011 1:21:49 AM +0300, George Kontostanos is alleged to have said: Bingo! That did it. I will update the guide soon. @Daniel my apologies it seems that another typo is preventing you from booting. You have to set the bootfs in the pool. zpool set bootfs=zroot zroot --As for

Re: ZFS install from -CURRENT snapshot

2011-05-30 Thread George Kontostanos
oops typos, typos! That's one of the bad things that happens when you type without having the copy - paste functionality. On Tue, May 31, 2011 at 1:48 AM, Daniel Staal dst...@usa.net wrote: --As of May 31, 2011 1:21:49 AM +0300, George Kontostanos is alleged to have said: Bingo! That did

Re: ZFS install from -CURRENT snapshot

2011-05-29 Thread Andriy Gapon
on 29/05/2011 07:08 Scott Lambert said the following: If you want to end up with a mirrored ZFS only setup, have you seen ? http://blogs.freebsdish.org/pjd/2010/08/06/from-sysinstall-to-zfs-only-configuration/ That one was pretty straight-forward for me. You get to use sysinstall and

Re: ZFS install from -CURRENT snapshot

2011-05-29 Thread George Kontostanos
The new bsdinstall has a different layout so the previous guides don't work. I have prepared one that works for recent 9-Current at : http://www.aisecure.net/?p=132; Regards On Sun, May 29, 2011 at 9:55 AM, Andriy Gapon a...@freebsd.org wrote: on 29/05/2011 07:08 Scott Lambert said the

Re: ZFS install from -CURRENT snapshot

2011-05-29 Thread Daniel Staal
--As of May 29, 2011 12:06:30 PM +0300, George Kontostanos is alleged to have said: The new bsdinstall has a different layout so the previous guides don't work. I have prepared one that works for recent 9-Current at : http://www.aisecure.net/?p=132; --As for the rest, it is mine. Thanks,

Re: ZFS install from -CURRENT snapshot

2011-05-29 Thread George Kontostanos
Last time I checked it was practically the same. On Sun, May 29, 2011 at 4:10 PM, Daniel Staal dst...@usa.net wrote: --As of May 29, 2011 12:06:30 PM +0300, George Kontostanos is alleged to have said: The new bsdinstall has a different layout so the previous guides don't work. I have

ZFS install from -CURRENT snapshot

2011-05-28 Thread Daniel Staal
Ok, I think I've figured this out, but I want some confirmation before I start playing with actual hardware... The install steps on http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot no longer appear to apply. The /dist/ directory doesn't exist on any of the current snapshots, so the actual

Re: ZFS install from -CURRENT snapshot

2011-05-28 Thread Scott Lambert
On Sat, May 28, 2011 at 08:16:37PM -0400, Daniel Staal wrote: Ok, I think I've figured this out, but I want some confirmation before I start playing with actual hardware... The install steps on http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot no longer appear to apply. The /dist/ directory