hello,
I have some backup CT, but there is large size (10GB reserve) get. RAM and CPU I can change, but disk size is problem.
Real size of VM is 2GB, how can I RootDisk change to 4GB?
When i try:
root@new_proxmox:~# pct resize 100 rootfs 4G
unable to shrink disk size
I can change this configuration, but VM don't see it correct:
root@new_proxmox:~# cat /etc/pve/lxc/100.conf
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: new_proxmox
memory: 256
net0: bridge=vmbr0,hwaddr=32:31:38:30:66:39,name=eth0,type=veth
onboot: 1
ostype: debian
rootfs: local:100/vm-100-disk-2.raw,size=10G
swap: 256
But when I edit this rootfs line (to 4G) - that don't resolve problem. I see this value in panel, but when I try add for example more +2G then he back to 12G.
And CT (debian) see:
root@new_proxmox:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 7.8G 811M 6.6G 11% /
none 100K 0 100K 0% /dev
cgroup 12K 0 12K 0% /sys/fs/cgroup
tmpfs 16G 0 16G 0% /sys/fs/cgroup/cgmanager
tmpfs 3.2G 40K 3.2G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 205M 0 205M 0% /run/shm
How can I cut this space for example to 4G?
I have some backup CT, but there is large size (10GB reserve) get. RAM and CPU I can change, but disk size is problem.
Real size of VM is 2GB, how can I RootDisk change to 4GB?
When i try:
root@new_proxmox:~# pct resize 100 rootfs 4G
unable to shrink disk size
I can change this configuration, but VM don't see it correct:
root@new_proxmox:~# cat /etc/pve/lxc/100.conf
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: new_proxmox
memory: 256
net0: bridge=vmbr0,hwaddr=32:31:38:30:66:39,name=eth0,type=veth
onboot: 1
ostype: debian
rootfs: local:100/vm-100-disk-2.raw,size=10G
swap: 256
But when I edit this rootfs line (to 4G) - that don't resolve problem. I see this value in panel, but when I try add for example more +2G then he back to 12G.
And CT (debian) see:
root@new_proxmox:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 7.8G 811M 6.6G 11% /
none 100K 0 100K 0% /dev
cgroup 12K 0 12K 0% /sys/fs/cgroup
tmpfs 16G 0 16G 0% /sys/fs/cgroup/cgmanager
tmpfs 3.2G 40K 3.2G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 205M 0 205M 0% /run/shm
How can I cut this space for example to 4G?
Last edited: