Re: [OpenIndiana-discuss] ZFS improvements.

2010-11-22 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 23/11/10 03:07, Carlos Varela wrote:
> Hi,
> 
> I would like to know if the following improvements are possible on a future
> openindiana build:

OpenIndiana is a distribution, not a kernel development group. For that
you have to bug Illumos team.

> 1 - Increase the maximum blocksize. Right now is set at 128k but it should
> be possible to increase (I would like to try 1MB as my files are usually
> big).

You don't want that. Read/modify/write overhead would be huge. 128KB is
big enough to provide good random access without wasting too much space
or having a big overhead.

> 2 - The compression stops if the compression is not bigger then 12.5% (?).
> Remove this limitation. If the file compresses, then it should be kept
> compressed.

That is something you can change now in the sourcecode. I think it is
only a single line change.

> 3- Add lzma compression to zfs (compression is slower but higher). Following
> weblink seems to discuss the possibility:

New compressions would be interesting. But I am very worried about ZFS
fragmentation. If Illumos ZFS can not interoperate with Oracle ZFS or
FreeBSD ZFS, we will alienate the FS and the comunity.

I would like to be able to boot from a dataset compressed in GZIP. That
would be a "simple" GRUB change.

Anyway, the right people to request this is Illumos, not OpenIndiana.

- -- 
Jesus Cea Avion _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
jabber / xmpp:j...@jabber.org _/_/_/_/  _/_/_/_/_/
.  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTOszCJlgi5GaxT1NAQJqSgQAgec4r37bSSH5ZGimAbOOzz7wkGTVCXWR
XNb4o+XqNm+/wDSzDGb4zien6k7xfeU2eUi1ZlPVVUS/9AJAms5Nor8ubxkF6Tv/
DlE5HCYZGNkOCFdTX8kcwCs1WOktnvb6jUvuwPqw5uT0aDDbh16F6YT8NR+mX9Yn
u37MNUkOt8s=
=YM65
-END PGP SIGNATURE-

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] ZFS improvements.

2010-11-22 Thread Carlos Varela
Hi,

I would like to know if the following improvements are possible on a future
openindiana build:

1 - Increase the maximum blocksize. Right now is set at 128k but it should
be possible to increase (I would like to try 1MB as my files are usually
big).

2 - The compression stops if the compression is not bigger then 12.5% (?).
Remove this limitation. If the file compresses, then it should be kept
compressed.

3- Add lzma compression to zfs (compression is slower but higher). Following
weblink seems to discuss the possibility:

http://blogs.sun.com/aalok/entry/serving_up_lzma

Open to discussions why the above are good or bad.

Carlos Varela
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] When adding a mirror disk to rpool

2010-11-22 Thread Harry Putnam
McBofh  writes:

> On 22/11/10 02:18 PM, Harry Putnam wrote:
>> I'm about to create a mirror to rpool that currently is a single
>> disk.  I remember it being somewhat more involved than any other pool
>> for adding a mirror.
>>
>> Involving the boot bits and running grub... maybe other stuff as well.
>>
>> I wondered if anyone has a URL where I might read about the procedure,
>> or failing that can anyone provide a general outline of steps that
>> need to be taken.
>
>
> It's pretty easy to find via google.

Thanks for the good info.

What is pretty easy to some has many times turned out to be somewhat
difficult for me.  Possibly a dimwit on this end but what were the
pretty easy search terms you goggled with?

Someone not all that familiar with the subject may not come up with
good search strings as quick and easy as someone with a better command
of the subject.

> Note that (newdev) must be a slice.

Are you talking of a slice just big enough for the boot sector here?

> You might get an error message from zpool about slice 2 (s2)
> overlapping newdev - assuming that you have setup your newdev
> slicing correctly, you can re-issue the zpool command thusly:

Thanks for the headsup and providing a ready solution... that really helps.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [oi-dev] [illumos-Developer] OpenIndiana and illumos, part 2

2010-11-22 Thread Gabriel de la Cruz
I tried their vodka with 0% alcohol.
(You can imagine the experience on your own, I cannot describe it with
words).
Actually know the guys, my favorite danes.

Cheers





On Mon, Nov 22, 2010 at 11:26 AM, Jose-Marcio Martins da Cruz <
jose.marcio...@gmail.com> wrote:

> Christopher Chan wrote:
>
>> On Sunday, November 21, 2010 10:19 PM, Gabriel de la Cruz wrote:
>>
>
>  If you were around the corner, I would invite you for a beer, what is in
>>> my terms certain form of honor.
>>>
>>
>> Thanks, I know that one and I would heartily accept if you were here but
>> with a glass of wine as I get beer rashes. (We are very different :p)
>>
>
> Me too, I prefer wine, but What about FOSB (Free Open Source Beer) ?
>
>  http://freebeer.org
>  http://www.superflex.net/projects/freebeer/
>
> There isn't yet FOSW. 8-(
>
> OK, it's getting really OT.
>
> A+
>
>
>
>
>
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [oi-dev] [illumos-Developer] OpenIndiana and illumos, part 2

2010-11-22 Thread Jose-Marcio Martins da Cruz

Christopher Chan wrote:

On Sunday, November 21, 2010 10:19 PM, Gabriel de la Cruz wrote:


If you were around the corner, I would invite you for a beer, what is 
in my terms certain form of honor.


Thanks, I know that one and I would heartily accept if you were here but 
with a glass of wine as I get beer rashes. (We are very different :p)


Me too, I prefer wine, but What about FOSB (Free Open Source Beer) ?

  http://freebeer.org
  http://www.superflex.net/projects/freebeer/

There isn't yet FOSW. 8-(

OK, it's getting really OT.

A+




___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] When adding a mirror disk to rpool

2010-11-22 Thread thorsten . heit
> On 22/11/10 02:18 PM, Harry Putnam wrote:
> > I'm about to create a mirror to rpool that currently is a single
> > disk.  I remember it being somewhat more involved than any other pool
> > for adding a mirror.
> >
> > Involving the boot bits and running grub... maybe other stuff as well.
> >
> > I wondered if anyone has a URL where I might read about the procedure,
> > or failing that can anyone provide a general outline of steps that
> > need to be taken.

http://wikis.sun.com/display/OpenSolarisInfo/How+to+Create+a+Mirrored+ZFS+Root+Pool


> # /usr/sbin/zpool attach rpool (currentdev) (newdev)
> # /usr/sbin/installgrub /boot/grub/stage1 \
>/boot/grub/stage2 /dev/rdsk/(newdev)
> 
> 
> Note that (newdev) must be a slice.
> 
> You might get an error message from zpool about slice 2 (s2)
> overlapping newdev - assuming that you have setup your newdev
> slicing correctly, you can re-issue the zpool command thusly:
> 
> # /usr/sbin/zpool attach -f rpool (currentdev) (newdev)

Additional note:
A mirrored root pool doesn't work with EFI labeled disks.


Regards

Thorsten

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss