Re: [Users] SAN storage expansion

2014-03-24 Thread Itamar Heim

On 03/18/2014 06:29 AM, Giorgio Bersano wrote:

2014-03-18 11:00 GMT+01:00 Liron Aravot lara...@redhat.com:

Hi Giorgio,
perhaps i missed something - but why don't you want to extend the domain by 
right click and editing it?



Hi Liron,
we are talking about an iSCSI storage domain.
In the edit  dialogue I don't see anything regarding resize or extend.
If I just click OK at this point nothing changes. Maybe it's me that
I'm missing something.

Which action could trigger a pvresize ?


not yet.
but you can simply add another LUN to the domain, which will under the 
hoods create another PV, add it to the VG, and refresh all hosts in the 
DC to see them, etc.




In the meantime I'll try Elad's procedure.



- Original Message -

From: Giorgio Bersano giorgio.bers...@gmail.com
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org Users@ovirt.org
Sent: Tuesday, March 18, 2014 11:28:14 AM
Subject: Re: [Users] SAN storage expansion

2014-03-18 9:15 GMT+01:00 Elad Ben Aharon ebena...@redhat.com:

Hi,

LUNs size are being updated using the multipath mechanism. In order to
update storage domain size, you'll need to update the physical volume size
using LVM on you hypervisors.

Please do the following:
1) Put the storage domain to maintenance
2) Execute on your hosts:
'pvresize --setphysicalvolumesize' with the new physical volume size (150G)
3) Activate the storage domain


Thank you Elad,
I knew it was required a pvresize command but wanted to be sure that I
wasn't disrupting possible storage parameters bookkeeping by the oVirt
system.
I'm wondering if it's because of this that SD has to be put in maintenance.

Any chance to have the SD resize without putting it offline, for
example doing pvresize on the SPM node and then pvscan on every other
host involved?
I'm sure there are use cases where this is would be of great convenience.



- Original Message -
From: Giorgio Bersano giorgio.bers...@gmail.com
To: users@ovirt.org Users@ovirt.org
Sent: Monday, March 17, 2014 7:25:36 PM
Subject: [Users] SAN storage expansion

Hi all,
I'm happily continuing my experiments with oVirt and I need a
suggestion regarding storage management.

I'm using an iSCSI based Storage Domain and I'm trying to understand
which is the correct way to extend it's size some time after it's
creation.

Please consider the following steps:

1) Using storage specific tools create a new volume on iSCSI storage
(e.g. 130.0 GiB)

2) in oVirt webadmin: Storage - New Domain , select the previously
created storage (130 GB), OK, after some time it's online:
  Size: 129 GB ; Available: 125 GB ; Used: 4 GB

3) Use according to your needs (even noop is OK)

4) Using storage specific tools expand the new volume (e.g. 20.0 GiB
more, now it says 150.0GiB)

5) in webadmin: Storage, click on the domain, Edit. Looking at
LunsTargets , now it correctly sees 150GB

BUT
on the Storage tab it continues to be seen with
  Size: 129 GB ; Available: 125 GB ; Used: 4 GB


Do you think it is possible to make oVirt aware of the new available
storage space? Am I missing something obvious?

My setup is oVirt 3.4.0 RC2 with fully patched CentOS 6.5 hosts.

Best regards,
Giorgio.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SAN storage expansion

2014-03-20 Thread Elad Ben Aharon
Daniel?

- Original Message -
From: Giorgio Bersano giorgio.bers...@gmail.com
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org Users@ovirt.org, Daniel Erez de...@redhat.com, 
Gadi Ickowicz gicko...@redhat.com, Liron Aravot lara...@redhat.com
Sent: Wednesday, March 19, 2014 4:12:35 PM
Subject: Re: [Users] SAN storage expansion

