LINUX.ORG.RU

Сообщения notadingo

 

KVM, virt-install. Крыша едет.

Форум — Admin

Хост debian testing amd64.

# vgs dell
  VG   #PV #LV #SN Attr   VSize  VFree 
  dell   1   3   0 wz--n- 30,00g 16,03g

# virsh pool-info dell
Name:           dell
UUID:           460a470c-ece5-48b6-8139-27516a5f3740
State:          running
Persistent:     yes
Autostart:      yes
Capacity:       30,00 GiB
Allocation:     13,97 GiB
Available:      16,02 GiB

# virt-install \
--hvm \
--vcpus 2 \
--arch=i686 \
--name wheezy32 \
--ram 512 \
--nographics \
--disk pool=dell,size=4,cache=writeback \
--os-type=linux \
--network bridge=br0,model=virtio \
--network bridge=virbr0,model=virtio \
--os-variant=debiansqueeze \
--location http://ftp.de.debian.org/debian/dists/wheezy/main/installer-i386/ \
-x "priority=low recommends=false console=ttyS0,115200n8"

# lvs dell | egrep 'LV|wh'
  LV           VG   Attr       LSize Pool Origin                 Data%  Move Log Cpy%Sync Convert
  wheezy32.img dell swi-aos--- 4,00m      [wheezy32.img_vorigin]   0,00                         

# lvdisplay /dev/dell/wheezy32.img 
  --- Logical volume ---
  LV Path                /dev/dell/wheezy32.img
  LV Name                wheezy32.img
  VG Name                dell
  LV UUID                CP73fk-U5Yu-b1fy-4QkZ-BrOA-Jc5R-CIH4Eg
  LV Write Access        read/write
  LV Creation host, time dell, 2014-06-30 18:53:23 +0300
  LV snapshot status     active destination for wheezy32.img_vorigin
  LV Status              available
  # open                 1
  LV Size                4,00 GiB
  Current LE             1024
  COW-table size         4,00 MiB
  COW-table LE           1
  Allocated to snapshot  0,00%
  Snapshot chunk size    4,00 KiB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:13

Какого хрена virt-install создает снапшот из непонятно чего вместо LV из пула?

notadingo
()

RSS подписка на новые темы