[linux-lvm] How do I pvresize?

Glen Harris glen at gbrmpa.gov.au
Tue Mar 23 21:18:18 UTC 2004


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 at uk.ibm.com
> Tel : (01438) 76-9460  (internal: 44-9460)
> 
> Please respond to LVM general discussion and development 
> <linux-lvm at redhat.com>
> 
> Sent by:        linux-lvm-bounces at redhat.com
> 
> To:         LVM general discussion and development <linux-lvm at 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 at 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 at 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 at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



More information about the linux-lvm mailing list