2014-03-18 10:28 GMT+01:00 Giorgio Bersano giorgio.bers...@gmail.com:
 2014-03-18 9:15 GMT+01:00 Elad Ben Aharon ebena...@redhat.com:
 Hi,

 LUNs size are being updated using the multipath mechanism. In order to 
 update storage domain size, you'll need to update the physical volume size 
 using LVM on you hypervisors.

 Please do the following:
 1) Put the storage domain to maintenance
 2) Execute on your hosts:
 'pvresize --setphysicalvolumesize' with the new physical volume size (150G)
 3) Activate the storage domain

 Thank you Elad,
 I knew it was required a pvresize command but wanted to be sure that I
 wasn't disrupting possible storage parameters bookkeeping by the oVirt
 system.
 I'm wondering if it's because of this that SD has to be put in maintenance.

 Any chance to have the SD resize without putting it offline, for
 example doing pvresize on the SPM node and then pvscan on every other
 host involved?
 I'm sure there are use cases where this is would be of great convenience.


Well, I'm back on this.
First of all, Elad, your procedure works indeed.

Moreover, I tried this sequence:
1) Expand the volume using storage specific tools

2) on the SPM host execute
 pvresize /path/of/the/physical/volume  # (no need to specify the
size, it takes the full volume space)

3) (just to be sure) on every other host involved execute
 pvscan

4) the SD is shown with correct, updated, informations.

Maybe I am overzealous but I prefer to ask the experts:
Not putting the SD to maintenance could give unexpected consequences?

TIA,
Giorgio.


 - Original Message -
 From: Giorgio Bersano giorgio.bers...@gmail.com
 To: users@ovirt.org Users@ovirt.org
 Sent: Monday, March 17, 2014 7:25:36 PM
 Subject: [Users] SAN storage expansion

 Hi all,
 I'm happily continuing my experiments with oVirt and I need a
 suggestion regarding storage management.

 I'm using an iSCSI based Storage Domain and I'm trying to understand
 which is the correct way to extend it's size some time after it's
 creation.

 Please consider the following steps:

 1) Using storage specific tools create a new volume on iSCSI storage
 (e.g. 130.0 GiB)

 2) in oVirt webadmin: Storage - New Domain , select the previously
 created storage (130 GB), OK, after some time it's online:
  Size: 129 GB ; Available: 125 GB ; Used: 4 GB

 3) Use according to your needs (even noop is OK)

 4) Using storage specific tools expand the new volume (e.g. 20.0 GiB
 more, now it says 150.0GiB)

 5) in webadmin: Storage, click on the domain, Edit. Looking at
 LunsTargets , now it correctly sees 150GB

 BUT
 on the Storage tab it continues to be seen with
  Size: 129 GB ; Available: 125 GB ; Used: 4 GB


 Do you think it is possible to make oVirt aware of the new available
 storage space? Am I missing something obvious?

 My setup is oVirt 3.4.0 RC2 with fully patched CentOS 6.5 hosts.

 Best regards,
 Giorgio.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SAN storage expansion

2014-03-19 Thread Giorgio Bersano
2014-03-18 10:28 GMT+01:00 Giorgio Bersano giorgio.bers...@gmail.com:
 2014-03-18 9:15 GMT+01:00 Elad Ben Aharon ebena...@redhat.com:
 Hi,

 LUNs size are being updated using the multipath mechanism. In order to 
 update storage domain size, you'll need to update the physical volume size 
 using LVM on you hypervisors.

 Please do the following:
 1) Put the storage domain to maintenance
 2) Execute on your hosts:
 'pvresize --setphysicalvolumesize' with the new physical volume size (150G)
 3) Activate the storage domain

 Thank you Elad,
 I knew it was required a pvresize command but wanted to be sure that I
 wasn't disrupting possible storage parameters bookkeeping by the oVirt
 system.
 I'm wondering if it's because of this that SD has to be put in maintenance.

 Any chance to have the SD resize without putting it offline, for
 example doing pvresize on the SPM node and then pvscan on every other
 host involved?
 I'm sure there are use cases where this is would be of great convenience.


Well, I'm back on this.
First of all, Elad, your procedure works indeed.

Moreover, I tried this sequence:
1) Expand the volume using storage specific tools

2) on the SPM host execute
 pvresize /path/of/the/physical/volume  # (no need to specify the
size, it takes the full volume space)

3) (just to be sure) on every other host involved execute
 pvscan

