Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-21-2011, 07:20 PM   #1
Registered: Dec 2006
Posts: 107

Rep: Reputation: 17
Increase dev/sdb size - LVM

hi guys

I am working on my vmware workstation.

I have a /dev/sdb which is 5GB. I am using LVM.

Now I increase /dev/sdb 2 more GB.

fdisk -l shows 7 GB but pvscan still shows 5GB.

how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and extend my volume group and logical volumen

thanks a lot
Old 05-21-2011, 10:23 PM   #2
Registered: Nov 2005
Distribution: Fedora, Redhat
Posts: 372

Rep: Reputation: 101Reputation: 101
Assuming that /dev/sdb is not partitioned (your original pvcreate was 'pvcreate /dev/sdb'), you should be able to do
pvresize /dev/sdb
I've never done it, but the man page says that's all there is to it.

btw, Fedora 14.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 6 after boot primary partition shows /dev/sdb instead of /dev/sda vipul_patel Red Hat 1 04-26-2011 10:48 AM
[SOLVED] how to increase the size of LVM which used by multipathd... vbharath01 Linux - Enterprise 9 09-14-2009 09:32 AM
Can I increase the size of a physical volume in an lvm group? If so, how? MikeB23930 Fedora 2 07-21-2009 06:38 PM
How to increase swap size in LVM? Akhran Debian 1 04-04-2006 10:47 AM
Increase EXT3 Filesystem size in a LVM? jadupl2 Red Hat 3 11-14-2004 09:40 PM

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration