Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] How do I pvresize?
@ 2004-03-21 21:01 Glen Harris
  2004-03-22 21:10 ` David Mohr
  0 siblings, 1 reply; 5+ messages in thread
From: Glen Harris @ 2004-03-21 21:01 UTC (permalink / raw)
  To: linux-lvm

We started running out of space on our backup server, so I bought a
couple of new 250Gb disks, added them to the 16 bay FC RAID array
and expanded the RAID, followed by the slice.

I then went to expand the PV, and got a "Command not implemented yet."
message.

This is a problem. This is a *BIG* problem.

What are my options, short of destroying the volume and starting
from scratch?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] How do I pvresize?
  2004-03-21 21:01 [linux-lvm] How do I pvresize? Glen Harris
@ 2004-03-22 21:10 ` David Mohr
  2004-03-22 21:41   ` Glen Harris
  0 siblings, 1 reply; 5+ messages in thread
From: David Mohr @ 2004-03-22 21:10 UTC (permalink / raw)
  To: LVM general discussion and development

I'm pretty new to LVM, so take my comment with a grain of salt.

Why do you need to resize the PV at all? If you need more space, create
a new PV and add it to the LV, that should do the trick.

~David

On Sun, 2004-03-21 at 15:01, Glen Harris wrote:
> We started running out of space on our backup server, so I bought a
> couple of new 250Gb disks, added them to the 16 bay FC RAID array
> and expanded the RAID, followed by the slice.
> 
> I then went to expand the PV, and got a "Command not implemented yet."
> message.
> 
> This is a problem. This is a *BIG* problem.
> 
> What are my options, short of destroying the volume and starting
> from scratch?
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] How do I pvresize?
  2004-03-22 21:10 ` David Mohr
@ 2004-03-22 21:41   ` Glen Harris
  2004-03-23  9:37     ` Chris Laycock
  0 siblings, 1 reply; 5+ messages in thread
From: Glen Harris @ 2004-03-22 21:41 UTC (permalink / raw)
  To: LVM general discussion and development

I have already expanded the RAID slice by 250Gb, and now have a
/dev/sda which is 250Gb larger than it was before.

I now cannot remove that disk without either rebuilding the RAID
on the hot spare(back to square one) or destroying the RAID.

Please, can someone help me?

David Mohr wrote:
> I'm pretty new to LVM, so take my comment with a grain of salt.
> 
> Why do you need to resize the PV at all? If you need more space, create
> a new PV and add it to the LV, that should do the trick.
> 
> ~David
> 
> On Sun, 2004-03-21 at 15:01, Glen Harris wrote:
> 
>>We started running out of space on our backup server, so I bought a
>>couple of new 250Gb disks, added them to the 16 bay FC RAID array
>>and expanded the RAID, followed by the slice.
>>
>>I then went to expand the PV, and got a "Command not implemented yet."
>>message.
>>
>>This is a problem. This is a *BIG* problem.
>>
>>What are my options, short of destroying the volume and starting
>>from scratch?
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@redhat.com
>>https://www.redhat.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>>
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] How do I pvresize?
  2004-03-22 21:41   ` Glen Harris
@ 2004-03-23  9:37     ` Chris Laycock
  2004-03-23 21:18       ` Glen Harris
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Laycock @ 2004-03-23  9:37 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 2436 bytes --]

Glen,

If you do a pvscan do you get  'PV "/dev/sda1"  etc' or 'PV "/dev/sda" 
etc'
If you get the former could you not create /dev/sda2 with the extra 250GB 
and add that to the LV as a separate PV
I'm assuming that you can have different partitions on the same array 
(actual disk) defined as separate PVs
I may be completely off track here, please feel free to correct.....

Regards,

Chris.

-------------------
Chris Laycock
IT Specialist 
IBM Global Services (IDO)

LITS, Stevenage
Mail point: K3 STEV UK
Email: LaycockC@uk.ibm.com
Tel : (01438) 76-9460  (internal: 44-9460)


Please respond to LVM general discussion and development 
<linux-lvm@redhat.com> 
Sent by:        linux-lvm-bounces@redhat.com
To:     LVM general discussion and development <linux-lvm@redhat.com>
cc:      
Subject:        Re: [linux-lvm] How do I pvresize?


I have already expanded the RAID slice by 250Gb, and now have a
/dev/sda which is 250Gb larger than it was before.

I now cannot remove that disk without either rebuilding the RAID
on the hot spare(back to square one) or destroying the RAID.

Please, can someone help me?

David Mohr wrote:
> I'm pretty new to LVM, so take my comment with a grain of salt.
> 
> Why do you need to resize the PV at all? If you need more space, create
> a new PV and add it to the LV, that should do the trick.
> 
> ~David
> 
> On Sun, 2004-03-21 at 15:01, Glen Harris wrote:
> 
>>We started running out of space on our backup server, so I bought a
>>couple of new 250Gb disks, added them to the 16 bay FC RAID array
>>and expanded the RAID, followed by the slice.
>>
>>I then went to expand the PV, and got a "Command not implemented yet."
>>message.
>>
>>This is a problem. This is a *BIG* problem.
>>
>>What are my options, short of destroying the volume and starting
>>from scratch?
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@redhat.com
>>https://www.redhat.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>>
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[-- Attachment #2: Type: text/html, Size: 3614 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] How do I pvresize?
  2004-03-23  9:37     ` Chris Laycock