4) the SD is shown with correct, updated, informations.

Maybe I am overzealous but I prefer to ask the experts:
Not putting the SD to maintenance could give unexpected consequences?

TIA,
Giorgio.


 - Original Message -
 From: Giorgio Bersano giorgio.bers...@gmail.com
 To: users@ovirt.org Users@ovirt.org
 Sent: Monday, March 17, 2014 7:25:36 PM
 Subject: [Users] SAN storage expansion

 Hi all,
 I'm happily continuing my experiments with oVirt and I need a
 suggestion regarding storage management.

 I'm using an iSCSI based Storage Domain and I'm trying to understand
 which is the correct way to extend it's size some time after it's
 creation.

 Please consider the following steps:

 1) Using storage specific tools create a new volume on iSCSI storage
 (e.g. 130.0 GiB)

 2) in oVirt webadmin: Storage - New Domain , select the previously
 created storage (130 GB), OK, after some time it's online:
  Size: 129 GB ; Available: 125 GB ; Used: 4 GB

 3) Use according to your needs (even noop is OK)

 4) Using storage specific tools expand the new volume (e.g. 20.0 GiB
 more, now it says 150.0GiB)

 5) in webadmin: Storage, click on the domain, Edit. Looking at
 LunsTargets , now it correctly sees 150GB

 BUT
 on the Storage tab it continues to be seen with
  Size: 129 GB ; Available: 125 GB ; Used: 4 GB


 Do you think it is possible to make oVirt aware of the new available
 storage space? Am I missing something obvious?

 My setup is oVirt 3.4.0 RC2 with fully patched CentOS 6.5 hosts.

 Best regards,
 Giorgio.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SAN storage expansion

2014-03-18 Thread Elad Ben Aharon
Hi,

LUNs size are being updated using the multipath mechanism. In order to update 
storage domain size, you'll need to update the physical volume size using LVM 
on you hypervisors.

Please do the following:
1) Put the storage domain to maintenance
2) Execute on your hosts:
'pvresize --setphysicalvolumesize' with the new physical volume size (150G)
3) Activate the storage domain



- Original Message -
From: Giorgio Bersano giorgio.bers...@gmail.com
To: users@ovirt.org Users@ovirt.org
Sent: Monday, March 17, 2014 7:25:36 PM
Subject: [Users] SAN storage expansion

Hi all,
I'm happily continuing my experiments with oVirt and I need a
suggestion regarding storage management.

I'm using an iSCSI based Storage Domain and I'm trying to understand
which is the correct way to extend it's size some time after it's
creation.

Please consider the following steps:

1) Using storage specific tools create a new volume on iSCSI storage
(e.g. 130.0 GiB)

2) in oVirt webadmin: Storage - New Domain , select the previously
created storage (130 GB), OK, after some time it's online:
 Size: 129 GB ; Available: 125 GB ; Used: 4 GB

3) Use according to your needs (even noop is OK)

4) Using storage specific tools expand the new volume (e.g. 20.0 GiB
more, now it says 150.0GiB)

5) in webadmin: Storage, click on the domain, Edit. Looking at
LunsTargets , now it correctly sees 150GB

BUT
on the Storage tab it continues to be seen with
 Size: 129 GB ; Available: 125 GB ; Used: 4 GB


Do you think it is possible to make oVirt aware of the new available
storage space? Am I missing something obvious?

My setup is oVirt 3.4.0 RC2 with fully patched CentOS 6.5 hosts.

Best regards,
Giorgio.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SAN storage expansion

2014-03-18 Thread Giorgio Bersano
2014-03-18 9:15 GMT+01:00 Elad Ben Aharon ebena...@redhat.com:
 Hi,

 LUNs size are being updated using the multipath mechanism. In order to update 
 storage domain size, you'll need to update the physical volume size using LVM 
 on you hypervisors.

 Please do the following:
 1) Put the storage domain to maintenance
 2) Execute on your hosts:
 'pvresize --setphysicalvolumesize' with the new physical volume size (150G)
 3) Activate the storage domain

