Answer the question
In order to leave comments, you need to log in
How to increase the disk size of a virtual machine on proxmox?
There is proxmox 4.1
There is an ubuntu 14.04 virtual machine on one sata0 55G virtual disk
df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 396M 5.7M 390M 2% /run
/dev/mapper/proxy--v12--vg-root 55G 2.5G 50G 5% /
tmpfs 2.0G 12K 2.0G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda1 472M 193M 255M 44% /boot
tmpfs 100K 0 100K 0% /run/lxcfs/controllers
tmpfs 396M 0 396M 0% /run/user/1000
#resize2fs /dev/sda1
resize2fs 1.42.13 (17-May-2015)
The filesystem is already 498688 (1k) blocks long. Nothing to do!
# resize2fs /dev/sda
resize2fs 1.42.13 (17-May-2015)
resize2fs: Device or resource busy while trying to open /dev/sda
Couldn't find valid filesystem superblock.
Answer the question
In order to leave comments, you need to log in
I don’t even know where to start here ...
I’ll probably start with the advice to use debugging and see what gets into which variables.
Separately, on the errors, everything has already been said here in the comments.
No, it should not work, there the token is added to the URL via window.location.hash (without reloading the page), so the DocumentCompleted event is not called, end this rigmarole from nothing, do it through Timer, and you will be happy.
First you need to resize the partition, and only then do resize2fs.
You can use fdisk or parted to resize a partition.
look in the partition what you have with the layout of the disk and partition
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question