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 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, that's about what I expected the install procedure to be at this
point.  Nice to have the reminder about the zpool.cache.   (Do I have to
use the Live CD mode?  Can I use shell mode instead?)


--As for the rest, it is mine.

Ok, I've tried shell mode and live CD mode.  I've re-partitioned my  
disks several different ways.


Nothing gets me a system that will actually boot.  Or even recognize  
that there is an OS loaded anywhere.  Help?


I did it like this:
http://www.leidinger.net/blog/2011/05/03/another-root-on-zfs-howto-optimized-for-4k-sector-drives/


(My preferred partitioning:

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.


You show the boot partition on ada1, but you do not tell if ada0 has a  
boot partition too or not. Did you try to have the boot partition on  
the same disk as the pool?


I hope ada1 is a SSD. If not, it does not make much sense to have a  
cache there (a cache needs to have lower latency than the main pool, I  
do not expect that just another spindle gives a significant perf  
improvement).


Bye,
Alexander.

--
Please don't put a strain on our friendship
by asking me to do something for you.

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 that works for recent 9-Current at :

http://www.aisecure.net/?p=132;


--As for the rest, it is mine.

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 I have to
use the Live CD mode?  Can I use shell mode instead?)


--As for the rest, it is mine.

Ok, I've tried shell mode and live CD mode.  I've re-partitioned my disks 
several different ways.


Nothing gets me a system that will actually boot.  Or even recognize that 
there is an OS loaded anywhere.  Help?


(My preferred partitioning:

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.

This takes advantage of the mSATA SSD in ada1.)

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 Staal dst...@usa.net wrote:

 --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 that works for recent 9-Current at :

 http://www.aisecure.net/?p=132;


 --As for the rest, it is mine.

 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 I have to
 use the Live CD mode?  Can I use shell mode instead?)


 --As for the rest, it is mine.

 Ok, I've tried shell mode and live CD mode.  I've re-partitioned my disks
 several different ways.

 Nothing gets me a system that will actually boot.  Or even recognize that
 there is an OS loaded anywhere.  Help?

 (My preferred partitioning:

 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.

 This takes advantage of the mSATA SSD in ada1.)


 Daniel T. Staal

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 ${DESTDIR:-/}); done

Did you copy zpool.cache ?


--As for the rest, it is mine.

Did both of those.  A half-dozen times.  ;)

The machine fails to find a bootable drive.  It searches, tries PXE booting 
a couple of times, then dumps me into the BIOS's boot drive chooser.  I can 
try selecting either of the internal drives at that point if I wish, and it 
will just loop back to there.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 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 ?


 --As for the rest, it is mine.

 Did both of those.  A half-dozen times.  ;)

 The machine fails to find a bootable drive.  It searches, tries PXE booting
 a couple of times, then dumps me into the BIOS's boot drive chooser.  I can
 try selecting either of the internal drives at that point if I wish, and it
 will just loop back to there.


 Daniel T. Staal

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 written threw errors.  I used:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1

(Normally I was installing the boot code to the mSATA drive, as it was the 
one I was partitioning.)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 any OS files therefore you will need to boot
from ada0

gpart create -s gpt ada0
gpart add -b 34 -s 64k -t freebsd-boot ada0
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0



On Mon, May 30, 2011 at 6:33 PM, Daniel Staal dst...@usa.net wrote:

 --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 written threw errors.  I used:

 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1

 (Normally I was installing the boot code to the mSATA drive, as it was the
 one I was partitioning.)


 Daniel T. Staal

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 I 
have to use the Live CD mode?  Can I use shell mode instead?)


Actually, you don't need to go via the trouble to make /boot writable. 
You can obtain zpool.cache by using


zpool import -c /tmp/zpool.cache zroot

Then copy that file to the mounted root filesystem of the zpool.

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


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, that's about what I expected the install procedure to be at this
 point.  Nice to have the reminder about the zpool.cache.   (Do I have to use
 the Live CD mode?  Can I use shell mode instead?)

  Actually, you don't need to go via the trouble to make /boot writable.
 You can obtain zpool.cache by using

 zpool import -c /tmp/zpool.cache zroot

 Then copy that file to the mounted root filesystem of the zpool.

 Daniel

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




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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: Managed by ZFS, ~250G  Main filesystem.


I don't think that ada1 holds any OS files therefore you will need to boot
from ada0

gpart create -s gpt ada0
gpart add -b 34 -s 64k -t freebsd-boot ada0
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0


--As for the rest, it is mine.

I said that was my preferred partitioning.  I had tried others.  ;)  I just 
double-checked putting the bootcode on ada0.  It doesn't help.