Thank you Elad,
I knew it was required a pvresize command but wanted to be sure that I
wasn't disrupting possible storage parameters bookkeeping by the oVirt
system.
I'm wondering if it's because of this that SD has to be put in maintenance.

Any chance to have the SD resize without putting it offline, for
example doing pvresize on the SPM node and then pvscan on every other
host involved?
I'm sure there are use cases where this is would be of great convenience.


 - Original Message -
 From: Giorgio Bersano giorgio.bers...@gmail.com
 To: users@ovirt.org Users@ovirt.org
 Sent: Monday, March 17, 2014 7:25:36 PM
 Subject: [Users] SAN storage expansion

 Hi all,
 I'm happily continuing my experiments with oVirt and I need a
 suggestion regarding storage management.

 I'm using an iSCSI based Storage Domain and I'm trying to understand
 which is the correct way to extend it's size some time after it's
 creation.

 Please consider the following steps:

 1) Using storage specific tools create a new volume on iSCSI storage
 (e.g. 130.0 GiB)

 2) in oVirt webadmin: Storage - New Domain , select the previously
 created storage (130 GB), OK, after some time it's online:
  Size: 129 GB ; Available: 125 GB ; Used: 4 GB

 3) Use according to your needs (even noop is OK)

 4) Using storage specific tools expand the new volume (e.g. 20.0 GiB
 more, now it says 150.0GiB)

 5) in webadmin: Storage, click on the domain, Edit. Looking at
 LunsTargets , now it correctly sees 150GB

 BUT
 on the Storage tab it continues to be seen with
  Size: 129 GB ; Available: 125 GB ; Used: 4 GB


 Do you think it is possible to make oVirt aware of the new available
 storage space? Am I missing something obvious?

 My setup is oVirt 3.4.0 RC2 with fully patched CentOS 6.5 hosts.

 Best regards,
 Giorgio.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SAN storage expansion

2014-03-18 Thread Liron Aravot
Hi Giorgio,
perhaps i missed something - but why don't you want to extend the domain by 
right click and editing it?

- Original Message -
 From: Giorgio Bersano giorgio.bers...@gmail.com
 To: Elad Ben Aharon ebena...@redhat.com
 Cc: users@ovirt.org Users@ovirt.org
 Sent: Tuesday, March 18, 2014 11:28:14 AM
 Subject: Re: [Users] SAN storage expansion
 
 2014-03-18 9:15 GMT+01:00 Elad Ben Aharon ebena...@redhat.com:
  Hi,
 
  LUNs size are being updated using the multipath mechanism. In order to
  update storage domain size, you'll need to update the physical volume size
  using LVM on you hypervisors.
 
  Please do the following:
  1) Put the storage domain to maintenance
  2) Execute on your hosts:
  'pvresize --setphysicalvolumesize' with the new physical volume size (150G)
  3) Activate the storage domain
 
 Thank you Elad,
 I knew it was required a pvresize command but wanted to be sure that I
 wasn't disrupting possible storage parameters bookkeeping by the oVirt
 system.
 I'm wondering if it's because of this that SD has to be put in maintenance.
 
 Any chance to have the SD resize without putting it offline, for
 example doing pvresize on the SPM node and then pvscan on every other
 host involved?
 I'm sure there are use cases where this is would be of great convenience.
 
 
  - Original Message -
  From: Giorgio Bersano giorgio.bers...@gmail.com
  To: users@ovirt.org Users@ovirt.org
  Sent: Monday, March 17, 2014 7:25:36 PM
  Subject: [Users] SAN storage expansion
 
  Hi all,
  I'm happily continuing my experiments with oVirt and I need a
  suggestion regarding storage management.
 
  I'm using an iSCSI based Storage Domain and I'm trying to understand
  which is the correct way to extend it's size some time after it's
  creation.
 
  Please consider the following steps:
 
  1) Using storage specific tools create a new volume on iSCSI storage
  (e.g. 130.0 GiB)
 
  2) in oVirt webadmin: Storage - New Domain , select the previously
  created storage (130 GB), OK, after some time it's online:
   Size: 129 GB ; Available: 125 GB ; Used: 4 GB
 
  3) Use according to your needs (even noop is OK)
 
  4) Using storage specific tools expand the new volume (e.g. 20.0 GiB
  more, now it says 150.0GiB)
 
  5) in webadmin: Storage, click on the domain, Edit. Looking at
  LunsTargets , now it correctly sees 150GB
 
  BUT
  on the Storage tab it continues to be seen with
   Size: 129 GB ; Available: 125 GB ; Used: 4 GB
 
 
  Do you think it is possible to make oVirt aware of the new available
  storage space? Am I missing something obvious?
 
  My setup is oVirt 3.4.0 RC2 with fully patched CentOS 6.5 hosts.
 
  Best regards,
  Giorgio.
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SAN storage expansion