@ 2004-03-23 21:18       ` Glen Harris
  0 siblings, 0 replies; 5+ messages in thread
From: Glen Harris @ 2004-03-23 21:18 UTC (permalink / raw)
  To: LVM general discussion and development

No, I used the raw device sda. I didn't bother partitioning it, as I
knew I could expand the raid, and grow the PV just like I did back
with LVM-1.

glen.

Chris Laycock wrote:
> 
> Glen,
> 
> If you do a pvscan do you get  'PV "/dev/sda1"  etc' or 'PV "/dev/sda" 
>  etc'
> If you get the former could you not create /dev/sda2 with the extra 
> 250GB and add that to the LV as a separate PV
> I'm assuming that you can have different partitions on the same array 
> (actual disk) defined as separate PVs
> I may be completely off track here, please feel free to correct.....
> 
> Regards,
> 
> Chris.
> 
> -------------------
> Chris Laycock
> IT Specialist
> IBM Global Services (IDO)
> 
> LITS, Stevenage
> Mail point: K3 STEV UK
> Email: LaycockC@uk.ibm.com
> Tel : (01438) 76-9460  (internal: 44-9460)
> 
> Please respond to LVM general discussion and development 
> <linux-lvm@redhat.com>
> 
> Sent by:        linux-lvm-bounces@redhat.com
> 
> To:         LVM general discussion and development <linux-lvm@redhat.com>
> cc:        
> Subject:         Re: [linux-lvm] How do I pvresize?
> 
> 
> I have already expanded the RAID slice by 250Gb, and now have a
> /dev/sda which is 250Gb larger than it was before.
> 
> I now cannot remove that disk without either rebuilding the RAID
> on the hot spare(back to square one) or destroying the RAID.
> 
> Please, can someone help me?
> 
> David Mohr wrote:
>  > I'm pretty new to LVM, so take my comment with a grain of salt.
>  >
>  > Why do you need to resize the PV at all? If you need more space, create
>  > a new PV and add it to the LV, that should do the trick.
>  >
>  > ~David
>  >
>  > On Sun, 2004-03-21 at 15:01, Glen Harris wrote:
>  >
>  >>We started running out of space on our backup server, so I bought a
>  >>couple of new 250Gb disks, added them to the 16 bay FC RAID array
>  >>and expanded the RAID, followed by the slice.
>  >>
>  >>I then went to expand the PV, and got a "Command not implemented yet."
>  >>message.
>  >>
>  >>This is a problem. This is a *BIG* problem.
>  >>
>  >>What are my options, short of destroying the volume and starting
>  >>from scratch?
>  >>_______________________________________________
>  >>linux-lvm mailing list
>  >>linux-lvm@redhat.com
>  >>https://www.redhat.com/mailman/listinfo/linux-lvm
>  >>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>  >>
>  >
>  >
>  > _______________________________________________
>  > linux-lvm mailing list
>  > linux-lvm@redhat.com
>  > https://www.redhat.com/mailman/listinfo/linux-lvm
>  > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-23 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-21 21:01 [linux-lvm] How do I pvresize? Glen Harris
2004-03-22 21:10 ` David Mohr
2004-03-22 21:41   ` Glen Harris
2004-03-23  9:37     ` Chris Laycock
2004-03-23 21:18       ` Glen Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox