URGENT HELP REQUEST > hard disk full, delete files but no change

A

ataomega

Guest
hello,

i've a few windows kvm vps, the server's hard is going to 100%
i delete a lot of file from windows vps and tehn restart it
but the vps image file (raw) size not changed!
before deleting it was 31gb after deleting much files agains it is 31gb


how to reduce size of it? any solution please? thanks
 
hello,

i've a few windows kvm vps, the server's hard is going to 100%
i delete a lot of file from windows vps and tehn restart it
but the vps image file (raw) size not changed!
before deleting it was 31gb after deleting much files agains it is 31gb


how to reduce size of it? any solution please? thanks

Disk image won't shrink if You delete files inside vm that is using it. You would need to resize it which is not a simple task.
 
ok,
if i attach a new hard disk to main server,
in proxmox admin > storage
i just see 1 storage named local.
after attaching new hard to server, it will automaticly show the new hard disk there?


or i should do some configuration?

please explain how to add new hard drive
 
Disk image won't shrink if You delete files inside vm that is using it. You would need to resize it which is not a simple task.
i'm using raw disk format , how about using another formats? any difference?


tnx for replies
 
ok,
if i attach a new hard disk to main server,
in proxmox admin > storage
i just see 1 storage named local.
after attaching new hard to server, it will automaticly show the new hard disk there?


or i should do some configuration?

please explain how to add new hard drive

You need to setup it on Your own, You can extend lvm with it which would be the simplest way, use pvcreate, vgextend, lvresize and resize2fs
 
i'm using raw disk format , how about using another formats? any difference?


tnx for replies

No format will shrink when data are removed inside vm. Disk image is just a block device emulation, block device does not know anything about files, only filesystem knows that.
 
You need to setup it on Your own, You can extend lvm with it which would be the simplest way, use pvcreate, vgextend, lvresize and resize2fs

is it simple? i should setup lvm in both hard drives? or just new one? and how to add new created lvm to system storage list?
is it possible to move vm's images to new hard disk?

thanks
 

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!