LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-21-2011, 06:20 PM   #1
karlochacon
Member
 
Registered: Dec 2006
Posts: 109

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, 09:23 PM   #2
tommylovell
Member
 
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 380

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

btw, Fedora 14.
 
  


Reply



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 09:48 AM
[SOLVED] how to increase the size of LVM which used by multipathd... vbharath01 Linux - Enterprise 9 09-14-2009 08:32 AM
Can I increase the size of a physical volume in an lvm group? If so, how? MikeB23930 Fedora 2 07-21-2009 05:38 PM
How to increase swap size in LVM? Akhran Debian 1 04-04-2006 09:47 AM
Increase EXT3 Filesystem size in a LVM? jadupl2 Red Hat 3 11-14-2004 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:17 PM.

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