Thiago Sobral schrieb:
> Hi Thomas,
> 
> Thomas Maier-Komor escreveu:
>> Thiago Sobral schrieb:
>>>
>>> I need to manage volumes like LVM does on Linux or AIX, and I think
>>> that ZFS can solve this issue.
>>>
>>> I read the SVM specification and certainly it doesn't will be the
>>> solution that I'll adopt. I don't have Veritas here.
>>>
>>
>> Why do you think it doesn't fit your needs? What would you do on Linux
>> or AIX that you think SVM cannot do?
> On Linux and AIX it's possible to create volume groups and create
> logical volumes inside it, so I can expand or reduce the logical volume.
> How can I do the same with SVM ?
> If I create a slice (c0t0d0s0) with 100GB, can I create two metadevices
> inside (d0 and d1) and grow them ? I think that I should use
> softpartitions. Shouldn't I !?

AFAIK, you can create soft partitions and grow them, but shrinking is
not possible. Use "metattach d0 10g" to enlarge a logical volume. After
that use growfs to grow the filesystem within the enlarged volume. This
is documented here:
http://docs.sun.com/app/docs/doc/816-4520/tasks-softpart-1?a=view

>>
>> $ zfs create black/lv00
>> would give you a filesystem named lv00.
> Ok, but this filesystem get the whole size of the pool and I want to
> limit this (i.e) 10GB.. if later I need, I grow this..

No. The newly created filesystem will only consume as much as currently
needed. I.e. it grows and shrinks automagically within the pool.
Additionally, you can reserve space for the filesystem or an upper
boundary of how much it may consume using somethink like "zfs set
reservation=16G black/lv00" and "zfs set quota=20G black/lv00". IMO this
is more flexible than anything you will get with any logical volume manager.

>>
>>
>> I think you should investigate the docs a little bit more closely or
>> be a little bit more precise when posting your question. What are you
>> actually trying to accomplish?
> I reading Sun Docs, but I didn't found satisfactory answers.
> Do you have a great document or URL ?

Where did you look? Yes, docs.sun.com is pretty exhaustive. But there
are always "tasks" sections (see above referenced doc example), where
you can look for certain standard tasks that provide a step by step
guide how to realize things. I think this is pretty good.

HTH,
Thomas
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to