EVE na Proxmoxie

Posted on Wed 17 February 2021 in Wirtualizacja • 1 min read

Środowisko EVE, bo emulowane laboratorium do testowania konfiguracji sieci należy nazwać środowiskiem, to podobno niezłe narzędzie. Nie wiem, jeszcze nie dotykałem, używałem GNS3 i odrobinę ciscowego PacketTracera. Pora spróbować wersji darmowej...

Instalacja EVE na Proxmoxie z pobranej konfiguracji VMWare nie udała mi się. Po skonwertowaniu maszyny:

qm importovf 111 ./EVE-COMM-VM …

Continue reading

Proxmox: Mount USB disk to VZ or LXC container

Posted on Fri 06 April 2018 in Wirtualizacja • 1 min read

First check what is the number of VZ container you want to mount disk to:

vzlist
CTID NPROC STATUS IP_ADDR HOSTNAME
113 52 running 192.168.15.234 wordpress.pws
117 49 running   debian7.pws
119 48 running   debian9.pws

Look at CTID number.

Then mount disk under folder on …


Continue reading

Proxmox: Transfer machines images from 3.x to 4.x lvm-thin storage

Posted on Fri 06 April 2018 in Wirtualizacja • 1 min read

I want to migrate all my machines from old 3.x Proxmox box to new 4.4.

There's lvm-thin storage on new machine that I cannot directly access from the old one.

So after many attemps I found a way:

  1. create new storage inside ‚data’ logical volume:
lvcreate -n …

Continue reading

Proxmox: resize disk in LXC container

Posted on Fri 06 April 2018 in Wirtualizacja • 1 min read

  1. Shutdown container.
  2. Resize disk with GUI: select machine, click Resources, select Disk and click Resize Disk or
  3. Resize disk with console: pct resize <vmid> <disk> <size> [OPTIONS]
  4. On Proxmox machine in console: e2fsck -fy /dev/pve/vm-<vmid>-disk-x resize2fs /dev/pve/vm-<vmid>-disk-x
  5. Sometimes you will need to …

Continue reading

Mount & list content of raw disk image (KVM)

Posted on Thu 05 April 2018 in Administracja • 1 min read

Sometimes I need to list content of raw disk image I made from original computer and converted to KVM.

This is very simple in Debian or Ubuntu. I made script to do it but it works only with one image and 1st partition because that’s what I need. Feel …


Continue reading