I’m not talking about extending the initial disk.

 

When I build a self-hosted-engine, I also use a 100GiB storage domain, but when the install process requests the image, I use the provided image, and when it ask for the disk size, I state it as 75GiB.  (The SHE install has an issue when exceeding 80%)

 

The install procedure creates a 28GiB disk image, and the remaining space between 28GiB and 75GiB is unallocated.  It is this space I am creating another physical volume on, and using this physical volume to expand the volume group, and logical volume, to expand the root filesystem.

 

I personally have an issue with expanding root filesystems across multiple disks.    I haven’t done it, and won’t make a recommendation until I do.

 

From: Nathanaël Blanchet <blanchet@abes.fr>
Sent: Friday, December 30, 2022 9:09 AM
To: Jorge Visentini <jorgevisentini@gmail.com>
Cc: Stier, Matthew <Matthew.Stier@fujitsu.com>; ziyi Liu <lzy19930211@gmail.com>; users@ovirt.org
Subject: Re: [ovirt-users] Re: Expand the disk space of the hosting engine

 

Why not simply adding a new ovirt disk/direct lun and adding it to the existing LVM group instead of  extending the initial disk? This is a very common way to achieve your goal.

 

Le 30 déc. 2022 14:53, Jorge Visentini <jorgevisentini@gmail.com> a écrit :

Hi guys.

 

So... the problem is that we can't extend the virtual disk on oVirt... "Cannot edit Virtual Disk. The operation is not supported for HOSTED_ENGINE disks."

In my case I also created a 100GB Domain Storage, but the disk is only 58GB and I can't increase it...

 

 

 

Em qui., 29 de dez. de 2022 às 18:53, Matthew.Stier@fujitsu.com <Matthew.Stier@fujitsu.com> escreveu:

If you used the default image for your self-hosted-engine, it will create the disk of the size you specified, (50GB) but only allocate the space it actually requires.

This means the remaining space on the allocated disk, is there, unused.   

Since it setup with LVM, you can use 'fdisk' to create a partition of that unused space.

Use pvcreate to add that partition to LVM,

Use vgextend to extend the appropriate volume group

Use lvextend to extend the appropriate logical volume, and file-system.



-----Original Message-----
From: ziyi Liu <lzy19930211@gmail.com>
Sent: Thursday, December 29, 2022 10:13 AM
To: users@ovirt.org
Subject: [ovirt-users] Expand the disk space of the hosting engine

Now my hosting engine /var directory is full, and the 15G free space is fully occupied. When creating the hosting engine, I use 100G, but actually only use 50G. What can I do to make /var bigger?
disk expansion
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/V7UKBE5SJPH3GOZXEWEK4FL3B2PQVHWZ/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XKZDIQR77TFROLMXYUF7JQBKJH3YTRIQ/


 

--

Att,

Jorge Visentini
+55 55 98432-9868