(Note that if it did that'd be an interesting regression from 8.2.  My home 
server is running with *only* the bootcode on one drive, and the OS loaded 
from a ZFS RAIDZ array.)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 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 any OS files therefore you will need to boot
 from ada0

 gpart create -s gpt ada0
 gpart add -b 34 -s 64k -t freebsd-boot ada0
 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0


 --As for the rest, it is mine.

 I said that was my preferred partitioning.  I had tried others.  ;)  I just
 double-checked putting the bootcode on ada0.  It doesn't help.

 (Note that if it did that'd be an interesting regression from 8.2.  My home
 server is running with *only* the bootcode on one drive, and the OS loaded
 from a ZFS RAIDZ array.)


 Daniel T. Staal

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 /boot/zfs

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, that's about what I expected the install procedure to be at this
 point.  Nice to have the reminder about the zpool.cache.   (Do I have to use
 the Live CD mode?  Can I use shell mode instead?)

  Actually, you don't need to go via the trouble to make /boot writable.
 You can obtain zpool.cache by using

 zpool import -c /tmp/zpool.cache zroot

 Then copy that file to the mounted root filesystem of the zpool.

 Daniel

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




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 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 /boot/zfs
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 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 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 /boot/zfs




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 the rest, it is mine.

I'd actually caught that one...  (Yesterday afternoon.)

I was hoping this was something people had seen before.  At this point, 
I've been trying to get a FreeBSD+ZFS install on this box for about a month 
- including spending much of my first vacation in two years on it - and I 
know that even if I do manage to do so I'll still have a problem with the 
screen resolution.  (Sandy Bridge integrated graphics.  It works in VERSA 
mode, but doesn't detect the native mode.)


I've decided to call it quits for now.  A current Linux runs fine.  The 
power management isn't as good as FreeBSD, I'm loosing the ZFS coolness, 
and the other advantages of a FreeBSD box over Linux, but it means I've got 
a working laptop for the moment.  I'll revisit putting FreeBSD on it 
sometime in the future, once the hardware isn't quite so current-edge.  For 
now, I've invested too much time into just getting this running.


George, a couple other notes on your walkthrough:  (I'd decided to wait 
until I was done to go over all of these.)

cd /tmp  copy -R * /boot# Needs to be cp.
zpool create -O mountpoint=/mnt zroot /dev/gpt/disk0 # Will avoid the 
export/import later.


And in theory it doesn't make *much* difference, but setting the checksum 
before creating usr, var, and tmp is slightly better practice.  (The 
directory entries are checksummed as well, which would be the only 
difference.  If any files were created in between they'd get the fletcher2 
checksum.)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 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 the rest, it is mine.

 I'd actually caught that one...  (Yesterday afternoon.)

 I was hoping this was something people had seen before.  At this point,
 I've been trying to get a FreeBSD+ZFS install on this box for about a month
 - including spending much of my first vacation in two years on it - and I
 know that even if I do manage to do so I'll still have a problem with the
 screen resolution.  (Sandy Bridge integrated graphics.  It works in VERSA
 mode, but doesn't detect the native mode.)

 I've decided to call it quits for now.  A current Linux runs fine.  The
 power management isn't as good as FreeBSD, I'm loosing the ZFS coolness, and
 the other advantages of a FreeBSD box over Linux, but it means I've got a
 working laptop for the moment.  I'll revisit putting FreeBSD on it sometime
 in the future, once the hardware isn't quite so current-edge.  For now, I've
 invested too much time into just getting this running.

 George, a couple other notes on your walkthrough:  (I'd decided to wait
 until I was done to go over all of these.)
 cd /tmp  copy -R * /boot# Needs to be cp.
 zpool create -O mountpoint=/mnt zroot /dev/gpt/disk0 # Will avoid the
 export/import later.

 And in theory it doesn't make *much* difference, but setting the checksum
 before creating usr, var, and tmp is slightly better practice.  (The
 directory entries are checksummed as well, which would be the only
 difference.  If any files were created in between they'd get the fletcher2
 checksum.)


 Daniel T. Staal

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 don't have to manually install the OS.

There is no sysinstall :-) [in the latest CURRENT]

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


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 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 don't have to manually install the OS.

 There is no sysinstall :-) [in the latest CURRENT]

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




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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, that's about what I expected the install procedure to be at this 
point.  Nice to have the reminder about the zpool.cache.   (Do I have to 
use the Live CD mode?  Can I use shell mode instead?)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 prepared one that works for recent 9-Current at :

 http://www.aisecure.net/?p=132;


 --As for the rest, it is mine.

 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 I have to use
 the Live CD mode?  Can I use shell mode instead?)


 Daniel T. Staal

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---




-- 
George Kontostanos
aisecure.net http://www.aisecure.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 install process given in that page can't 
work.


Am I correct in guessing that the /usr/freebsd_dist/ directory has replaced 
it in some form?  Also, instead of sub-folders with install scripts, there 
are tarballs, which I assume are extracted over the new filesystem?  Then 
any necessary pre-boot configuration would be done.  (Anything special need 
mention beyond what is on the page above?)


If there's a doc someplace on this, feel free to point me to it.

I just want a sanity-check before I dive in headfirst...

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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 doesn't exist on any of the 
 current snapshots, so the actual install process given in that page can't 
 work.

snip
 
 If there's a doc someplace on this, feel free to point me to it.
 
 I just want a sanity-check before I dive in headfirst...

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 don't have to manually install the OS.

-- 
Scott LambertKC5MLE   Unix SysAdmin
lamb...@lambertfam.org

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