LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-07-2006, 11:48 AM   #1
gfem
Member
 
Registered: Apr 2003
Distribution: Fedora
Posts: 126

Rep: Reputation: 15
Angry Add Disk to LVM Help!!


I recently tried to add a disk to an XFS LVM, I think it is added, but I can not see the size increase when I initiate a df command. here is some of the output.. It shows both disks both 100 gig, but only one is being used. I tried xfs_growfs /video but it does not change anything. Do I have to mount /dev/hda5 seperately???? Help!!

vgdisplay --verbose
Finding all volume groups
Finding volume group "VolGroup00"
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 2
Act PV 2
VG Size 192.62 GB
PE Size 4.00 MB
Total PE 49312
Alloc PE / Size 25464 / 99.47 GB
Free PE / Size 23848 / 93.16 GB
VG UUID r9t5s6-dNLP-7T2V-kH9x-N6gA-MShy-Bm44H6

--- Logical volume ---
LV Name /dev/VolGroup00/video
VG Name VolGroup00
LV UUID VhnDEr-n2U5-PvRL-GPEc-rGQd-KaJ9-erY6zy
LV Write Access read/write
LV Status available
# open 1
LV Size 99.47 GB
Current LE 25464
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Physical volumes ---
PV Name /dev/hdb1
PV UUID lLgML4-OjKj-5emX-E274-jBsH-0w9f-qlUSLc
PV Status allocatable
Total PE / Free PE 23848 / 0

PV Name /dev/hda5
PV UUID 1UZ52h-84SX-rLbg-YY6M-8clC-ktNQ-IJ0Pve
PV Status allocatable
Total PE / Free PE 25464 / 23848
 
Old 02-07-2006, 02:46 PM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
what steps have you taken??

pvcreate
vgextend
lvextend
grow_fs

did you miss out lvextend???
 
Old 02-07-2006, 04:02 PM   #3
gfem
Member
 
Registered: Apr 2003
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 15
yes. I did not extend it to the end of the free PE. Now it works.

Thanks.
 
  


Reply


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
Two LVM VolGroup's, same name, one is system disk - what to do? ffingers Linux - Hardware 11 05-12-2010 02:59 PM
Resize existing and add another partition with LVM donv2 Linux - Newbie 3 04-27-2005 04:23 AM
Restoring LVM when a disk fails enygma Linux - General 1 11-13-2004 07:58 AM
LVM wont add my new hd. plz help sendas4 Linux - General 1 11-08-2004 02:27 PM
Suspend to Disk (Possible with LVM?) dino9832 Linux - Laptop and Netbook 1 10-05-2004 09:16 AM


All times are GMT -5. The time now is 04:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration