Re: [ovirt-users] virtual disk terminology in oVirt/RHEV improvements needed?

2015-02-10 Thread Sven Kieske
Hi,

i just want to +1 this.

I often have to lookup this information myself and it is not that
clear at all which storage does use which file format and so on.

Great writeup!

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virtual disk terminology in oVirt/RHEV improvements needed?

2015-02-10 Thread Christopher Young
Definitely a +1.  I've had/felt these frustrations from my management when
trying to convince them on oVirt, so any more technically detailed,
flow-charted, better explained verbiage would be most welcome.

2015-02-10 10:56 GMT-05:00 Sven Kieske s.kie...@mittwald.de:

 Hi,

 i just want to +1 this.

 I often have to lookup this information myself and it is not that
 clear at all which storage does use which file format and so on.

 Great writeup!

 --
 Mit freundlichen Grüßen / Regards

 Sven Kieske

 Systemadministrator
 Mittwald CM Service GmbH  Co. KG
 Königsberger Straße 6
 32339 Espelkamp
 T: +49-5772-293-100
 F: +49-5772-293-333
 https://www.mittwald.de
 Geschäftsführer: Robert Meyer
 St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
 Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] virtual disk terminology in oVirt/RHEV improvements needed?

2015-02-10 Thread Gianluca Cecchi
Hello,
in my opinion the terms

raw, qcow2, thin provisioned, sparse, preallocated

are used in sub optimal way in oVirt and RHEV documentation and create
confusion for the new incoming user (but not only to him/her)

My referrals for them are:

oVirt Admin Guide at:
http://www.ovirt.org/OVirt_Administration_Guide

and the draft RHEV 3.5:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5-Beta/html/Administration_Guide/chap-Virtual_Machine_Disks.html

Sometimes I have to come back to docs to clear my doubts and I'm never
fully satisfied.

I report below only some excerpts to explain my findings

oVirt
1) Virtual disks can have one of two formats, either Qcow2 or RAW. The type
of storage can be either Sparse or Preallocated. Snapshots are always
sparse but can be taken for disks created either as RAW or sparse.

-- From above one concludes that format is one thing and type is
another thing and that all the mix format/type are in general possible
(depending on storage layout... see below): Qcow2/Sparse, RAW/Prellocated,
Qcow2/Preallocated, RAW/Sparse


But then, both in Ovirt and RHEV page
2) A virtual disk with a preallocated (RAW) format has significantly faster
write speeds than a virtual disk with a thin provisioning (Qcow2) format.
Thin provisioning takes significantly less time to create a virtual disk.
The thin provision format is suitable for non-IO intensive virtual machines.

-- now one concludes instead that format==type and that so
preallocated==RAW
thin provisioning==Qcow2

and also indirectly that thin provisioning == sparse because in point 1)
the term sparse was the one used..
Indeed later, in section 12.2 of RHEV and in section Understanding Virtual
Disks of oVirt guide there is the classification of the 2 types again,
Preallocated and Thin Provisioned and the latter contains:
For sparse virtual disks backing storage is not reserved and is allocated
as needed during runtime. This allows for storage overcommitment ...
And this confirms that sparse==thin provisioned

In the same part for both docs

3) Table 11.1. Permitted Storage Combinations for oVirt and
Table 12.1. Permitted Storage Combinations for RHEV

Again there are almost-all the combinations described:
For file based storage (NFS) only Qcow2/Preallocated is not contemplated
For iSCSI/SAN only RAW/Sparse is not contemplated

4) Gluster
last but not least, It is not clear in my opinion where should be put
Gluster (file based or SAN based)... I think that depending on
POSIXFS_DOMAIN (pre 3.5, correct?) or GLUSTERFS_DOMAIN usage it could match
both of them
As far as format, it seems both qcow2 and raw are possible

This message is just to share my uncertainty when I have to deal with disks
in oVirt and explain/compare with VMware, to make it possible to simplify
life to new users.
Coming from VMware world they know about:

- thin provision
- thick provision (lazy zeroed)
- thick provision (eager zeroed)

see also:
https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.storage.doc_50%2FGUID-4C0F4D73-82F2-4B81-8AA7-1DD752A8A5AC.html

In my opinion it could be useful to have a preface with a short description
of all the terminology that will be used

HIH improving docs,

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users