On Fri, May 29, 2009 at 10:54 PM, 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 ?
Dennis,
the question is not silly and it was discussed a couple of times. GRUB
groks lzjb compression. it used to puke on gzip compression, but I
didn't recheck it for quite some time.
You cannot set these options during the installation, however, the
hack that I am using is to start the installation in one window, and
have the other window handy to enter "zfs set compression=on rpool"
right after I see that pool is created. The downside is that you can
only do this if you are installing manually (no jumpstart).
OTOH, you may care less about "install time" setting if you are going
to use Live Upgrade later. You may simply set all your customized
options after the installation, and during the LU the new bits will be
written accordingly. As for the original bits - you probably going to
ludelete them anyway at some point.
--
Regards,
Cyril
_______________________________________________
opensolaris-discuss mailing list
[email protected]