Skip to contentSkip to conversation

How do I pvresize?

linux-lvm Glen Harris 3 participants 5 messages Mar 21, 2004 – Mar 23, 2004

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw

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

Quoted 17 lines · Glen Harris

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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#2 lore raw

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?

Quoted 33 lines · David Mohr

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

Quoted 9 lines · Glen Harris

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.

Quoted 8 lines

What are my options, short of destroying the volume and starting from scratch?
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw

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: [email protected]
Tel : (01438) 76-9460 (internal: 44-9460)

Please respond to LVM general discussion and development <[email protected]>

Sent by:        [email protected]
To:     LVM general discussion and development <[email protected]>

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?

Quoted 28 lines · David Mohr

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

Quoted 9 lines · Glen Harris

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.

Quoted 8 lines

What are my options, short of destroying the volume and starting from scratch?
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#4 lore raw

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.

Quoted 87 lines · Chris Laycock

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: [email protected]
Tel : (01438) 76-9460 (internal: 44-9460)

Please respond to LVM general discussion and development <[email protected]>

Sent by: [email protected]

To: LVM general discussion and development <[email protected]>
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?

Quoted 28 lines · David Mohr

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

Quoted 9 lines · Glen Harris

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.

Quoted 8 lines

What are my options, short of destroying the volume and starting from scratch?
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

------------------------------------------------------------------------

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/