LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Add Disk to LVM Help!! (https://www.linuxquestions.org/questions/fedora-35/add-disk-to-lvm-help-412648/)

gfem 02-07-2006 11:48 AM

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

satinet 02-07-2006 02:46 PM

what steps have you taken??

pvcreate
vgextend
lvextend
grow_fs

did you miss out lvextend???

gfem 02-07-2006 04:02 PM

yes. I did not extend it to the end of the free PE. Now it works.

Thanks.


All times are GMT -5. The time now is 05:42 AM.