mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-03-11 16:58:28 +03:00
remove old README file
This commit is contained in:
parent
6a4d7398b3
commit
3319f21ce0
74
README
74
README
@ -1,74 +0,0 @@
|
|||||||
STORAGE Design:
|
|
||||||
===============
|
|
||||||
|
|
||||||
pool: ability to create more than one volume
|
|
||||||
|
|
||||||
- directory (NFS server, local dir)
|
|
||||||
|
|
||||||
- LVM group
|
|
||||||
|
|
||||||
- physical disk (partitions) ??
|
|
||||||
|
|
||||||
- ISCSI volume pools ??
|
|
||||||
|
|
||||||
- qemu base image ??
|
|
||||||
|
|
||||||
a pool can support several formats (raw, qcow2, vmdk, ...)
|
|
||||||
|
|
||||||
volume: can be used for VM storage
|
|
||||||
|
|
||||||
- block device
|
|
||||||
|
|
||||||
- file (raw, qcow2, ...)
|
|
||||||
|
|
||||||
- ISCSI LUN
|
|
||||||
|
|
||||||
A pool is either shared of local. The resulting volume
|
|
||||||
inherits that property.
|
|
||||||
|
|
||||||
|
|
||||||
lvs --separator , --noheadings --units b --unbuffered --nosuffix --options "lv_name,uuid,devices,seg_size,vg_extent_size"
|
|
||||||
|
|
||||||
pvs --noheadings -o pv_name,vg_name
|
|
||||||
|
|
||||||
vgs --separator : --noheadings --units b --unbuffered --nosuffix --options "vg_size,vg_free" VGNAME
|
|
||||||
|
|
||||||
|
|
||||||
What about ISO/template storage?
|
|
||||||
|
|
||||||
Storage Configuration:
|
|
||||||
======================
|
|
||||||
|
|
||||||
/etc/pve/storage.shared
|
|
||||||
/etc/pve/storage.local
|
|
||||||
|
|
||||||
oder
|
|
||||||
|
|
||||||
/etc/pve/storage.config
|
|
||||||
|
|
||||||
mit node attribute for jeden pool.
|
|
||||||
|
|
||||||
jedes volume kann einen owner haben (VMID)??
|
|
||||||
|
|
||||||
|
|
||||||
Aus einem pool werden volumes generiert. Jedes volume is einer VMID zugeordnet, entweder
|
|
||||||
üder den Pfad im filesystem:
|
|
||||||
|
|
||||||
$PATH/images/$VMID/xyz.qcow2
|
|
||||||
|
|
||||||
oder über lvm tags:
|
|
||||||
|
|
||||||
pve-vm-$vmid
|
|
||||||
|
|
||||||
Namen müssen pro storage 'unique' sein, daher werden folgende namen verwendet:
|
|
||||||
|
|
||||||
vm-$VMID-disk-XXX.$EXT
|
|
||||||
|
|
||||||
Nur mit einzigartigen namem kann man kurze storage-id generieren.
|
|
||||||
|
|
||||||
store1:vm-100-disk-5
|
|
||||||
|
|
||||||
Configuration format:
|
|
||||||
|
|
||||||
pool: <POOL_ID>
|
|
||||||
type <dir|vg>
|
|
Loading…
x
Reference in New Issue
Block a user