Re: Expand the disk space of the hosting engine

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/V7UKBE5SJPH3GO... _______________________________________________ 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/XKZDIQR77TFROL...
-- Att, Jorge Visentini +55 55 98432-9868

You are limited to both the size of the storage domain you created for the hosted-engine, and the disk you specified during installation. The only option is unused free space between the installation image and the disk you created. Outside of that, your next option would to do a dump and then restore onto a larger storage domain, with a larger disk specified. Not a fun thing, since I’ve recently had to move ten datacenters to new storage, using this method. From: Jorge Visentini <jorgevisentini@gmail.com> Sent: Friday, December 30, 2022 7:53 AM To: Stier, Matthew <Matthew.Stier@fujitsu.com> Cc: ziyi Liu <lzy19930211@gmail.com>; users@ovirt.org Subject: Re: [ovirt-users] Re: Expand the disk space of the hosting engine 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<mailto:Matthew.Stier@fujitsu.com> <Matthew.Stier@fujitsu.com<mailto: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<mailto:lzy19930211@gmail.com>> Sent: Thursday, December 29, 2022 10:13 AM To: users@ovirt.org<mailto: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<mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org<mailto: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/V7UKBE5SJPH3GO... _______________________________________________ Users mailing list -- users@ovirt.org<mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org<mailto: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/XKZDIQR77TFROL... -- Att, Jorge Visentini +55 55 98432-9868

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<mailto:Matthew.Stier@fujitsu.com> <Matthew.Stier@fujitsu.com<mailto: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<mailto:lzy19930211@gmail.com>> Sent: Thursday, December 29, 2022 10:13 AM To: users@ovirt.org<mailto: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<mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org<mailto: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/V7UKBE5SJPH3GO... _______________________________________________ Users mailing list -- users@ovirt.org<mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org<mailto: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/XKZDIQR77TFROL... -- Att, Jorge Visentini +55 55 98432-9868

Yes, I understand, and I've done it with generic tasks, but I don't know if it would work for the engine. Has this already been tested on the engine? Em sex., 30 de dez. de 2022 às 12:09, Nathanaël Blanchet <blanchet@abes.fr> escreveu:
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/V7UKBE5SJPH3GO... _______________________________________________ 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/XKZDIQR77TFROL...
-- Att, Jorge Visentini +55 55 98432-9868
-- Att, Jorge Visentini +55 55 98432-9868

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<mailto: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<mailto:Matthew.Stier@fujitsu.com> <Matthew.Stier@fujitsu.com<mailto: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<mailto:lzy19930211@gmail.com>> Sent: Thursday, December 29, 2022 10:13 AM To: users@ovirt.org<mailto: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<mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org<mailto: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/V7UKBE5SJPH3GO... _______________________________________________ Users mailing list -- users@ovirt.org<mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org<mailto: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/XKZDIQR77TFROL... -- Att, Jorge Visentini +55 55 98432-9868
participants (3)
-
Jorge Visentini
-
Matthew.Stier@fujitsu.com
-
Nathanaël Blanchet