Re: [CentOS] Resize a VM: any risk involved ?

2021-04-11 Thread Antonio da Silva Martins Junior
Em sáb., 10 de abr. de 2021 às 05:25, Simon Matter escreveu: > > Hi, > > > > Wow... I didn't know about "growpart" :) > > > > I do, however, on XenServer (now XCP-NG) almost the same thing for > > ages: > > > > - shutdown the VM > > I thought we're talking about doing it online,

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-10 Thread Simon Matter
> Hi, > > Wow... I didn't know about "growpart" :) > > I do, however, on XenServer (now XCP-NG) almost the same thing for > ages: > > - shutdown the VM I thought we're talking about doing it online, which is quite a different thing because rereading partition layouts isn't always

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-09 Thread Peter Larsen
On 4/8/21 11:43 AM, Nicolas Kovacs wrote: # yum install cloud-utils-growpart # lsblk # growpart -v /dev/sda 3 # resize2fs /dev/sda3 Now here's my question (finally): is there any risk involved in this sort of operation? Or can it be performed on a production system without having to worry about

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-09 Thread Antonio da Silva Martins Junior
Hi, Wow... I didn't know about "growpart" :) I do, however, on XenServer (now XCP-NG) almost the same thing for ages: - shutdown the VM - increase disk size on XCenter - boot VM on maintenance mode (with DVD boot) - do fdisk /dev/xvda, remove the desired partition

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-08 Thread R C
You could make a copy of the VM, and  see if you can resize things  with the copy and see if it breaks? On 4/8/21 9:43 AM, Nicolas Kovacs wrote: Hi, I'm currently fiddling with KVM, Proxmox and various VMs. I setup a very basic VM with a manual (fdisk) partitioning scheme: one /boot

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-08 Thread Fred
I'm using VirtualBox for a few VMs, the biggest one is a Ubuntu 20.04 that ocassionally grows too small, so I use virtualbox tools to enlarge the disk then boot up something that h as gparted in it and use gparted to stretch/move partitions. Not being familiar with (i.e., not having used) KVM I

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-08 Thread Valeri Galtsev
On 4/8/2021 4:49 PM, Nicolas Kovacs wrote: Le 08/04/2021 à 18:35, Simon Matter a écrit : BTW, are you not using XFS these days? I remember the first Linux HOWTO I used to start with xfs was entitled: \ XFS: Linux on steroids ;-) Valeri Been using ext4 for ages. Force of habit, I guess.

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-08 Thread Nicolas Kovacs
Le 08/04/2021 à 18:35, Simon Matter a écrit : > BTW, are you not using XFS these days? Been using ext4 for ages. Force of habit, I guess. I have yet to find a reason to move to something different. Niki -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-08 Thread Simon Matter
> Hi, > > I'm currently fiddling with KVM, Proxmox and various VMs. > > I setup a very basic VM with a manual (fdisk) partitioning scheme: one > /boot > partition, one swap partition, and one root partition, the latter being > the > last partition and thus expandable). > > I'm starting with a

Re: [CentOS] Resize a VM: any risk involved ?

2021-04-08 Thread Leon Fauster via CentOS
On 08.04.21 17:43, Nicolas Kovacs wrote: Hi, I'm currently fiddling with KVM, Proxmox and various VMs. I setup a very basic VM with a manual (fdisk) partitioning scheme: one /boot partition, one swap partition, and one root partition, the latter being the last partition and thus expandable).

[CentOS] Resize a VM: any risk involved ?

2021-04-08 Thread Nicolas Kovacs
Hi, I'm currently fiddling with KVM, Proxmox and various VMs. I setup a very basic VM with a manual (fdisk) partitioning scheme: one /boot partition, one swap partition, and one root partition, the latter being the last partition and thus expandable). I'm starting with a reduced disk size (6 GB