Bug 32342 - Überprüfung der verfügbaren Größe im Pool
Überprüfung der verfügbaren Größe im Pool
Status: RESOLVED WORKSFORME
Product: UCS manual
Classification: Unclassified
Component: Virtualisation / UVMM
unspecified
Other Linux
: P2 enhancement (vote)
: ---
Assigned To: Docu maintainers
UCS maintainers
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-26 12:23 CEST by Moritz Muehlenhoff
Modified: 2018-04-14 13:41 CEST (History)
5 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2013-08-26 12:23:31 CEST
For the UVMM chapter.

+++ This bug was initially created as a clone of Bug #19281 +++

Aus Bug #18611:

Folgendes ist mir bisher aufgefallen:

das Anlegen eines zu großen Festplattenimages funktioniert ohne Überprüfung (im
Test 5TB) und wurde angelegt.

Im Anschluss wird mir in der UMC die Größe als "unbekannt" angezeigt.

via virsh:
root@member-kvm:~# virsh vol-info /var/lib/libvirt/images/winxp-2-2.img
Name:           winxp-2-2.img
Type:           file
Capacity:       0,00
Allocation:     0,00

Nach kurzen Tests stellt sich heraus, dass dieses Phänomen ab 2TB auftritt,
1,9TB werden noch "richtig" angelegt.
Sollte es sich hierbei um eine eingebaute Limitierung auf seiten von Libwirt
handeln, wäre es evt. auch wünschenswert, dass dies direkt im UMC-Modul
abgefangen wird (wie generell ein Image, welches "zu groß" ist - d.h. es
übersteigt den physikalisch verfügbaren Bereich)

Das ist nicht ganz so einfach:

Theoretisch kein Problem, aber leider sind die Infos von libvirt zur Größe des Pools bzw. des verfügbaren Platzes gelogen:

root@xen1:~# virsh pool-info default
Name:           default
UUID:           f8dfb0b2-6c8a-508b-6913-7ed41c38ecb4
State:          running
Persistent:     yes
Autostart:      yes
Capacity:       141,35 GB
Allocation:     108,63 GB
Available:      32,72 GB

root@xen1:~# df . -h
Dateisystem          Größe Benut  Verf Ben% Eingehängt auf
/dev/mapper/vg_ucs-rootfs
                      142G  109G   26G  81% /
Comment 1 Moritz Muehlenhoff univentionstaff 2013-09-23 09:11:43 CEST
The display of free diskspace is a GUI detail which does not need to reflected in the existing manual. No screenshots need to be updated.