VM hungs on random crng init done after reducing disk

nik-weter

Active Member
Sep 24, 2012
24
1
43
I have vm with large disk (320Gb) and want to reduce it.
I booted VM from live cd and used gparted to reduce file system into vm. Now VM has 20Gb root fs and 300Gb unallocated.
Vm works.
Now I want to reduce logical volume in proxmox. I make
lvresize -L 300G /dev/iscsivg/vm-101-disk-1
And set virtio0: iscsivg:vm-101-disk-1,size=300G into VM config
VM stuck on random crng init done. It doesnt start.

I thoght grub and efi partitions were in the end of disk.
But fdisk show this:
fdisk /dev/vda: 320 GiB, 343597383680 bytes, 671088640 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: C8E06B5D-CF85-4C97-AC1E-77A780290A61 Device Start End Sectors Size Type /dev/vda1 227328 41785343 41558016 19,8G Linux filesystem /dev/vda14 2048 10239 8192 4M BIOS boot /dev/vda15 10240 227327 217088 106M EFI System

How can i reduce vm disk?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!