Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : how to reduce the size on a vps with virtualizor



Threaded Mode | Print  

 how to reduce the size on a vps with virtualizor (5 Replies, Read 14648 times)
visio
Group: NOC
Post Group: Newbie
Posts: 4
Status:
Hi

I have a virtualizor on a server, on one vps the customer wants to reduce the size of the vps, is it possible? is it dangeous?

Thanks
IP: --   

how to reduce the size on a vps with virtualizor
wolke
Group: NOC
Post Group: Elite Member
Posts: 437
Status:
Which Virtualization?
Which Storage Type?

IP: --   

how to reduce the size on a vps with virtualizor
visio
Group: NOC
Post Group: Newbie
Posts: 4
Status:
it is KVM and the hard disks are SATA
IP: --   

how to reduce the size on a vps with virtualizor
visio
Group: NOC
Post Group: Newbie
Posts: 4
Status:
actually
Virtualization : KVM
Storage Type : LVM

If I open a ticket  could you login and check?


Thanks
IP: --   

how to reduce the size on a vps with virtualizor
wolke
Group: NOC
Post Group: Elite Member
Posts: 437
Status:
I can´t access your ticket as I´am not with virtualizor staff.

But you can have a look here:

https://www.rootusers.com/lvm-resize-how-to-decrease-an-lvm-partition/

(you should try this in non-production system first and always take a full backup...)
IP: --   

how to reduce the size on a vps with virtualizor
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 742
Status:
Hi,

Stop the vps first.
You will need to create a mapper first using kpartx command on server for vps disk and then run e2fsck and reszie2fs with the size you want.
Then resize your LV and then change size in disks table for that vps in phpmyadmin on panel.
Once its done, try to increase vps disk size by 1Gb from panel and then start vps and check.

Increasing size from panel by 1Gb for vps will help in updating partition table with vps.

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 18, 2024, 8:02 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.035