Hi Dennis,

* Dennis Clarke ([email protected]) wrote:
> 
> OKay, I had to think about this before posting. This question may be silly
> or not and I am willing to take the risk of looking foolish. It never
> stopped me before :-)
> 
> Given : a machine with dual ( at least ) internal disks, identical in
> model and firmware, which may or may not be on the same controller.
> 
> Is there a way to setup the install process such that my default ZFS
> mirrored rpool and filesystems therein also have compression AND possibly
> copies=2?
> 
> I know that GRUB probably will not grok compressed ZFS. That means this
> could be a silly question. Therefore the bootable bits needed to get to
> the basic kernel with a few needed modules will be on uncompressed ZFS but
> the rest of the system, all of it, can be on compressed ZFS. At least in
> theory.
> 
> Can the installer script-foo be modified such that the initial zfs create
> has -o compression=on and -o copies=N for some N>1 ?

No, you can't do that.  There is discussion underway for tweaking these
kinds of settings in the installer.

http://defect.opensolaris.org/bz/show_bug.cgi?id=86

That said, you can follow this blog post of mine which should still be
applicable for 2009.06 (though I haven't actually tested it yet).

http://blogs.sun.com/glagasse/entry/howto_enable_zfs_compression_when

Grub will boot from a compressed root pool just fine.  So long as it's
gzip compressed (which is the default when you turn compression on).

Cheers,

-- 
Glenn
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to