2014-03-18 Thread Giorgio Bersano
2014-03-18 11:00 GMT+01:00 Liron Aravot lara...@redhat.com:
 Hi Giorgio,
 perhaps i missed something - but why don't you want to extend the domain by 
 right click and editing it?


Hi Liron,
we are talking about an iSCSI storage domain.
In the edit  dialogue I don't see anything regarding resize or extend.
If I just click OK at this point nothing changes. Maybe it's me that
I'm missing something.

Which action could trigger a pvresize ?

In the meantime I'll try Elad's procedure.


 - Original Message -
 From: Giorgio Bersano giorgio.bers...@gmail.com
 To: Elad Ben Aharon ebena...@redhat.com
 Cc: users@ovirt.org Users@ovirt.org
 Sent: Tuesday, March 18, 2014 11:28:14 AM
 Subject: Re: [Users] SAN storage expansion

 2014-03-18 9:15 GMT+01:00 Elad Ben Aharon ebena...@redhat.com:
  Hi,
 
  LUNs size are being updated using the multipath mechanism. In order to
  update storage domain size, you'll need to update the physical volume size
  using LVM on you hypervisors.
 
  Please do the following:
  1) Put the storage domain to maintenance
  2) Execute on your hosts:
  'pvresize --setphysicalvolumesize' with the new physical volume size (150G)
  3) Activate the storage domain

 Thank you Elad,
 I knew it was required a pvresize command but wanted to be sure that I
 wasn't disrupting possible storage parameters bookkeeping by the oVirt
 system.
 I'm wondering if it's because of this that SD has to be put in maintenance.

 Any chance to have the SD resize without putting it offline, for
 example doing pvresize on the SPM node and then pvscan on every other
 host involved?
 I'm sure there are use cases where this is would be of great convenience.


  - Original Message -
  From: Giorgio Bersano giorgio.bers...@gmail.com
  To: users@ovirt.org Users@ovirt.org
  Sent: Monday, March 17, 2014 7:25:36 PM
  Subject: [Users] SAN storage expansion
 
  Hi all,
  I'm happily continuing my experiments with oVirt and I need a
  suggestion regarding storage management.
 
  I'm using an iSCSI based Storage Domain and I'm trying to understand
  which is the correct way to extend it's size some time after it's
  creation.
 
  Please consider the following steps:
 
  1) Using storage specific tools create a new volume on iSCSI storage
  (e.g. 130.0 GiB)
 
  2) in oVirt webadmin: Storage - New Domain , select the previously
  created storage (130 GB), OK, after some time it's online:
   Size: 129 GB ; Available: 125 GB ; Used: 4 GB
 
  3) Use according to your needs (even noop is OK)
 
  4) Using storage specific tools expand the new volume (e.g. 20.0 GiB
  more, now it says 150.0GiB)
 
  5) in webadmin: Storage, click on the domain, Edit. Looking at
  LunsTargets , now it correctly sees 150GB
 
  BUT
  on the Storage tab it continues to be seen with
   Size: 129 GB ; Available: 125 GB ; Used: 4 GB
 
 
  Do you think it is possible to make oVirt aware of the new available
  storage space? Am I missing something obvious?
 
  My setup is oVirt 3.4.0 RC2 with fully patched CentOS 6.5 hosts.
 
  Best regards,
  Giorgio.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users