[ovirt-users] Re: Expand the disk space of the hosting engine

2023-03-28 Thread BJ一哥
Hello
I got an error when adding a hard disk to HostedEngine in wei ui
   An error occurred while performing the operation: HostedEngine:
Unable to add virtual disk. The engine is not managing this virtual machine.
  Should I use the command line to add disks
  Use vdsm-client VM diskSizeExtend or vdsm-client Volume extendSize. I
have not tested these two commands successfully

matthew.st...@fujitsu.com  于2023年1月3日周二 13:27写道:

> You allocated a 100G storage domain.
>
> Within that storage domain, you allocated a 50G disk to hold the disk
> image.
>
> Just like any other storage domain, you can create additional disks.  I
> have seen warnings, for going over 80% allocated within this storage domain.
>
> When building the Self-Hosted-Engine, I specify 75GB when asked about the
> size of the disk to create, and then use LVM to add the unused storage of
> the disk to the root and swap logical volumes.
>
> You should be able to add a second disk of about 25G to the SHE, and use
> LVM to add it to the existing volume groups and expand the existing logical
> volumes.
>
> Of course, I have not tested this.
>
>
>
> -Original Message-
> From: ziyi Liu 
> Sent: Thursday, December 29, 2022 9:21 PM
> To: users@ovirt.org
> Subject: [ovirt-users] Re: Expand the disk space of the hosting engine
>
> Thank you very much, I know the operation steps, but there is still one
> point that I don’t quite understand, fdisk -l only shows 50G, the actual
> disk allocation has 100G, how can I display the remaining 50G.
> The second question is that if the allocated 100G is also full, how should
> I expand it? I can’t expand it using wei ui
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/QRKI2S4WLJ2JD7X63ECYUFSJ7Z765R5W/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/36SBX7VA7TRVXNSO6DSDXAVAN5EVOPPT/


[ovirt-users] Re: Expand the disk space of the hosting engine

2023-01-12 Thread ziyi Liu
Thank you very much, I am testing in the test environment now, and I will go to 
the official environment after success
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/N7ZMKY7PXVTGN25TLHFZ2HKDHL43J5MK/


[ovirt-users] Re: Expand the disk space of the hosting engine

2023-01-02 Thread matthew.st...@fujitsu.com
You allocated a 100G storage domain.

Within that storage domain, you allocated a 50G disk to hold the disk image.

Just like any other storage domain, you can create additional disks.  I have 
seen warnings, for going over 80% allocated within this storage domain.

When building the Self-Hosted-Engine, I specify 75GB when asked about the size 
of the disk to create, and then use LVM to add the unused storage of the disk 
to the root and swap logical volumes.

You should be able to add a second disk of about 25G to the SHE, and use LVM to 
add it to the existing volume groups and expand the existing logical volumes.

Of course, I have not tested this.



-Original Message-
From: ziyi Liu  
Sent: Thursday, December 29, 2022 9:21 PM
To: users@ovirt.org
Subject: [ovirt-users] Re: Expand the disk space of the hosting engine

Thank you very much, I know the operation steps, but there is still one point 
that I don’t quite understand, fdisk -l only shows 50G, the actual disk 
allocation has 100G, how can I display the remaining 50G.
The second question is that if the allocated 100G is also full, how should I 
expand it? I can’t expand it using wei ui 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/QRKI2S4WLJ2JD7X63ECYUFSJ7Z765R5W/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/SZHVTIYS6YT4REAC7VTRMP2M5ZE6XKI4/


[ovirt-users] Re: Expand the disk space of the hosting engine

2023-01-01 Thread ziyi Liu
Thank you very much, I know the operation steps, but there is still one point 
that I don’t quite understand, fdisk -l only shows 50G, the actual disk 
allocation has 100G, how can I display the remaining 50G.
The second question is that if the allocated 100G is also full, how should I 
expand it? I can’t expand it using wei ui
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/QRKI2S4WLJ2JD7X63ECYUFSJ7Z765R5W/


[ovirt-users] Re: Expand the disk space of the hosting engine

2022-12-30 Thread matthew.st...@fujitsu.com
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 
Sent: Friday, December 30, 2022 9:09 AM
To: Jorge Visentini 
Cc: Stier, Matthew ; ziyi Liu 
; 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 
mailto:jorgevisent...@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.st...@fujitsu.com<mailto:matthew.st...@fujitsu.com> 
mailto:matthew.st...@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 mailto:lzy19930...@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-le...@ovirt.org<mailto:users-le...@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<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@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
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/4AUOBAUPSOPA4FIT3VGN6PCXSWPRA54L/


[ovirt-users] Re: Expand the disk space of the hosting engine

2022-12-30 Thread Jorge Visentini
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 
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  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.st...@fujitsu.com <
> matthew.st...@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 
>> 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-le...@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-le...@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
>


-- 
Att,
Jorge Visentini
+55 55 98432-9868
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/BTDKLSRHUO5VTMTRLRDAQKHBDEXQ4G5L/


[ovirt-users] Re: Expand the disk space of the hosting engine

2022-12-30 Thread Nathanaël Blanchet via Users
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  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.st...@fujitsu.com 
mailto:matthew.st...@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 mailto:lzy19930...@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-le...@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-le...@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
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/2A4HJYY473OMNE5WV57BV534NOPSJ6WN/


[ovirt-users] Re: Expand the disk space of the hosting engine

2022-12-30 Thread matthew.st...@fujitsu.com
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 
Sent: Friday, December 30, 2022 7:53 AM
To: Stier, Matthew 
Cc: ziyi Liu ; 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.st...@fujitsu.com<mailto:matthew.st...@fujitsu.com> 
mailto:matthew.st...@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 mailto:lzy19930...@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-le...@ovirt.org<mailto:users-le...@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<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@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
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/KQVFHVVUJDW7G2LYUZULP7ISX6WYSMUS/


[ovirt-users] Re: Expand the disk space of the hosting engine

2022-12-30 Thread Jorge Visentini
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.st...@fujitsu.com <
matthew.st...@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 
> 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-le...@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-le...@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
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/E7GZJ6CJVRCS75WNDLQYULN4DL6NEZWK/


[ovirt-users] Re: Expand the disk space of the hosting engine

2022-12-29 Thread matthew.st...@fujitsu.com
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  
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-le...@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-le...@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/